Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Mysql Problem, Fatal error: Cannot instantiate non-existent class: sql_db
hellgate
post Apr 17 2005, 07:20 AM
Post #1


Member [Level 2]
*****

Group: Members
Posts: 85
Joined: 16-April 05
Member No.: 5,741



i have a problem with phpnuke. i uploaded and chmod it and then i get this error:http://www.trap17.com/forums/database-database-setups-errors-settings-etc-t6665.html
and i think o have a problem in the cpanle too. if i make an mysql server it doesnt show it on cpanel only at phpmyadmin and at phpmyadmin i dont see any users that i tried to make
Go to the top of the page
 
+Quote Post
hellgate
post Apr 17 2005, 08:07 AM
Post #2


Member [Level 2]
*****

Group: Members
Posts: 85
Joined: 16-April 05
Member No.: 5,741



i installed phpnuke from the addon script is that te reason why i cant install it my self??
Go to the top of the page
 
+Quote Post
OpaQue
post Apr 17 2005, 09:35 AM
Post #3


Administrator
Group Icon

Group: Admin
Posts: 1,556
Joined: 11-June 04
From: Somewhere in Time & Space.
Member No.: 1
myCENT:READY[113.83]



This is a problem with your script. We have nothing to do with this. And be considerate, before making such topics, which give an impression that there is something wrong with our server.
Go to the top of the page
 
+Quote Post
hellgate
post Apr 17 2005, 12:45 PM
Post #4


Member [Level 2]
*****

Group: Members
Posts: 85
Joined: 16-April 05
Member No.: 5,741



sorry man
Go to the top of the page
 
+Quote Post
Spectre
post Apr 19 2005, 02:08 AM
Post #5


Privileged Member
*********

Group: Members
Posts: 873
Joined: 30-July 04
Member No.: 246



It should specify in the error message which line the error is occuring on within the script ('on line x'). Take a look there, and see what the problem is. It is obviously something to do with the class sql_db - so look for something along the lines of '$sql_db->blah'.

As it says that the class is non-existant, I would guess that it is expecting the class to be defined from a second script which is part of the phpNuke library; but perhaps the wrong script is being called, or maybe even a non-existant one (ie. @include('non-existant-script.php'))? Try looking in your configuration file, and make sure you have specified to use MySQL as the database engine. I'm not sure if phpNuke supports anything else, but it might be trying to use a different engine entirely, if you get my drift (I confuse myself at times).

Just out of curiosity, did you use Fantastico to install phpNuke, or did you upload it and do it yourself?

As for your second problem, what do you mean create a MySQL server? There is only one MySQL server on which all of the databases are stored (which is Trap17). A new one isn't set up for every single hosting account.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Mysql Downtimes...(39)
  2. A Lot Of Problems(10)
  3. Problem Typing In Firefox 1.0.4(7)
  4. Can You Add Images Into A Mysql Database?(21)
  5. My Dog Pukes Regularly(17)
  6. Dvd Drive Problem(13)
  7. Psp Error- Tut On How To Fix(32)
  8. Xampp Virtual Hosts Failing(7)
  9. Do You Ever Skip Class?(82)
  10. Mysql Won't Update(5)
  11. Error E74? (xbox 360)(12)
  12. Rpg Maker 2003 Music Problem(4)
  13. Problem With Time/date On My Computer(7)
  14. Problem With My Girlfriend Family, Need Suggestions For Action(6)
  15. Counter Strike Problem(3)
  1. Mysql Hacks(6)
  2. Problem With My Pc(4)
  3. Cpanel X3 Rvskin Problem And Solution(5)
  4. Weight Problem(10)
  5. Getting Php Error On Oscommerce(3)
  6. Domain Problem(1)
  7. Problem With Webdisk(2)
  8. Email Error Ends Up On Welsh Road Sign(1)
  9. How To Connect Mysql With Jsp ?(4)
  10. 64 Bit Nic Driver(1)
  11. Nokia Xpress Music Camera Problem(0)
  12. Beginning Php And Mysql: From Novice To Professional, Third Edition Review(1)
  13. Urgent! A Cpu Problem!?(6)


 



- Lo-Fi Version Time is now: 22nd November 2008 - 04:09 PM