PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
kd8hho
Worker
Worker


Joined: Mar 30, 2009
Posts: 111

PostPosted: Fri Sep 25, 2009 4:05 pm Reply with quote Back to top

did the upgrade. everything stock works fine. but nsn-downloads just gives a blank white page.

I seriously can not remember if I had to edit anything originally (re downloaded the package from nukescripts and over wrote the files still blank page)

I did take out the stock downloads out of RN b4 i did the upload so nothing in the downloads should have got overwrote.

on the white page, page source comes up with nothing.
View user's profile Send private message Visit poster's website
gazj
Worker
Worker


Joined: Apr 28, 2006
Posts: 150
Location: doncaster england

PostPosted: Fri Sep 25, 2009 4:20 pm Reply with quote Back to top

turn error reporting on and see if any errors come up then let us know and we can go from there
View user's profile Send private message Visit poster's website
kd8hho
Worker
Worker


Joined: Mar 30, 2009
Posts: 111

PostPosted: Fri Sep 25, 2009 4:32 pm Reply with quote Back to top

error report on, but getting nothing..
View user's profile Send private message Visit poster's website
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Fri Sep 25, 2009 4:34 pm Reply with quote Back to top

which version did you download?
View user's profile Send private message Send e-mail Visit poster's website
kd8hho
Worker
Worker


Joined: Mar 30, 2009
Posts: 111

PostPosted: Fri Sep 25, 2009 4:38 pm Reply with quote Back to top

nuken wrote:
which version did you download?


RN i did the 2.4 upgrade

NSN downloads is 1.0.3 IIRC (latest version i do believe)
View user's profile Send private message Visit poster's website
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Fri Sep 25, 2009 4:50 pm Reply with quote Back to top

Was it NSN GR Downloads 750 103pl2 or NSN GR Downloads 710 103pl2?
View user's profile Send private message Send e-mail Visit poster's website
kd8hho
Worker
Worker


Joined: Mar 30, 2009
Posts: 111

PostPosted: Fri Sep 25, 2009 4:58 pm Reply with quote Back to top

nuken wrote:
Was it NSN GR Downloads 750 103pl2 or NSN GR Downloads 710 103pl2?


Downloads 750 103pl2
View user's profile Send private message Visit poster's website
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2456
Location: Pittsburgh, Pennsylvania

PostPosted: Fri Sep 25, 2009 6:22 pm Reply with quote Back to top

In regards to the blank page are we talking admin or module index?
View user's profile Send private message
kd8hho
Worker
Worker


Joined: Mar 30, 2009
Posts: 111

PostPosted: Fri Sep 25, 2009 6:26 pm Reply with quote Back to top

module index.

i turned off shortlinks to see if by some chance that was the cause same issue.

in the admin panel nsn-download admin works fine no issues. im able to see the downloads list,cat list. add download, download config.

something tells me its a code issue but i cant seem to find anything that would cause it but im also no php expert.
View user's profile Send private message Visit poster's website
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2456
Location: Pittsburgh, Pennsylvania

PostPosted: Fri Sep 25, 2009 6:34 pm Reply with quote Back to top

Try looking in the module index for something like:
Code:

if(!isset($op)) { $op = "index"; }

Change it to:
Code:

if(!isset($op) || empty($op)) { $op = "index"; }
View user's profile Send private message
kd8hho
Worker
Worker


Joined: Mar 30, 2009
Posts: 111

PostPosted: Fri Sep 25, 2009 6:39 pm Reply with quote Back to top

code fixed it. now it shows.

what exactly did that do?
View user's profile Send private message Visit poster's website
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2456
Location: Pittsburgh, Pennsylvania

PostPosted: Fri Sep 25, 2009 6:47 pm Reply with quote Back to top

To fix an undefined $op notice we added some code to set $op to nothing ($op = '') if undefined. This caused a problem with your existing code (obviously).

The reason being is that it is semi poorly written. Ultimately it should of had a default case statement.

Getting back on track, the reason you had a problem is that since we defined $op as blank the "if(!isset($op)) { $op = "index"; }" was not triggering because the variable IS set. When adding the empty() to the if statement it triggers if $op is undefined or empty (ie blank). You probably could have gotten away with changing !isset to empty, but having them both is fine.

Hope you could follow all that Smile
View user's profile Send private message
kd8hho
Worker
Worker


Joined: Mar 30, 2009
Posts: 111

PostPosted: Fri Sep 25, 2009 7:38 pm Reply with quote Back to top

yes indeed. Razz

something in my mind was telling me it was a coding issue. and i was right. just wasnt looking in the right spot evidently lol.
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum