Navigation

PHPGeneral : FAQ

From Linuxnetworks

Contents

[edit] Which browsers are supported?

You need a browser which must support

  • HTML 4.0/XHTML 1.0
  • CSS 2
  • Ecmascript (Javascript)
  • W3C DOM and Event model

It was extensively tested with Mozilla> 0.9, but MSIE> 5.5 also seems to work. Older browsers like Netscape 4.x are not supported and will never be supported.

[edit] The login screen reappears after I've submitted my user name and password

The authentication was ok, but you lost your session identifier. There are two reasons for this behavior:

  • register_globals is set to "On" in your php.ini or your .htaccess file
  • your browser rejects the cookie with the session id

[edit] Failed to include PEAR.php

The PEAR file is needed to create destructors for the used classes. Either your distribution has not included the PEAR extension (then look at pear.php.net) or the PEAR directory is not included into the "include_path" directive of your php.ini.

[edit] Fatal error in index.php

Since version 0.5.3 the HTML output of phpGeneral is compliant to the XHTML standard specified by W3C (http://w3c.org). It requires a XML header on top of each page which is enclosed in a "<?xml ... ?>" tag. Up to now, PHP is configured to use short open tags "<? ... ?>" instead of "<?php ... ?>" by default. This leads to a misinterpetation of "<?xml ... ?>" to be the begin of a php code section.

To avoid this behaviour, you can set "short_open_tags = off" in php.ini. Other PHP applications, which are not standard compliant and only use "<? ... ?>" won't work any more. In this case, the better solution is to configure Apache to use the example .htaccess file provided by phpGeneral, which sets the option locally.