after many try and trace code, I get 3 error
An unexpected error occured. Please try again later.
Bad SQL Query: CREATE TEMPORARY TABLE tab_448866 TYPE = HEAP
SELECT i.image_id, i.cat_id
FROM 4images_images i
LEFT JOIN 4images_categories c ON c.cat_id = i.cat_id
WHERE i.image_active = 1 AND c.auth_viewcat = 0 AND i.cat_id NOT IN (0) AND i.image_id <> 2037
ORDER BY RAND()
LIMIT 1
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 'TYPE = HEAP
SELECT i.image_id, i.cat_id
FROM 4im' at line 1
An unexpected error occured. Please try again later.
Bad SQL Query: SELECT t.image_id, t.cat_id, i.user_id, i.image_name, i.image_media_file, i.image_thumb_file
FROM tab_448866 AS t
LEFT JOIN 4images_images AS i ON i.image_id=t.image_id
Table 'ramila_wallward.tab_448866' doesn't exist
An unexpected error occured. Please try again later.
Bad SQL Query: DROP TABLE tab_448866
Unknown table 'tab_448866'