Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
snype
Regular
Regular


Joined: Aug 12, 2008
Posts: 58

PostPosted: Tue Jun 08, 2010 6:28 pm Reply with quote

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 Very Happy
 
View user's profile Send private message
jestrella
Moderator


Joined: Dec 01, 2005
Posts: 593
Location: Santiago, Dominican Republic

PostPosted: Tue Jun 08, 2010 7:11 pm Reply with quote

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.

_________________
"For those whom have not reach the sky... Every mountain seems high"

Best Regards
Jonathan Estrella Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
gregexp
The Mouse Is Extension Of Arm


Joined: Feb 21, 2006
Posts: 1497
Location: In front of a screen....HELP! lol

PostPosted: Tue Jun 08, 2010 7:12 pm Reply with quote

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.

_________________
For those who stand shall NEVER fall and those who fall shall RISE once more!! 
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
snype
PostPosted: Tue Jun 08, 2010 8:34 pm Reply with quote

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: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Tue Jun 08, 2010 8:43 pm Reply with quote

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 Smile

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

View next topic
View previous topic
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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©