Bonjour a tous, j'ai un petit soucis sous php web gallery.
tout fonctionnais bienjusqu'a present,et depuis 2 jours, j'ai ce message:
SELECT cat_id
FROM phpwebgallery_user_access
WHERE user_id =
;
[mysql error 1064] 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 3
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /mnt/137/sdb/d/a/***/gallerie/include/functions.inc.php on line 884
SELECT cat_id
FROM phpwebgallery_user_group AS ug INNER JOIN phpwebgallery_group_access AS ga
ON ug.group_id = ga.group_id
WHERE ug.user_id =
;
[mysql error 1064] 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 4
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /mnt/137/sdb/d/a/***/gallerie/include/functions.inc.php on line 884
DELETE FROM phpwebgallery_user_cache_categories
WHERE user_id =
;
[mysql error 1064] 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 2
DELETE FROM phpwebgallery_user_cache
WHERE user_id =
;
[mysql error 1064] 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 2
INSERT INTO phpwebgallery_user_cache
(user_id, need_update, forbidden_categories, nb_total_images)
VALUES
(,'false','1,2,3,4,5,6,7,8,9,10,11,12,13,14,15',0)
;
[mysql error 1064] 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 ''false','1,2,3,4,5,6,7,8,9,10,11,12,13,14,15',0)' at line 4
Warning: Cannot modify header information - headers already sent by (output started at /mnt/137/sdb/d/a/***/gallerie/include/functions.inc.php:867) in /mnt/137/sdb/d/a/eric.alexandretiret/gallerie/include/page_header.php on line 102
je ne sai spas coment resoudre. Je precise que quand je me log en tant qu'admini ou invité, les photos s'affichent normalement.
Merci a vous
Hors ligne
Il ne faut pas supprimer son user guest! C'est pas bien!
Hors ligne
La solution est ici:
http://forum.phpwebgallery.net/viewtopi … 358#p61358
Dans les prochaines versions, il ne sera plus possible de supprimer le user guest.
Hors ligne
Chez free => phpMyAdmin
Et tu suis la route que rub t'as donné.
8-)
Hors ligne