Difference between revisions of "WebArea/Compat/Flyspray/En"

From TuxFamilyFAQ
Jump to navigationJump to search
(New page: {{Template:Languages}} WebArea/En > compatibility flyspray == Before installation == * cgi.fix_pathinfo isn't in the correct position (in fact, the filetype .ini cannot be read) pat...)
 
Line 4: Line 4:
 
== Before installation ==
 
== Before installation ==
 
* cgi.fix_pathinfo isn't in the correct position (in fact, the filetype .ini cannot be read)
 
* cgi.fix_pathinfo isn't in the correct position (in fact, the filetype .ini cannot be read)
 +
so you will need to find where it is called in setup/index.php and comment out the statement that calls it.
 +
(NOTE: the latest version of Flyspray does not exactly match the demonstration code snippet below)
  
 
  path setup/index.php
 
  path setup/index.php

Revision as of 13:17, 17 January 2008


WebArea/En > compatibility flyspray

Before installation

  • cgi.fix_pathinfo isn't in the correct position (in fact, the filetype .ini cannot be read)

so you will need to find where it is called in setup/index.php and comment out the statement that calls it. (NOTE: the latest version of Flyspray does not exactly match the demonstration code snippet below)

path setup/index.php

//if(substr(php_sapi_name(), 0, 3) == 'cgi' && ! ini_get('cgi.fix_pathinfo')) {
//
//    die("You are using cgi or fastcgi and you have not set cgi.fix_pathinfo=1 in php.ini.
//         Flyspray cannot work properly without cgi.fix_pathinfo enabled, please update your configuration");
//}
  • problem of temporary memory (impossible to write in the directory /tmp)
path include/class.flyspray.php

function get_tmp_dir()
{
 return $_SERVER["DOCUMENT_ROOT_HASH"].'/tmp';
...

Post-installation

  • problem of rights (at the moment I cannot do anything but test it, so I don't say that the list is complete)
path feed.php
chmod($cachefile, 0664);