Execution of a query to the database failed
#1
Posted 26 December 2007 - 11:18 PM
I have two links w this error:
« Error » Etomite encountered the following error while attempting to parse the requested resource:
« Execution of a query to the database failed »
SQL: SELECT id, pagetitle, description, content, createdon, createdby FROM aerodyn_website.aero_site_content WHERE aerodyn_website.aero_site_content.parent=33 AND aerodyn_website.aero_site_content.showinmenu=1 ORDER BY menuindex DESC LIMIT menuindex;
Also, I receive these returns when executing the patch script:
OK - aero_site_content.id index doesn't exist. No action required.
Failure: Query failed: Table 'aerodyn_website.aero_log_user_agents' doesn't exist
Failure: Query failed: Table 'aerodyn_website.aero_log_visitors' doesn't exist
Any help would be very much appreciated.
#2
Posted 27 December 2007 - 12:36 AM
Hello. I've read a previous topic with same name but the solutions suggested didn't seem to help with my situation. I think I've been pretty thorough w the install documentation. Please provide me with any suggestions.
I have two links w this error:
« Error » Etomite encountered the following error while attempting to parse the requested resource:
« Execution of a query to the database failed »
SQL: SELECT id, pagetitle, description, content, createdon, createdby FROM aerodyn_website.aero_site_content WHERE aerodyn_website.aero_site_content.parent=33 AND aerodyn_website.aero_site_content.showinmenu=1 ORDER BY menuindex DESC LIMIT menuindex;
Also, I receive these returns when executing the patch script:
OK - aero_site_content.id index doesn't exist. No action required.
Failure: Query failed: Table 'aerodyn_website.aero_log_user_agents' doesn't exist
Failure: Query failed: Table 'aerodyn_website.aero_log_visitors' doesn't exist
Any help would be very much appreciated.
Is this a new install or an upgrade? I ran into a similar issue when I upgraded from a old version of Etomite because my {prefix}site_content table didn't have the showinmenu field. Do you get this error when you try and access any page, or just two specific pages?
What error do you receive when you run the query displayed in your error message in your MySQL client? That error message can give you a clue as to why the query is failing (and how to fix it).
Also, I would check to see that you have all the appropriate Etomite tables. Consult the install/sql/etomite.sql file to see what tables should be present, and what fields each table should have. If you are missing tables, you can grab the appropriate "CREATE TABLE ..." statements from the install/sql/etomite.sql file and execute them in your MySQL client. If this is a new install, I wouldn't recommend doing this as you would probably be better off doing a reinstall if you DB is that mangled.
Skyler
#3
Posted 27 December 2007 - 01:51 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users










