I know this question has been asked before, and I have searched several variations on how to solve it. Nothing has worked so far. I have tried loading up several different versions of PHP-Nuke to see if that would solve the problem, but 6.0, 6.5, and 6.7 all give me the same error at the top of the page. The error says:
<i>Warning: Unable to access modules/admin/language/lang-english.php in /export/apache/htdocs/html/mainfile.php on line 81</i>
After you enter the superuser information, and log into the admin.php, it is full of the same types of errors:
<i>Warning: Unable to access themes/DeepBlue/images/admin/stories.gif in /export/apache/htdocs/html/admin.php on line 107
Warning: Unable to access themes/DeepBlue/images/admin/backup.gif in /export/apache/htdocs/html/admin.php on line 107
Warning: Unable to access themes/DeepBlue/images/admin/banners.gif in /export/apache/htdocs/html/admin.php on line 107
Warning: Unable to access themes/DeepBlue/images/admin/blocks.gif in /export/apache/htdocs/html/admin.php on line 107</i>
...etc... But all of the images that it says it can't access, are available below all of the errors.
Any and all help will be greatly appreciated. I have been racking my brain on this for over a week now and I'll bet it is a simple fix. Thank you.
Jerry
Raven General
Joined: Mar 22, 2003
Posts: 5233
Location: USA
Posted:
Tue Aug 05, 2003 6:11 pm
Would you please post line 81 and 107 from mainfile.php? Also, is this server on Windows?
The website is running on a Solaris 9 server. Right now it is running PHP-Nuke 6.0, but I get the same type of errors with 6.5 and 6.7, just on different lines.
Thanks again for helping.
Jerry
Raven General
Joined: Mar 22, 2003
Posts: 5233
Location: USA
Posted:
Thu Aug 07, 2003 6:14 pm
Try putting the '@' in front of the file_exists function. So it becomes @file_exists
That was it! Do you know why the errors have to be suppressed (@) when that function is called? It's funny because inside of the administration window, it would throw all those errors about unable to access the various gif's, but they would all be shown below the errors. Thank you very much for your help....now I can move on with the rest of this to get the site back up.
Jerry
Raven General
Joined: Mar 22, 2003
Posts: 5233
Location: USA
Posted:
Thu Aug 07, 2003 7:09 pm
Yes, but I can't rememebr why! Old age again. I just know that certain sites experience it and we don't know why, as far as I know.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum