From: lepage at grm dot polymtl dot ca Operating system: Solaris 9 PHP version: 5.2.1 PHP Bug Type: Unknown/Other Function Bug description: upgrade from 5.15 to 5.2x
Description: ------------ Since I upgraded from php 5.1.5 to php 5.20 and now php 5.21, I got serious errors that is not present in php 5.1.5. Users installation of phpBB and phpAlbum does not work anymore. I have look for many hours with finding a solution. While phpAlbum is working fine in the web server root directory, phpAlbum installed under users directories does not work anymore. It is like it's not able to include files under user directories. Reproduce code: --------------- see and try phpBB.com or phpAlbum.net in a user directory. Expected result: ---------------- I would expect php 5.2x to work better that this. Or a more comprenhensive error message saying why it cannot open a file in the current directory. I would be nice to find upgrade informations in the FAQ from 5.1x to 5.2x, I have look and find nothing about includes. Actual result: -------------- ---error-start---- Warning: fopen(data_rejdshflkj/writablity_test) [function.fopen]: failed to open stream: No such file or directory in /home/lepage/HTML/avendre/main.php on line 1886 Warning: fclose(): supplied argument is not a valid stream resource in /home/lepage/HTML/avendre/main.php on line 1887 Notice: Undefined variable: phpalbum_version in /home/lepage/HTML/avendre/main.php on line 36 Welcome to phpAlbum_ Your data directory data_rej123/ is eather not existing or not writable Please check for existing of this directory and setup the access rights with CHMOD 777 ---error-end---- ** This error is not limited to phpAlbum since it does the same kind of error with phpBB installed in users directories, here is an example of the errors, ---error-start---- Warning: include(./extension.inc) [function.include]: failed to open stream: No such file or directory in /home/pyrobert/HTML/Forum/index.php on line 25 Warning: include() [function.include]: Failed opening './extension.inc' for inclusion (include_path='.:/usr/local_9/opt/php/lib/php:/php/includes:/home/lepage/HTML/avendre:~lepage/avendre') in /home/pyrobert/HTML/Forum/index.php on line 25 Notice: Undefined variable: phpEx in /home/pyrobert/HTML/Forum/index.php on line 26 Warning: include(./common.) [function.include]: failed to open stream: No such file or directory in /home/pyrobert/HTML/Forum/index.php on line 26 Warning: include() [function.include]: Failed opening './common.' for inclusion (include_path='.:/usr/local_9/opt/php/lib/php:/php/includes') in /home/pyrobert/HTML/Forum/index.php on line 26 Fatal error: Call to undefined function session_pagestart() in /home/pyrobert/HTML/Forum/index.php on line 31 ---error-end---- I have tryed to add user directories to include_path in the php.ini but it does not work. I have looked for changes that could explain that, none are found. -- Edit bug report at http://bugs.php.net/?id=40552&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40552&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40552&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40552&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=40552&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=40552&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=40552&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=40552&r=needscript Try newer version: http://bugs.php.net/fix.php?id=40552&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=40552&r=support Expected behavior: http://bugs.php.net/fix.php?id=40552&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=40552&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=40552&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=40552&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40552&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=40552&r=dst IIS Stability: http://bugs.php.net/fix.php?id=40552&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=40552&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=40552&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=40552&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=40552&r=mysqlcfg
