Page 1 of 1

Updating Information Edited.

Posted: Mon Oct 22, 2007 10:30 pm
by caspar
Hi, I'm creating a database system using php programming but i can't seem to update this particular information when it's edited. what seems to be the problem here? It worked on xampp server when I edited but it is only used as a testing server. It won't work when i use it on Mozilla Firefox. Here's the error.

- Warning: fopen(/home/mp15/public_html/gleam/gleam.include/gleam.conf.inc): failed to open stream: Permission denied in /home/mp15/public_html/gleam/gleam-module-setup.php on line 92
Cannot open file (/home/mp15/public_html/gleam/gleam.include/gleam.conf.inc)

92 if (!$handle = fopen($filename, 'w')) {
93 echo "Cannot open file ($filename)";
94 exit;
95 }
96
97 if (fwrite($handle, $content) == FALSE)
98 {
99 echo "Cannot write to file ($filename)";
100 exit;
101 }

Help needed urgently. Thanks!

Posted: Mon Oct 22, 2007 11:47 pm
by Zoxive
What does the error say again?


.. Permissions are not set correctly to open the file, for what ever server software you are using.