Warning: [mysql error 145] Table './structurotheque/piwigo_images' is marked as crashed and should be repaired
SELECT i.latitude, i.longitude,
IFNULL(i.name, '') AS `name`,
IF(i.representative_ext IS NULL,
CONCAT(SUBSTRING_INDEX(TRIM(LEADING '.' FROM i.path), '.', 1 ), '-sq.', SUBSTRING_INDEX(TRIM(LEADING '.' FROM i.path), '.', -1 )),
TRIM(LEADING '.' FROM
REPLACE(i.path, TRIM(TRAILING '.' FROM SUBSTRING_INDEX(i.path, '/', -1 )),
CONCAT('pwg_representative/',
CONCAT(
TRIM(TRAILING '.' FROM SUBSTRING_INDEX( SUBSTRING_INDEX(i.path, '/', -1 ) , '.', 1 )),
CONCAT('-sq.', i.representative_ext)
)
)
)
)
) AS `pathurl`,
TRIM(TRAILING '/' FROM CONCAT( i.id, '/category/', IFNULL(ic.category_id, '') ) ) AS `imgurl`,
IFNULL(i.comment, '') AS `comment`,
IFNULL(i.author, '') AS `author`,
i.width
FROM piwigo_images AS i
in /data/www/users/webmaster.structurotheque/structurotheque/include/dblayer/functions_mysqli.inc.php on line 845
Fatal error: Call to a member function fetch_assoc() on boolean in /data/www/users/webmaster.structurotheque/structurotheque/include/dblayer/functions_mysqli.inc.php on line 911