| Author |
Message |
delectatus
Nuke Cadet


Joined: Jul 14, 2008
Posts: 6
|
Posted:
Tue Jul 22, 2008 6:33 pm |
  |
When I try to access my index.php page, I get the message in the header. This started after I edited the style.css file in my theme and the index.php file in modules/Contents.
Any ideas on what I could have screwed up? All I did was create classes for displaying the contents of page_header, text, page_footer, and signature boxes and then modify the echo statements.
I reset all my file permissions, but that didn't do anything. |
|
|
   |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12364
|
Posted:
Tue Jul 22, 2008 6:38 pm |
  |
|
     |
 |
delectatus
Nuke Cadet


Joined: Jul 14, 2008
Posts: 6
|
Posted:
Wed Jul 23, 2008 6:13 am |
  |
That makes sense. However, I'm getting the message on my root index page.
www.strengthandhonorlive.com/
I never changed anything on my root index page so I don't know what happened.
Thanks for the help. I really appreciate it! |
|
|
   |
 |
delectatus
Nuke Cadet


Joined: Jul 14, 2008
Posts: 6
|
Posted:
Wed Jul 23, 2008 7:20 am |
  |
When I comment out the line this code in index.php:
| Code: |
if (!defined('MODULE_FILE')) {
die ("Died in /index.php (1): You can't access this file directly...");
} |
The page opens, but not to the correct page, but to the contents list. I also get these warnings at the top:
| Quote: |
Warning: get_lang(modules/html/language/lang-english.php) [function.get-lang]: failed to open stream: No such file or directory in /homepages/26/d211395921/htdocs/strengthandhonorlive/phpnuke/html/mainfile.php on line 364
Warning: get_lang() [function.include]: Failed opening 'modules/html/language/lang-english.php' for inclusion (include_path='.:/usr/lib/php') in /homepages/26/d211395921/htdocs/strengthandhonorlive/phpnuke/html/mainfile.php on line 364
|
I am running 8.0. |
|
|
   |
 |
simrin
Support Mod


Joined: Jul 17, 2003
Posts: 517
Location: In front of a computer, who wants to know
|
Posted:
Wed Jul 23, 2008 7:26 am |
  |
You said you have made no direct edits to the index.php. You can try copying over a clean index.php from the installation source and try that. Also double check all your permissions. Maybe a permission on a file referenced by index.php got tweaked. |
_________________ NC Support Mod
Are you there? No I am a figment of your imagination.
www.hostileguild.net |
|
     |
 |
delectatus
Nuke Cadet


Joined: Jul 14, 2008
Posts: 6
|
Posted:
Wed Jul 23, 2008 7:37 am |
  |
| simrin wrote: |
| You said you have made no direct edits to the index.php. You can try copying over a clean index.php from the installation source and try that. Also double check all your permissions. Maybe a permission on a file referenced by index.php got tweaked. |
Thanks a lot! |
|
|
   |
 |
|
|