Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    286
    Plugin Contributions
    0

    Default Database error on home page!

    Domain: www.kings-kreations.com

    When I type in my domain name, this is the error message I get:

    Warning: mysql_connect(): Can't connect to local MySQL server through socket '/usr/local/mysql-5.0/data/mysql.sock' (2) in /home/content/a/j/k/ajking5464/html/core/class.php on line 16
    MySQL error!

    If I type in www.kings-kreations.com/index.html, the splash page comes up just like it should.

    Can anyone tell me why I'm getting a database error message on my home page? That shouldn't have any connection to the database, so I'm really confused!!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Database error on home page!

    Quote Originally Posted by gizmo_girl View Post
    Warning: mysql_connect(): Can't connect to local MySQL server through socket '/usr/local/mysql-5.0/data/mysql.sock' (2) in /home/content/a/j/k/ajking5464/html/core/class.php on line 16
    MySQL error!
    That message has nothing to do with Zen Cart. (Zen Cart doesn't have a /html/core/class.php file)

    I suggest you talk to your hosting company.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    286
    Plugin Contributions
    0

    Default Re: Database error on home page!

    I will call again and hope I can get someone who can/will help me this time. Thanks!

  4. #4
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    286
    Plugin Contributions
    0

    Default Re: Database error on home page!

    I've talked to 3 people now and they're all blaming the problem on Zen Cart. :-/ No idea where to go from here. The file appears to be jibberish...a little bit of text at the beginning, then lines and lines of foreign characters, etc.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Database error on home page!

    Quote Originally Posted by gizmo_girl View Post
    Warning: mysql_connect(): Can't connect to local MySQL server through socket '/usr/local/mysql-5.0/data/mysql.sock' (2) in /home/content/a/j/k/ajking5464/html/core/class.php on line 16
    Well ... since the error is occurring when a script file runs that doesn't even exist as part of Zen Cart, I don't know how it makes any sense that the message would have anything to do with Zen Cart.

    Perhaps whoever is claiming it's got to be Zen Cart could explain exactly how they've come to such an insane conclusion?

    Maybe you should figure out what files exist in that "/html/core/" folder, and what THEY are there for?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Database error on home page!

    And ... if it's GoDaddy support you're using, well ... you might look up their track record and see that they're all programmed to give you canned responses in order to get you off the phone. There might be 1 person that actually takes the matter seriously ... but they're about 5 levels up the chain. Good luck.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    286
    Plugin Contributions
    0

    Default Re: Database error on home page!

    Ugh...well, I have no idea WHY they think Zen is the problem, I tried to explain that the error isn't even coming from a Zen folder. It *is* GoDaddy...and I'm starting to regret it. However, at this point I just need to get the site operational. It's been down for 3 weeks now, thanks to Jumpline just pulling the plug on me without any kind of notification (apparently I was over my alloted disc space). Anyway, I don't know enough about how all this works to figure out the files. The very first part of that file talks about Zend....there's about 1 1/2 lines of code, then the rest looks like it's in foreign characters/jibberish. No clue what to do with it. :-/

  8. #8
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Database error on home page!

    Zend is entirely different from Zen Cart. They are completely unrelated.

    The file you're referring to is likely encrypted by the Zend Guard tools used by some programmers, to prevent people from reverse-engineering their code or seeing how things actually work behind-the-scenes. Zen Cart doesn't encrypt their code because they have nothing to hide. Besides, encrypting code flies in the face of the Open Source philosophy.

    If you're getting errors from other software on your site, you need to figure out what that other software is, and fix the problems there. Maybe the database connection settings for that program are wrong for the new server you've moved to? or maybe the software wasn't moved to the new server properly? or maybe your new host uses different approaches for connecting to the database, which your new host will have to help you figure out in order to change the configuration.

    Again, since you're dealing with software other than Zen Cart, it's rather tough to find support for that software here on the Zen Cart support site ...
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Feb 2007
    Posts
    153
    Plugin Contributions
    0

    Default Re: Database error on home page!

    Hi gizmo_girl ... did you get this fixed ? When I click on your splash screen, the home page comes up fine, as well as the products I clicked on ...

  10. #10
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Database error on home page!

    There was never a problem with the splash screen, it's www.kings-kreations.com that had, and still has, a problem.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Error! Unable to determine the page link! in home page
    By mipavluk in forum General Questions
    Replies: 2
    Last Post: 2 Jan 2011, 12:37 AM
  2. 500 Error - FastCGI error message after database installation page.
    By hungoveragain in forum Installing on a Windows Server
    Replies: 8
    Last Post: 24 Sep 2010, 03:37 PM
  3. Replies: 2
    Last Post: 12 Oct 2009, 11:51 PM
  4. Home Page Error
    By actorxfactor in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 31 Aug 2007, 03:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg