NukeXchange Network

          

NukeZone Hosting - Fast, Affordable and Dependable
Nuke Fixes · NukeForums · NukeZone Hosting · NukeUnited · Nuke Sites · Nuke Skins · NukeLance
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
· CMS Focus
· Domain Names
. Game Quest
· Learning Linux
. MateMaker
· NukeFixes
· NukeForums
· NukeLance
· 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
·PHPNuke 8 security worries
·PHP-Nuke SQL Injection Vulnerability Fix
·decompressing EN-Book-Nuke.tar.tar
·How to allow spaces/gaps/"-" in allowed usernames
·How to Setup PHPNUKE on win2k
·cannot save changes
·voting?
·Nuke forum picture problem
·How to change smtp port on wampserver and windows
·yet another 301 redirect problem

read more...
Top10 Links
· 1: Nuke Forums
· 2: PHPNukeFiles
· 3: NukeSkins
· 4: Nuke Templates
· 5: EcomJunk
· 6: MDesign
· 7: Windows Installation: PHP
· 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: tones
Today: 1
Yesterday: 2
Overall: 15105

Visitation:
Guests: 560
Members: 0
Total: 560


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 - Will upgrading phpnuke fix errors?
NukeResources Forum Index

NukeResources Forum Index -> Bug Fixes -> Will upgrading phpnuke fix errors?
Post new topic  Reply to topic    View previous topic :: View next topic 
Will upgrading phpnuke fix errors?
PostPosted: Wed Aug 09, 2006 7:08 pm Reply with quote
tazando
Resource Seeker
Resource Seeker
 
Joined: Aug 09, 2006
Posts: 5




Hello

I am fairly green when it comes to phpnuke. I am running phpnuke 7.5 with Nuke Sentinel 2.10. I am having problems with the forums:


Warning: main(db/mysql.php): failed to open stream: No such file or directory in /home/whispy2/public_html/community/db/db.php on line 53

Warning: main(db/mysql.php): failed to open stream: No such file or directory in /home/whispy2/public_html/community/db/db.php on line 53

Warning: main(): Failed opening 'db/mysql.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/lib/php') in /home/whispy2/public_html/community/db/db.php on line 53

Fatal error: Cannot instantiate non-existent class: sql_db in /home/whispy2/public_html/community/db/db.php on line 86


I have been around the web twice searching, putting in fixes for mainfile and index file. Nothing worked.

I was wondering if I upgrade to phpnuke 7.8 will this fix one of the many probs I am having?
View user's profile Send private message
PostPosted: Fri Aug 11, 2006 7:21 am Reply with quote
Evaders99
Resource Master
Resource Master
 
Joined: May 25, 2004
Posts: 1785




That just seems to mean you are missing the file
db/mysql.php

_________________
- Star Wars Rebellion Network - Evaders Squadron Coding -

Need help? Nuke Patched Core, Coding Services, Webmaster Services
View user's profile Send private message Visit poster's website AIM Address
PostPosted: Fri Aug 11, 2006 5:13 pm Reply with quote
tazando
Resource Seeker
Resource Seeker
 
Joined: Aug 09, 2006
Posts: 5




There is a msql.php and a msql4.php in the db folder.


This is the error msg i get when i click on the forums in the admin panel.
I tried all the other fixes that i found for this error. i cked the config.php file to make sure that everything is right.

If i upgrade to phpnuke 7.6 would this help or not help with the error?
View user's profile Send private message
PostPosted: Sat Aug 12, 2006 8:36 am Reply with quote
TRUFR34K
Resource Newbie
Resource Newbie
 
Joined: Dec 15, 2005
Posts: 28




Well as Evaders said, you are missing the mysql.php file in the db folder. You could probably just redownload and add the mysql.php file...or you could update to 7.6 and I'm pretty certain that if you upload all the files correctly, it would fix this specific error!!
View user's profile Send private message
PostPosted: Sun Aug 13, 2006 4:03 am Reply with quote
Evaders99
Resource Master
Resource Master
 
Joined: May 25, 2004
Posts: 1785




Okay, so its just the forums admin panel. Seems to be a problem with your mainfile.php inclusion then.

Are you using the latest Patched files for 7.5?

_________________
- Star Wars Rebellion Network - Evaders Squadron Coding -

Need help? Nuke Patched Core, Coding Services, Webmaster Services
View user's profile Send private message Visit poster's website AIM Address
PostPosted: Sun Aug 13, 2006 9:36 pm Reply with quote
tazando
Resource Seeker
Resource Seeker
 
Joined: Aug 09, 2006
Posts: 5




i ran the 3.1 nuke patch a couple of months ago.....come to think of it i think the problem happened after i patched it.
View user's profile Send private message
PostPosted: Mon Aug 14, 2006 2:30 am Reply with quote
Evaders99
Resource Master
Resource Master
 
Joined: May 25, 2004
Posts: 1785




I can't say for version 7.5, but the latest 3.2 Patched mainfile.php should look something like

Code:

if(defined('FORUM_ADMIN')) {
  define('INCLUDE_PATH', '../../../');
} elseif(defined('INSIDE_MOD')) {
  define('INCLUDE_PATH', '../../');
} else {
  define('INCLUDE_PATH', './');
}

require_once(INCLUDE_PATH."config.php");
require_once(INCLUDE_PATH."db/db.php");
require_once(INCLUDE_PATH."includes/sql_layer.php");
require_once(INCLUDE_PATH."includes/ipban.php");
if (file_exists(INCLUDE_PATH."includes/custom_files/custom_mainfile.php")) {
  include_once(INCLUDE_PATH."includes/custom_files/custom_mainfile.php");
}

_________________
- Star Wars Rebellion Network - Evaders Squadron Coding -

Need help? Nuke Patched Core, Coding Services, Webmaster Services
View user's profile Send private message Visit poster's website AIM Address
PostPosted: Mon Aug 14, 2006 3:18 pm Reply with quote
tazando
Resource Seeker
Resource Seeker
 
Joined: Aug 09, 2006
Posts: 5




Dam. I messed something up...the footer on the main page www.Whispy.com/community/ slid to the right. I changed everthing back that I did and it won't go back?????
View user's profile Send private message
PostPosted: Tue Aug 15, 2006 4:39 am Reply with quote
Evaders99
Resource Master
Resource Master
 
Joined: May 25, 2004
Posts: 1785




You may be missing some table code somewhere.. usually need to close the TD TR or TABLE tags

_________________
- Star Wars Rebellion Network - Evaders Squadron Coding -

Need help? Nuke Patched Core, Coding Services, Webmaster Services
View user's profile Send private message Visit poster's website AIM Address
PostPosted: Tue Aug 15, 2006 11:24 am Reply with quote
tazando
Resource Seeker
Resource Seeker
 
Joined: Aug 09, 2006
Posts: 5




Thanks Evaders, I will check it out.
View user's profile Send private message
Will upgrading phpnuke fix errors?
 NukeResources Forum Index -> Bug Fixes
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 174 unique hit(s) in the past 24 hours.
Forums ©
Nuke Sites Link Directory


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: 0.66 Seconds

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