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
trunks
Worker
Worker


Joined: Oct 05, 2007
Posts: 152
Location: United Kingdom

PostPosted: Fri Jan 02, 2009 11:53 pm Reply with quote Back to top

I have found a fix for many people receiving the same problem when uploading and installing this module.

It seems that you download this module, upload to the correct locations and when you try to install/alter the sql tables you get redirected to the home page?
Or if that works fine, you enter your phpnuke downloads page, click the download you want to download and it give you a white page?

Well we've figured out why, read below.



Locate your index.php in your downloads module, which should look like this;

public_html/yournukeroot/modules/Downloads/index.php

You will need to open this file and find the following lines of code:

Code:
Code:

    function makePass() {
        global $module_name;
        $cons = "bcdfghjklmnpqrstvwxyz";
        $vocs = "aeiou";
        for ($x=0; $x < 6; $x++) {
            mt_srand ((double) microtime() * 1000000);
            $con[$x] = substr($cons, mt_rand(0, strlen($cons)-1), 1);
            $voc[$x] = substr($vocs, mt_rand(0, strlen($vocs)-1), 1);
        }
        $makepass = $con[0] . $voc[0] .$con[2] . $con[1] . $voc[1] . $con[3] . $voc[3] . $con[4];
        return($makepass);
    }



Make sure you include that las '}' and delete ALL of those lines!

Save this file and upload and overwrite.



This should solve your problem Smile

Remember you are editing the index.php INSIDE the downloads module, and not your root index file!!

You can download this file from
Only registered users can see links on this board!
Get registered or login to the forums!


The file in their database is unmodified, as this version will work on other versions of nuke.
View user's profile Send private message Visit poster's website MSN Messenger
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2404
Location: Pennsylvania

PostPosted: Sat Jan 03, 2009 1:11 am Reply with quote Back to top

Thanks for post this :clap:
View user's profile Send private message Visit poster's website
trunks
Worker
Worker


Joined: Oct 05, 2007
Posts: 152
Location: United Kingdom

PostPosted: Sat Jan 03, 2009 3:10 am Reply with quote Back to top

No problem Wink
View user's profile Send private message Visit poster's website MSN Messenger
jakec
Site Admin


Joined: Feb 06, 2006
Posts: 3028
Location: United Kingdom

PostPosted: Sat Jan 03, 2009 4:49 am Reply with quote Back to top

I've never heard of this module before so I was just wondering what it does?
View user's profile Send private message
trunks
Worker
Worker


Joined: Oct 05, 2007
Posts: 152
Location: United Kingdom

PostPosted: Sat Jan 03, 2009 10:44 am Reply with quote Back to top

Its a different approach on the downloads module. Few more images here and there, different layout etc etc.
View user's profile Send private message Visit poster's website MSN Messenger
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