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

From TuxFamilyFAQ
Jump to navigationJump to search
m
Line 1: Line 1:
 
{{Template:Languages}}
 
{{Template:Languages}}
 
[[WebArea/En]] > compatibility flyspray
 
[[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)
 
* problem of temporary memory (impossible to write in the directory /tmp)
  path include/class.flyspray.php
+
  path includes/class.flyspray.php
 
   
 
   
 
  function get_tmp_dir()
 
  function get_tmp_dir()
 
  {
 
  {
   return $_SERVER["DOCUMENT_ROOT_HASH"].'/tmp';
+
   return $_S
...
 
  
== 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)
 
* 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
+
  dans feed.php
  chmod($cachefile, 0664);
+
  chmod($cachefile, 02775);

Revision as of 15:11, 17 January 2008


WebArea/En > compatibility flyspray

  • problem of temporary memory (impossible to write in the directory /tmp)
path includes/class.flyspray.php

function get_tmp_dir()
{
 return $_S
  • problem of rights (at the moment I cannot do anything but test it, so I don't say that the list is complete)
dans feed.php
chmod($cachefile, 02775);