Bonjour
En version 1.7.3 je souhaitais mettre à jour ma gallerie vers la dernière version.
Après l'installation et l'activation du plugin Piwigo AutoUpgrade, j'ai l'erreur suivante lorsque je souhaite lancer la mise à jour
Fatal error: Call to undefined function get_language_filepath() in /mnt/web8/23/87/51957387/htdocs/ferroviaire/plugins/autoupdate/autoupdate.php on line 5
Si quelqu'un a une solution merci d'avance
Hors ligne
Au vu de l'erreur, je dirais que tu n'as pas mis la version compatible avec ta version ?
As tu bien téléchargé la bonne version du plugin pour la version 1.7.n
Hors ligne
En effet je m'étais bien tromper de fichier
J'ai réussi à passer en version 2.0.10
Mais mes tentatives de passer en V 2.1.6 sont jusqu'à présent un echec (voir ci-dessous)
------------------------------------------------------------------------------------------------------------
Warning: [mysql error 1146] Table 'DB491246.ferro_gallery_themes' doesn't exist
SELECT
ui.*,
uc.*,
t.name AS theme_name
FROM ferro_gallery_user_infos AS ui
LEFT JOIN ferro_gallery_user_cache AS uc ON ui.user_id = uc.user_id
LEFT JOIN ferro_gallery_themes AS t ON t.id = ui.theme
WHERE ui.user_id = 1
; in /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/dblayer/functions_mysql.inc.php on line 656
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/dblayer/functions_mysql.inc.php on line 155
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/functions_user.inc.php on line 330
Warning: Invalid argument supplied for foreach() in /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/functions_user.inc.php on line 332
Notice: Undefined index: id in /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/functions_user.inc.php on line 361
Notice: Undefined index: status in /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/functions_user.inc.php on line 361
Warning: [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
SELECT cat_id
FROM ferro_gallery_user_access
WHERE user_id =
; in /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/dblayer/functions_mysql.inc.php on line 656
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/dblayer/functions_mysql.inc.php on line 202
Warning: [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
SELECT cat_id
FROM ferro_gallery_user_group AS ug INNER JOIN ferro_gallery_group_access AS ga
ON ug.group_id = ga.group_id
WHERE ug.user_id =
; in /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/dblayer/functions_mysql.inc.php on line 656
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/dblayer/functions_mysql.inc.php on line 202
Notice: Undefined index: level in /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/functions_user.inc.php on line 369
Warning: [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
SELECT DISTINCT(id)
FROM ferro_gallery_images INNER JOIN ferro_gallery_image_category ON id=image_id
WHERE category_id NOT IN (266,478)
AND level> in /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/dblayer/functions_mysql.inc.php on line 656
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/dblayer/functions_mysql.inc.php on line 202
Notice: Undefined index: level in /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/functions_user.inc.php on line 689
Warning: [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 'WHERE c.id NOT IN (266,478)
GROUP BY c.id, c.global_rank' at line 8
SELECT c.id AS cat_id, global_rank,
MAX(date_available) AS date_last, COUNT(date_available) AS nb_images
FROM ferro_gallery_categories as c
LEFT JOIN ferro_gallery_image_category AS ic ON ic.category_id = c.id
LEFT JOIN ferro_gallery_images AS i
ON ic.image_id = i.id
AND i.level<=
WHERE c.id NOT IN (266,478)
GROUP BY c.id, c.global_rank in /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/dblayer/functions_mysql.inc.php on line 656
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/dblayer/functions_mysql.inc.php on line 155
Notice: Undefined index: status in /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/functions_user.inc.php on line 390
Notice: Undefined index: id in /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/functions_user.inc.php on line 417
Warning: [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 ferro_gallery_user_cache_categories
WHERE user_id = in /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/dblayer/functions_mysql.inc.php on line 656
Notice: Undefined index: id in /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/functions_user.inc.php on line 436
Warning: [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 ferro_gallery_user_cache
WHERE user_id = in /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/dblayer/functions_mysql.inc.php on line 656
Notice: Undefined index: id in /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/functions_user.inc.php on line 444
Warning: [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',1296934832,'266,478',4239,'NOT IN','0')' at line 5
INSERT INTO ferro_gallery_user_cache
(user_id, need_update, cache_update_time, forbidden_categories, nb_total_images,
image_access_type, image_access_list)
VALUES
(,'false',1296934832,'266,478',4239,'NOT IN','0') in /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/dblayer/functions_mysql.inc.php on line 656
Notice: Undefined index: nb_image_line in /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/functions_user.inc.php on line 246
Notice: Undefined index: nb_line_page in /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/functions_user.inc.php on line 246
Warning: [mysql error 1054] Unknown column 'theme' in 'field list'
UPDATE ferro_gallery_user_infos
SET theme = 'Sylvia'
WHERE user_id = '2' in /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/dblayer/functions_mysql.inc.php on line 656
Notice: Undefined index: language in /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/common.inc.php on line 129
Notice: Undefined index: language in /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/common.inc.php on line 133
Notice: Undefined index: adviser in /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/functions_user.inc.php on line 1329
Warning: Cannot modify header information - headers already sent by (output started at /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/dblayer/functions_mysql.inc.php:655) in /mnt/web8/23/87/51957387/htdocs/ferroviaire/include/functions_html.inc.php on line 483
Hors ligne
dans ta base de données est ce que la table theme existe
Est ce que tu as mis à jour le plugin autoupdate pour ta version de piwigo ?
Hors ligne
La table theme n'existe pas dans ma base
Quand au plugin autoupdate, après le pasage en V2.0.10 j'ai fait une désactivation/déinstallation/suppression puis je l'ai réinstallé (en automatique) version installée 2.1.e
Dernière modification par Fourapain60 (2011-02-06 10:20:07)
Hors ligne
Quelle est ta version de MySql ?
Hors ligne
version 5.0.91 pour le Mysql
Hors ligne
Est ce que tu as modifié des fichier de base' ?
Est ce que tu as des template extension ?
Hors ligne
Ma base date de sept 2007 elle a été transférée en décembre 2008 quand j'ai changé d'hébergeur.
Dans template-extension je n'ai que les exemples.
Hors ligne
Problème résolu,
installation d'une V2.1.6 vierge
copie de la galerie dans le nouveau répertoire
Récupération des données de l'ancienne base Mysql
Incorporation des données de l'ancienne base dans la base vierge
et le site http://ferrovaire.auzeau.fr fonctionne parfaitement et j'ai conservé toutes les infos de l'ancien site.
Hors ligne
Super si tout fonctionne :-)
Merci de passer le sujet en [résolu] lien dans le premier post
Hors ligne