NukeXchange Network

          

Nuke Sites Link Directory
Nuke Fixes · NukeForums · NukeZone Hosting · Nuke Sites · Nuke Skins
Nuke Resources
 :: Home  :: Downloads  :: Your Account  :: Forums  :: Advertise :: 
Login or Register
Main Menu
General
 Main
 AvantGo
 Banner_Clients
 cfaq
 Donations
 Downloads
 Forums
 Members_List
 Private_Messages
 Search
 Stories_Archive
 Submit_News
 Surveys
 Topics
 Web_Links
 Your_Account

Your Account
 Login
 Register
 Lost Pass

Modules
Quick Links
· Domain Names
. Game Quest
· Learning Linux
. MateMaker
· NukeFixes
· NukeForums
· Nuke Sites
· Nuke Skins
· NukeZone Hosting
. SearchDevil
Other Options

Download Resources
· Nuke Downloads
· Add a Link
· New Files
· Top Rated
· Most Popular

Web Site Resources
· Nuke Sites
· Add A Site
· New Sites
· Top Rated
· Most Popular

Support
· NukeZone Hosting
· NukeSkins.com
· NukeForums.com
· phpnuke.org
· NukeFixes.com
Information
NukeForums
·Email not sending from forum
·Can't add articles
·Adding 'All' as a selection on Reviews
·php nuke background
·Php nuke one click install on plesk 10.4
·Blocks
·vbulletin migration
·How would I add a clickable link in a Modules Block?
·eregi_replace() is deprecated
·Admin Security login jpeg not showing

read more...
Top10 Links
· 1: Nuke Forums
· 2: Windows Installation: PHP
· 3: PHPNukeFiles
· 4: NukeSkins
· 5: Nuke Templates
· 6: EcomJunk
· 7: MDesign
· 8: FLASH-FOR-NUKE
· 9: Dezina
· 10: Global Dream News Sharing Portal!
Site Visitors
User Login:

Nickname:
Password:
Security Code: Security Code
Type Security Code Here:

Members List Membership:
Latest: born
Today: 0
Yesterday: 0
Overall: 16031

Visitation:
Guests: 236
Members: 0
Total: 236


You are Anonymous user. You can register for free by clicking here
Sponsor Links
Game Quest Online - Games and more!
Game Quest Online - Games and more!

NukeResources :: View topic - Blank pages and error after patch
NukeResources Forum Index

NukeResources Forum Index -> Upgrading PHP-Nuke -> Blank pages and error after patch
Post new topic  Reply to topic    View previous topic :: View next topic 
Blank pages and error after patch
PostPosted: Sat Jul 30, 2005 6:47 pm Reply with quote
Xee
Resource Seeker
Resource Seeker
 
Joined: Jul 30, 2005
Posts: 4




I'll describe everything I've done. After installing the 7.7 patch and running upgrade.php, I got the error messeage that my admin file couldn't be found. I checked my config file and saw that I had added the ".php" extension to the file name. I corrected it and then ran the upgrade.php file again and got blank pages for my entire site. I then executed the upgrade.sql file yet the blank pages remained. After checking the source of a blank page I saw this error (the page was black which is why I didn't notice it at first):

Code:
Fatal error: Call to a member function on a non-object in /home/mainsite/public_html/nuke/html/includes/javascript.php on line 32


I checked line 32 of the javascript file and it said:


Code:
$getwysigmodules = $db->sql_query("SELECT * FROM ".$prefix."_modules WHERE wysig_status = '1'");


Any idea why this is so?
View user's profile Send private message
PostPosted: Sat Jul 30, 2005 7:31 pm Reply with quote
voodoo1550
Resource Seeker
Resource Seeker
 
Joined: Jul 30, 2005
Posts: 1




same problem with my 7.7 upgrade, something is wrong with the javascript.php??? somebody HELP!!! Sad
View user's profile Send private message
PostPosted: Sun Jul 31, 2005 12:13 am Reply with quote
armdoggy
Resource Seeker
Resource Seeker
 
Joined: Jul 30, 2005
Posts: 2




The same thing happened to me... and I chased it up: the $db variable was left out of the global line.

Change line 24 to the following:

Quote:

global $name, $admin, $advanced_editor, $adveditor, $lang, $nukeurl, $db;
View user's profile Send private message
PostPosted: Sun Jul 31, 2005 2:39 pm Reply with quote
Xee
Resource Seeker
Resource Seeker
 
Joined: Jul 30, 2005
Posts: 4




Thanks armdoggy; got pretty much the same fix from another forum:

FILE: includes/javascript.php
Line 24
Code:
global $name, $admin, $advanced_editor, $adveditor, $lang, $nukeurl;

change to:
Code:
global $name, $admin, $advanced_editor, $adveditor, $lang, $nukeurl, $prefix, $db;
View user's profile Send private message
Blank pages and error after patch
 NukeResources Forum Index -> Upgrading PHP-Nuke
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
All times are GMT - 4 Hours  
Page 1 of 1  

  
  
 Post new topic  Reply to topic     



Powered by phpBB © 2001-2005 phpBB Group.     Theme created by Vjacheslav Trushkin.
There have been 67 unique hit(s) in the past 24 hours.
Forums ©
Need to find your IP fast?


Best viewed with a Browser
All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2001 - 2007 by NukeResources.com
You can syndicate our news using the file .backend.php or ultramode.txt
PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 22.0 Seconds

:: Eos phpbb2 style by Cyberalien :: PHP-Nuke theme by www.nukemods.com ::