Forums / General Questions / all the sudden queries give errors

all the sudden queries give errors

Locked

Views: 733

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
24 Feb 2007, 1:46 AM
#1
mattenderle avatar

mattenderle

New Zenner

Join Date:
Feb 2007
Posts:
3
Plugin Contributions:
0

all the sudden queries give errors

a client of mine had a guy install zencart for them.. everything was setup but the guy could not integrate the theme with their new design so they pulled me into the scenario..

anyways - he got a little mad so i changed the password to prevent any damage (ftp, admin and protected the phpmyadmin)

now all of the sudden the store does not work.

Error performing query ' SELECT book_authors_info FROM zen_book_authors_info WHERE book_authors_id = ' : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

I called the webserver support and they said they did not do any upgrades for several months. PHP 4 MySQL4

That is my first question is this common?

Also - I am not that familiar with zencart does it use MD5 hashes for db storage? I might need to recreate a hash and store it into the db for admin access (apparently the user did a password reset however the webserver doesnt have a mailserver to send the email out on so nothing was emailed to her). What are your thoughts about this?

Thanks in advance,
Matt

24 Feb 2007, 2:21 AM
#2
birdoasis avatar

birdoasis

Inactive

Join Date:
Jun 2005
Location:
Cheney WA
Posts:
1,123
Plugin Contributions:
0

Re: all the sudden queries give errors

Go into your phpadmin, and select your database.
Then scroll down and click the "check all" link.
The choose optimize from the dropdown menu. and it should optimize your db. See if that works.

John Patrick
A Zen Cart Advocate!

24 Feb 2007, 5:49 AM
#3
mattenderle avatar

mattenderle

New Zenner

Join Date:
Feb 2007
Posts:
3
Plugin Contributions:
0

Re: all the sudden queries give errors

thanks for the advice!

unfortunately that had no affect.