[Chameleon-dev] [Bug 787] [Chameleon-AdminTools]PHP errors and warnings appear when loading admin page

bugzilla-daemon at maptools.org bugzilla-daemon at maptools.org
Fri Dec 3 14:01:22 EST 2004


http://www.maptools.org/bugzilla/show_bug.cgi?id=787





------- Additional Comments From nsavard at dmsolutions.ca  2004-12-03 14:01 -------
I updated again php_utils and I got the messages below.

I asked Julien to update and test.  He got no message.  Julien checked on my
machine and changed common/phpwms directory permissions.  Only the Apache
message appears.

Question:  How should I know that I need to unprotect this directory?

Before line 190 of dbf.php file I added two echo lines:
           
	      echo "<pre>dir=$this->m_szBaseDir";
              echo "file=$szDBFFile</pre>";
And I got:

dir=file=server.dbf

So "szBaseDir" is not set.




__________________________
Messages:

[03-Dec-2004 13:18:49] PHP Warning:  fopen(server.dbf.struct): failed to open
stream: Permission denied in
/home/nsavard/proj/chameleon_cvs/htdocs/common/phpwms/dbf.php on line 190
[03-Dec-2004 13:18:49] PHP Warning:  fwrite(): supplied argument is not a valid
stream resource in /home/nsavard/proj/chameleon_cvs/htdocs/common/phpwms/dbf.php
on line 191
[03-Dec-2004 13:18:49] PHP Warning:  Unable to create database (13): Permission
denied in /home/nsavard/proj/chameleon_cvs/htdocs/common/phpwms/dbf.php on line 194
[03-Dec-2004 13:18:49] PHP Warning:  Unable to find database for identifier 0 in
/home/nsavard/proj/chameleon_cvs/htdocs/common/phpwms/server_data_manager.php on
line 216
[03-Dec-2004 13:18:49] PHP Warning:  Unable to find database for identifier 0 in
/home/nsavard/proj/chameleon_cvs/htdocs/common/phpwms/server_data_manager.php on
line 241
 




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


More information about the Chameleon-dev mailing list