[ Index ]
 

Code source de eZ Publish 3.9.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/design/standard/templates/setup/tests/ -> safe_mode_error.tpl (source)

   1  {* DO NOT EDIT THIS FILE! Use an override template instead. *}
   2  <h3>{$result_number}. {"PHP safe mode is enabled"|i18n("design/standard/setup/tests")}</h3>
   3  
   4  <p>
   5   {"eZ publish may work with safe mode on, however there might be several features that will be unavailable. Some of the things that might occur are"|i18n("design/standard/setup/tests")}:
   6  </p>
   7  <ul>
   8   <li>Not possible to extend time limits
   9    <ul>
  10     <li>Some parts of eZ publish relies on cronjobs to handle workflows etc., and may require a longer time to run than normal page loads. With this on the cronjob scripts will not succeed.</li>
  11    </ul>
  12   </li>
  13   <li>Wrong permissions
  14    <ul>
  15     <li>If the site is not setup correctly eZ publish will not be able to work with files correctly, this could mean file uploads, image handling and cache creation. Safe mode requires that the same owner is set on the index.php script and all other files for the site.</li>
  16    </ul>
  17   </li>
  18   <li>File uploading
  19    <ul>
  20     <li>Uploading files trough the web will not possible unless configured correctly. This means that images, files and media will not be possible to use.</li>
  21    </ul>
  22   </li>
  23  </ul>
  24  <p>
  25   {"It's recommended that the option is turned off. To turn it off edit your %1 configuration and set %2 to %3."|i18n("design/standard/setup/tests",,array("<i>php.ini</i>","<i>safe_mode</i>","<i>Off</i>"))}
  26   {"More information on the subject can be found at %1."|i18n("design/standard/setup/tests",,array('<a href="http://www.php.net/manual/en/features.safe-mode.php">php.net</a>'))}
  27  </p>
  28  <label>{"php.ini example"|i18n("design/standard/setup/tests")}:</label><br/>
  29  <pre class="example">
  30  safe_mode = 0
  31  </pre>
  32  <p>If you're not able to turn safe mode off you should try to fix the following issues.</p>
  33  <h3>Permissions</h3>
  34  <p>To make sure that all files have the correct user and group owner run the following commands.</p>
  35  <pre class="example">cd {$test_result[2].current_path}
  36  chown nouser.nouser *.php
  37  chown -R nouser.nouser cronjobs design doc lib settings update kernel sdk share var</pre>
  38  <p>Alternatively you may run</p>
  39  <pre class="example">cd {$test_result[2].current_path}
  40  chown nouser.nouser -R *</pre>
  41  <p>If you only have access to the site using ftp you will have to consult your ftp client and server to see if it is possible to run the chown command.</p>
  42  <blockquote class="note">
  43  <p>
  44   <b>Note:</b> The <tt>nouser.nouser</tt> must be changed to your webserver username and groupname.
  45  </p>
  46  </blockquote>


Généré le : Sat Feb 24 10:30:04 2007 par Balluche grâce à PHPXref 0.7