| Author |
Message |
snype Regular


Joined: Aug 12, 2008 Posts: 58
|
Posted:
Tue Jun 08, 2010 6:28 pm |
|
Hello i wonder if i can trouble you guys to help me out with the NSN Theme_System for the latest ravennuke. I have installed it and all the admin side works but when i try to go to the module its self all i get is a blank page i am really stumped with this.
No errors appear its just a blank white page
Thanks snype  |
|
|
|
 |
jestrella Moderator

Joined: Dec 01, 2005 Posts: 535 Location: Santiago, Dominican Republic
|
Posted:
Tue Jun 08, 2010 7:11 pm |
|
Turn on error reporting and then try again...
It's hard to tell without look at the code, but let me guess, there should be some deprecated code at the very top of the module index file...
You must have something like
| Code: | | defined('MODULE_FILE') OR die('You Cant Access this file directly'); |
or like this
| Code: | | if (!defined('MODULE_FILE') { die(('You Cant Access this file directly'); } |
Would be very helpful if you post the first lines of code or if you provide a working link to get the whole module for we to have a look. |
|
|
|
 |
gregexp The Mouse Is Extension Of Arm

Joined: Feb 21, 2006 Posts: 1497 Location: In front of a screen....HELP! lol
|
Posted:
Tue Jun 08, 2010 7:12 pm |
|
Did you upload it in ascii or binary?
Sometimes php scripts do that when uploaded incorrectly.
Try to reupload, but make sure your FTP client is set to binary, and not ascii or auto. |
|
|
 |
 |
snype Regular


Joined: Aug 12, 2008 Posts: 58
|
Posted:
Tue Jun 08, 2010 8:34 pm |
|
Nuken answered it on his boards
| bobby wrote: | In the modules index.php find:
| Code: | | if(!isset($op)) { $op = "TSIndex"; } |
change it to:
| Code: | | if(!isset($op) || empty($op)) { $op = "TSIndex"; } |
and see if that fixes it. if it doesn't, I will install it and see if it is something else. |
That fixed it and i had error reporting on but no errors were reported which is what stumped me the most. |
|
|
|
 |
Palbin Site Admin

Joined: Mar 30, 2006 Posts: 2456 Location: Pittsburgh, Pennsylvania
|
Posted:
Tue Jun 08, 2010 8:43 pm |
|
| snype wrote: | Nuken answered it on his boards
| bobby wrote: | In the modules index.php find:
| Code: | | if(!isset($op)) { $op = "TSIndex"; } |
change it to:
| Code: | | if(!isset($op) || empty($op)) { $op = "TSIndex"; } |
and see if that fixes it. if it doesn't, I will install it and see if it is something else. |
That fixed it and i had error reporting on but no errors were reported which is what stumped me the most. |
That was the first thing that came to my mind as all the NSN scripts have that problem, but I see that nuken remembered as well  |
|
|
|
 |
|
|
|
|