#40552 [Opn->Bgs]: upgrade from 5.15 to 5.2x
| From: | derick@php.net | Date: | Tue, 20 Feb 2007 08:04:21 +0000 |
| Subject: | #40552 [Opn->Bgs]: upgrade from 5.15 to 5.2x | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-109147@lists.php.net to get a copy of this message | ||
ID: 40552
Updated by: derick@php.net
Reported By: lepage at grm dot polymtl dot ca
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Solaris 9
PHP Version: 5.2.1
New Comment:
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.
.
Previous Comments:
------------------------------------------------------------------------
[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