home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Freeware / Programare / dotproject / modules / help / en / install.trouble.hlp < prev    next >
Encoding:
Text File  |  2003-07-01  |  5.2 KB  |  102 lines

  1. <!-- $Id: install.trouble.hlp,v 1.1 2003/07/01 04:12:13 kobudo Exp $ -->
  2. <h1>Troubleshooting dotProject</h1>
  3.  
  4. <h2>config.php settings</h2>
  5. <ol>
  6.     <li>On a new installation, have you created a copy of the distribution file called <b>config-dist.php</b> called <b>config.php</b>?</li>
  7.     
  8.     <li>When upgrading an existing installation, have you checked that any new configuration settings in <b>config-dist.php</b> have been transferred to <b>config.php</b>?</li>
  9.     
  10.     <li>Is the <b>root_dir</b> variable set correctly.</li>
  11.     
  12.     <li>Is there any white space (including carriage returns) after the closing php brace ?>.  If so, delete them.  This cause the html headers to be sent too early.</li>
  13.  
  14.     <li>When upgrading, have you set the configuration variable <code>check_legacy_password</code> to <code>true</code>.
  15.     <pre>$dPconfig['check_legacy_password'] = true;</pre>
  16.     </li>
  17. </ol>
  18.  
  19.  
  20. <h2>php.ini file settings</h2>
  21. <ol>
  22.     <li>
  23.         <b>register_globals = off</b>
  24.         <br />Set to off, this hould generally work satisfactorily but you could try setting it to on.
  25.     </li>
  26.     <li>
  27.         <b>session.auto_start = 0</b>
  28.         <br />This may generally be set to zero.  If you are experiencing trouble and this variable is set to 1, try setting it to 0.
  29.     </li>
  30.     <li>
  31.         <b>session.save_path = /tmp</b> (*nix style)
  32.         <br /><b>session.save_path = "d:/apache/php/sessiontemp"</b> (Windows style)
  33.         <br />Check that this directory actually exists.
  34.     </li>
  35.     <li>
  36.         <b>file_uploads = on</b>
  37.         <br />Set to on to enable the file upload module. You will also need to have appropriate permissions on the file folder. Maximum upload size can also be configured in <b>php.ini</b>.
  38.     </li>
  39. </ol>
  40.  
  41. <h2>Maximum File Upload Size [php.ini file settings]</h2>
  42. The maximum file upload size will depend on:<br />
  43. <ol>
  44.     <li>
  45.         <b>Server Configuration</b>
  46.     </li>
  47.     <li>
  48.         <b>Bandwidth Connectivity</b>
  49.     </li>
  50. </ol>
  51. For the most part, you can control the ability of uploading LARGE (>8mb files) by modification of your <code>php.ini</code> file. However, your modifications will likely go beyond simply tweeking the <code>upload_max_filesize</code> variable.<br />
  52. <br />
  53. Here are some sample <code>php.ini</code> modifications used to get a 11mb+ upload to function:<br />
  54. <br />
  55. <pre>
  56.     <code>upload_max_filesize = 20M </code>; DEFAULT is 2M 
  57.     <code>max_execution_time = 300 </code>; DEFAULT is 30 [seconds] 
  58.     <code>post_max_size = 12M </code>; DEFAULT is 8M 
  59. </pre>
  60. You may also find it necessary to modify the <code>memory_limit</code> Resource Limit, but this shouldn't be an issue if you have good bandwidth.<br />
  61. <br />
  62. In order to get a 3MB upload to work within our LAN environment, it was only necessary to modify the <code>upload_max_filesize</code> variable. However, file uploads may fail because of script timeouts exceeding <code>max_execution_time</code> if you have a poor network connection between your client and server (e.g. dialup).<br />
  63. <br />
  64. Please remember to restart Apache after making modifications to <code>php.ini</code>.<br /><br /> 
  65.  
  66. <h2>PHP</h2>
  67. <ol>
  68.     <li>You need PHP version 4.1.x or higher.</li>
  69.     <li>Is <b>MySQL</b> correctly compiled with PHP on a *nix server.  You can check this by writing a simple little php file that simply contains:
  70.     <pre><?php phpinfo(); ?></pre>
  71.     Point your browser at this file (via your web server!) and see if there are configuration entries for MySQL.
  72.     </li>
  73.  
  74.     <li>If the Gantt charts aren't working, have you compiled the GD libraries with PHP?</li>
  75. </ol>
  76.  
  77. <h2>Other thigs to try</h2>
  78. <p>There is a line in ./index.php that looks like this:
  79. <pre>// If you experience a 'white screen of death' or other problems,
  80. // uncomment the following line of code:
  81. //error_reporting( E_ALL );</pre>
  82. Un-comment the error reporting line to see if any error messages appear.</p>
  83.  
  84. <h2>General Things</h2>
  85. <p>The project percent complete is calculated on a weighed average of the task durations.  Therefore, a project may not be 50% complete even if it had two tasks at 50% complete but they were of different durations.  If no tasks have any duration then the project will always show 0% complete.</p>
  86.  
  87. </p>If you are wanting to use the translation management facilities, the <code>locales/{country code}</code> directory and all the files within this diectory (the *.inc files) will need to have the correct permissions under a POSIX based system to allow the web-server to write to these directories.</p>
  88.  
  89. <h2>Help!</h2>
  90. <p>If all else fails then post your problem on the SourceForge forum or Tracker.  However, to help out we remote developers, please include the following information:</p>
  91.  
  92. <ul>
  93.     <li>Your PHP and MySQL version.</li>
  94.     <li>Your web server and it's version.</li>
  95.     <li>Your browser and version is useful.</li>
  96.     <li>The version of dotProject you are using (file release or CVS).</li>
  97. </ul>
  98.  
  99. <p>Please describe the problem as best you can.  Try not to say "The contacts links are broken".  Something like "When I click on the letters on the Contacts index page, it takes me to the user admin list." would be much better and helps us home in on the problems a lot quicker.<p>
  100.  
  101. <p>Another example might be "When I try and edit a project I get the error 'create a company first'".  The critical piece of information missing here is the fact the dotProject user only has read-write permissions to the Projects module.</p>
  102.