Jul 23, 2008

Mysql Problem - Fatal error: Cannot instantiate non-existent class: sql_db

Free Web Hosting, No Ads > General > Hosted Members Area

free web hosting

Mysql Problem - Fatal error: Cannot instantiate non-existent class: sql_db

hellgate
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

Reply

hellgate
i installed phpnuke from the addon script is that te reason why i cant install it my self??

Reply

OpaQue
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.

Reply

hellgate
sorry man

Reply

Spectre
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.

 

 

 


Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. class sql_db - 5.95 hr back. (1)
Similar Topics

Keywords : mysql, problem, fatal, error, instantiate, existent, class, sql, db

  1. Phpbb3 - Error 28
    (3)
  2. Error 28 (on Phpmyadmin)
    What does this error message mean? (6)
    I have a shopping cart system on my website. It always worked before, but all of a sudden, when I
    try to access it i get "Got error 28 from storage engine". Has that got something to do with the
    recent problems again, or can someone tell me what this error message means? Thanks. After posting
    this I noticed I cannot get into my PHPAdmin anymore. It gives loads of errors: QUOTE Warning:
    session_write_close() : SQLite: session write query failed: database is full in
    /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 42 Warning: session_write_close() :
    Fai....
  3. How Do I Find My Mysql Password? [resolved]
    Cannot access my MySQL (5)
    After all the recent problems, my account has been restored. I have setup my parked domain agin, and
    that works fine. However, I can no longer access my MySQL databases (I can from PHPMyAdmin, but
    that's all). I had to create a new user for my databases, and created the user with exactly the
    same username and password I had before, but some of my web pages do not let me access the pages I
    have associated with my databases. Where could i find out what my DB password is? (Although I am as
    good as sure I am using the right one). I have tried my old password, the new c....
  4. Page Load Error When Accessing Cpanel
    (0)
    Not sure what the issue is. I cannot even load up any of the cpanel's to allow me to put in a
    password. I have tried the link that is located in the Credit System 2.0 I have tried the links
    with subdomain/cpanel I have tried the links with subdomain:2082 All 3 of these just give page
    load errors. Please note : This isn't a "my password doesn't work" thread. This is a "I
    can't even get cpanel to TRY to load" thread. Thanks in advance.....
  5. Coppermine Gallery Error
    (2)
    Okay.. so i have my gallery set up at photos.chantellepaige.org and everytime i try to access it i
    get this error "Coppermine critical error: Unable to connect to database ! MySQL said: Access
    denied for user 'giselle_copp1'@'localhost' (using password: YES)" how do i change
    the password etc?? or fix the problem??....
  6. Remote Access Mysql
    (8)
    Is it possible to directly access my local database from my website? For example, if somebody
    submits info on my website, the info they submitted would be transferred to my local database
    directly. Is that possible? And if so, how do I set that up? The reason I don't want to upload
    my database to my subdomain is because it would be difficult to keep the website database and my
    local database in sync . . . or is there a way to do that? Thanks for any replies.....
  7. Phpmyadmin Error [resolved]
    (7)
    I get this error message each time I attempt to work phpMyAdmin. QUOTE Cannot start session
    without errors, please check errors given in your PHP and/or webserver log file and configure your
    PHP installation properly. Help would be very grateful.....
  8. Phpmyadmin Error
    Not able to enter PhpMyAdmin (4)
    Currently I try to access my PhpMyAdmin and I get the following error displayed among the screen:
    My PhpMyAdmin worked prior the migration but suddenly stopped working after. I wanted to know if
    anyone else is getting this error also or anyway can help me fix this o.o.....
  9. Mysqli Error - Phpbb3
    (3)
    Ok, my forum (phpbb3) works but sometimes it displays this message CODE General Error SQL ERROR
    [ mysqli ] Can't connect to local MySQL server through socket
    '/var/lib/mysql/mysql.sock' (2) [2002] An sql error occurred while fetching
    this page. Please contact an administrator if this problem persists. This normally happens about
    once a week for about 2 minutes but it is really getting annoying. I installed phpbb3 fine, it
    didn't show any errors. But the main thing is that before this happens normally I can't
    connect....
  10. Parse Error: Syntax Error, Unexpected '<' On Line 29
    (11)
    ok when i try and access the page i want, iget the following error: Parse error: syntax error,
    unexpected ' however, my page looks like this: QUOTE // Connects to your Database
    $username = "evolved_creation"; $password = "mypasswordishere"; $hostname =
    "localhost"; $dbh = mysql_connect($hostname, $username, $password) or
    die("Unable to connect to MySQL"); $selected =
    mysql_select_db("evolved_clancreation",$dbh) or die("Could not connect to DB");
    mysql_close($dbh); //checks cookies to make sure they ar....
  11. Keep Getting Socket Error
    mail won't send. (3)
    When trying to send email, I keep getting a socket #10061 error. I use the Trap 17 smtp server,
    related to my own domain, which is mail.vlaanderen-flanders.org.uk. This seems to be happening
    regularly lately. Has anyone got any idea why this could be happening? Thanks for any support. ....
  12. Question About The Upgrade And The Mysql Usage ?
    question about the upgrade and the mysql usage? (3)
    thanks for the upgrade but i do have question about it QUOTE Domain name zam.trap17.com
    Hosting package Beta Subdomains 3 / 99 Parked Domains 0 / 9 Addon Domains 3 / 9 Mysql databases
    1 / 99 PostgreSQL Databases 0 / 99 Disk usage 14.25 / 500.00 MB MySQL Disk usage 0.82 MB
    Disk space available 485.75 MB Bandwidth (this month) 6.59 / 10240 MB Email accounts: 1 / 99
    Email forwarders: 1 / unlimited Autoresponders: 0 / unlimited Email filters 0 / unlimited
    Mailing lists: 0 / 99 FTP accounts 3 / 99 1-Bandwidth (this month) 6.59 / 10240 MB ....
  13. Email Creation Error
    Not receving emails, can't create new account (3)
    Hi, When I try to create an email account in the CPanel, I get this error QUOTE The e-mail
    account xxxxxxxx@ wildcatexotics.com with the login Sorry, you have exceeded the maximum allowed
    email accounts. and password xxxxxxxx with a quota of unlimited megabytes was successfully created.
    Can anybody help me out? And also My default email account is xxxxx@xxxx.com, but when I sent
    myself an email from another account, I didn't receive any. Thank you....
  14. Help: Internet Server Error
    (20)
    Hello! I decided to try YaBB as a forum now, just testing....and ... Well first my question is,
    this is in ADDONSCRIPTS, not FANTASTICO, whats the difference? Secondly, about my problem: I was
    in the YaBB admin panel, I got through the Forum Settings, got to Advanced settings, filled out the
    info, and pressed save. The 5000 times I have tried this, I get this: QUOTE Internal Server
    Error The server encountered an internal error or misconfiguration and was unable to complete your
    request. Please contact the server administrator, webmaster@sherwoodinfo.trap1....
  15. Error During Upgrade [resolved]
    Xisto tells me to contact Admin (3)
    While trying to upgrade my hosting account (I got an email I was approved), I encountered the
    following: When I clicked on the link in my confirmation email, I was taken to the Xisto menu page,
    where I selected "Upgrade your hosting account". I was then asked to enter my forum username and
    password, and was then taken to the upgrade page, but almost immediately got the message: "There
    were problems creating your account! Please Contact Administrator." Then, underneath, it said:
    "Debug Info", followed by two lines with nothing in between them, and below the two lines ....
  16. Help! Forum Error Please Reply
    (4)
    I'm very sorry for making so many topics, but just now I can't get to my forum because of
    this! QUOTE Fatal error: Cannot redeclare addlinenumbers() (previously declared in
    /home/omega/public_html/Sources/Subs.php:3671) in /home/omega/public_html/Sources/Subs.php on line
    3721 Help me please! (PS: sorry for being so dumb)....
  17. Suspended Account Error [resolved]
    (12)
    OK, my hosting account was upgraded so my hosting credits were set to 0. I went to stay with my
    sister for a couple of days and when I got back I had -4 hosting credits and my account was
    suspended. I've now got 6 hosting credits. My main site is working but all of the addon
    domains I added go to the Suspended Account Page. What do I do???....
  18. Installing Joomla And Shell Question
    i get error when i trayed to install joomla i get some (0)
    i get error when i trayed to install joomla about the default premising check this out i have set
    the file premising to 777 and to 755 and the same problem what to do where to fix this
    http://zam.trap17.com/earn-money/installation/index.php and in my hosting plans i did see shell
    access but i cant it at my cpanel why ??? ---UPDATE--- will i have been able to install joomla
    thanks but i still asking about the shell account double post merged ....
  19. Error
    (6)
    there is a problem with my subdoman it keeps coming up with blank everytime i click here
    http://www.street-warz.trap17.com/ it shudnt be coming up blank it should come up with a game login
    plz sort this....
  20. Question About Adding Message Board To Site
    Using mysql? (5)
    Hi, Super simple question from a simple laddie! Is a MySql database a messageboard? If not
    how can I set up a messageboard. Thanks. std split from another topic ....
  21. 'page Not Found' Error [resolved]
    (8)
    Heyhey, I've been approved this morning for a plan #2 hosting package, so I went to he link in
    my mail. I've filled in all the fields and also filled in my domain: www.ancient-armada.com The
    setup was pretty fast and without problems. After all was set up, I tried to log into the Cpanel by
    IP, but that didn't work... It gave a 'page not found' error. I know for my domain it
    can take up to a few days before it works, but with the IP, I should be able to log into Cpanel,
    right? Thanks in advance....
  22. Error Using Fantastico!
    (4)
    Well I've just registered a free hosting account today and first I had a problem logging into my
    cPanel but it's okay now. And now after I logged into my cPanel, when I try to use fantastico I
    get this error: QUOTE Not Found The server was not able to find the document
    (./frontend/rvblue/fantastico/index.php) you requested. Please check the url and try again. You
    might also want to report this error to your webhost. cpaneld/11.2.2 Server at
    www.thedebate.trap17.com so what's the problem? and how can I fix it?....
  23. Making Custom Error Pages With Cpanel
    Not working properly (4)
    I set up the custom error pages using CPanel, but they aren't working properly. I get the
    standard error code. CODE The requested URL was not found on this server. Additionally, a 404
    Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    Plust that little bit on the end. Am I doing something wrong or is it something that needs to be
    handled by an admin?....
  24. Error Trying To Edit File Using Cpanel Filemanager
    Can't save any changes (8)
    Okay, I am having trouble saving changes to a .css file using the cpanel filemanager. Basically it
    worked for me a couple of times (trying to edit "compiled.css") but now it just throws this error at
    me every time I click save!! I cannot delete, move, rename or edit the file at all using an
    ftp manager or even the cpanel. I have been forced to take my site offline until I have access to
    update the css... Please help! QUOTE open compiled.css failed: Permission denied at
    cpanel.pl line 444 Carp::croak('open compiled.css failed: Permission denied....
  25. Error In Credits [resolved]
    (0)
    well after about 80% of posting at the gfx forums i nothest something was wrong about it,i posted
    there about 4 times and just got 1 post,but it doesn't say no post counts,so i wonder why i need
    more than 1 post to get a post count there,?? can some1 explain plz NEVERMIND DELETE THIS POST I
    MISSED READ AGAIN CAUSE THIS DOENS"T SHOW ON THE MAIN PAGE< PLZ CHANGE THAT SO ITS MORE VISIBLE....
  26. Error Code In Subscriptions Page
    problems subscribing to topics (5)
    I'm seeing some weird warning message show up at the top of my page when I go into "my
    controls," then load my topic subscriptions page. At the top of the page, the following code appears
    several times: IPB WARNING in_array() : Wrong datatype for second argument (Line: 2711 of
    /sources/action_public/usercp.php) I'm guessing maybe that has something to do with the fact
    I'm having problems subscribing to my topics and posts? Thanks in advance for your help.....
  27. Is It Possible To Access The Mysql Remotely?
    (10)
    I like to experiment with a lot of things and I was thinking of making a sort of instant messenger
    in Python, but I want to let people have actual accounts so I need to be able to access the mySQL
    remotely. If that's not possible, are we allowed to run Python scripts on the server?....
  28. How To Crate Mysql Database?
    urgent help (7)
    Hi everyone!
    I'm trying to make in my site a page system that allows me to create users
    account (with a foto for every user)...
    I'm doing that in PHP, I learned all I have to
    know about PHP and MY SQL. I know how to make new array and querries in the data base, only 1 think
    is messing: ....
  29. Installing Apache, Mysql, Phpmyadmin Locally
    Solving the "php_mbstring.dll missing" (5)
    Since Trap17's CP provide the individual site's owner with goodies like MySql and
    PhpMyAdmin, chances are some will want to make use of them. Well, it's fine enough to get that
    on one's host (Gee! Thanks a lot, Trap17...) Knowing how the usual geek react, it might be
    expected that most people considering to make use of a database on their site will want to do most
    of the tedious job of developing and testing on their own local system before sending the wrapped-up
    result on their domain/subdomain. This involves four basic steps (sorry for the compuwi....
  30. 403 Forbidden Error When Accessing My Site
    (10)
    umm this is a problem that i have been looking in other topics to try to fix but i can't seem to
    find a answer to what i lookin for. I got my site workin again the other day ok and so i went on to
    see it (so i can make more changes) and when i got there i got this QUOTE Forbidden You
    don't have permission to access / on this server. Additionally, a 403 Forbidden error was
    encountered while trying to use an ErrorDocument to handle the request. Apache/1.3.33 Server at
    www.clansga.trap17.com Port 80 now i looked at everything and i can't seem to find t....

    1. Looking for mysql, problem, fatal, error, instantiate, existent, class, sql, db

Searching Video's for mysql, problem, fatal, error, instantiate, existent, class, sql, db
advertisement



Mysql Problem - Fatal error: Cannot instantiate non-existent class: sql_db



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE