ID: 40552 User updated by: lepage at grm dot polymtl dot ca Reported By: lepage at grm dot polymtl dot ca Status: Open Bug Type: Documentation problem Operating System: Solaris 9 PHP Version: 5.2.1 New Comment:
Although I have '.' in include_path = "/usr/local_9/opt/php/lib/php:/php/includes:." it is not opening file when preceded by ./ for one example in phpBB it's define $phpbb_root_path = './' and it does not work unless I redefine it to $phpbb_root_path = '/some/absolute/path/' then it work. Again it was working in 5.1.5 and not in 5.2.0, it is a bug, dot in search path is no longer working. Previous Comments: ------------------------------------------------------------------------ [2007-02-21 02:12:40] lepage at grm dot polymtl dot ca It is working with php 5.1.5 not with 5.2.x using the exact same config file (php.ini). It's like php 5.2x is not chdir to the script dir when running the script. Information about this should be included into the php upgrade documentation (from 5.1x to 5.2x). I have looked at many bugs like #30881 but it's too old.. my problem is it was working with version 5.1.5. It is still not working... what did change from 5.1.5 to 5.2 that can cause that? ------------------------------------------------------------------------ [2007-02-21 00:04:28] lepage at grm dot polymtl dot ca I have search for this bug for so long, I waited the new version 5.2.1 and it still has this problem. All the search on google I made with those errors, actually give me web site that are not working and display those errors... so I think it's a bug... At least in the documentation since I found nothing. ------------------------------------------------------------------------ [2007-02-20 08:04:20] [EMAIL PROTECTED] Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. . ------------------------------------------------------------------------ [2007-02-20 02:39:48] lepage at grm dot polymtl dot ca 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 this bug report at http://bugs.php.net/?id=40552&edit=1