View Full Version : database error

11-29-2005, 05:05 PM

I uploaded backup copies of main_page.tpl and index.php...and I get this error

1146 - Table 'database name.TABLE_PAGES' doesn't exist

select pd.pages_title, pd.pages_body, p.pages_id, p.pages_name, p.pages_image, p.pages_status, p.sort_order from TABLE_PAGES p, TABLE_PAGES_DESCRIPTION pd where p.pages_name = 'home' and p.pages_id = pd.pages_id and pd.language_id = '1'


I didnt touch database....

can someone help?

12-04-2005, 09:30 AM
ANYTIME you see UPPER_CASE with under scores between - means that a variable has not been loaded or was deleted/removed/missing. This might have been loaded in the DATABASE, or in a file (like the language files - OR IN THIS CASE in a listing of the table names....database_tables.php....

HOWEVER I think there is SOMETHING else you ADDED as TABLE_PAGES does not exist in osCMax......

Check what you have edited....