Annonce

  •  » Installation
  •  » [Résolu] maj 2.2.5 plantée en prod

#1 2011-09-03 16:41:31

al.piwigo
Membre
Nancy
2011-08-11
35

[Résolu] maj 2.2.5 plantée en prod

bonjour
j'ai réussi sans souci la maj en test, en recopiant les nouveaux fichiers depuis 2.2.x_to_2.2.5.zip vers mon installation.
la même opération sur le site de production l'a planté.
j'étais en 2.2.4 sur les deux sites ,installation sur serveur local avec repertoires partages

j'obtiens le message d'erreur suivant à l'accueil du site, que faire ?? sans sauvegarde bien sur :((

CodeMirror 2: C-like mode
/* C demo code */ #include <zmq.h> #include <pthread.h> #include <semaphore.h> #include <time.h> #include <stdio.h> #include <fcntl.h> #include <malloc.h> typedef struct { void* arg_socket; zmq_msg_t* arg_msg; char* arg_string; unsigned long arg_len; int arg_int, arg_command; int signal_fd; int pad; void* context; sem_t sem; } acl_zmq_context; #define p(X) (context->arg_##X) void* zmq_thread(void* context_pointer) { acl_zmq_context* context = (acl_zmq_context*)context_pointer; char ok = 'K', err = 'X'; int res; while (1) { while ((res = sem_wait(&context->sem)) == EINTR); if (res) {write(context->signal_fd, &err, 1); goto cleanup;} switch(p(command)) { case 0: goto cleanup; case 1: p(socket) = zmq_socket(context->context, p(int)); break; case 2: p(int) = zmq_close(p(socket)); break; case 3: p(int) = zmq_bind(p(socket), p(string)); break; case 4: p(int) = zmq_connect(p(socket), p(string)); break; case 5: p(int) = zmq_getsockopt(p(socket), p(int), (void*)p(string), &p(len)); break; case 6: p(int) = zmq_setsockopt(p(socket), p(int), (void*)p(string), p(len)); break; case 7: p(int) = zmq_send(p(socket), p(msg), p(int)); break; case 8: p(int) = zmq_recv(p(socket), p(msg), p(int)); break; case 9: p(int) = zmq_poll(p(socket), p(int), p(len)); break; } p(command) = errno; write(context->signal_fd, &ok, 1); } cleanup: close(context->signal_fd); free(context_pointer); return 0; } void* zmq_thread_init(void* zmq_context, int signal_fd) { acl_zmq_context* context = malloc(sizeof(acl_zmq_context)); pthread_t thread; context->context = zmq_context; context->signal_fd = signal_fd; sem_init(&context->sem, 1, 0); pthread_create(&thread, 0, &zmq_thread, context); pthread_detach(thread); return context; }

Simple mode that tries to handle C-like languages as well as it can. Takes two configuration parameters: keywords, an object whose property names are the keywords in the language, and useCPP, which determines whether C preprocessor directives are recognized.

MIME types defined: text/x-csrc (C code), text/x-c++src (C++ code), text/x-java (Java code).


un grand merci d'avance pour vos réponses éclairées
Philippe

Hors ligne

#2 2011-09-03 17:29:01

plg
Équipe Piwigo
Nantes, France, Europe
2002-04-05
12644

Re: [Résolu] maj 2.2.5 plantée en prod

très bizarre !

tu peux nous montrer la liste des fichiers à la racine de ton installation Piwigo ?


Les historiens ont établi que Pierrick était le premier utilisateur connu de Piwigo.

Hors ligne

#3 2011-09-04 08:42:49

al.piwigo
Membre
Nancy
2011-08-11
35

Re: [Résolu] maj 2.2.5 plantée en prod

bonjour,

voici la liste des fichiers :

Code:

 Répertoire de w:\photos
18/01/2011  01:02             7 515 search_rules.php
18/01/2011  01:02             3 266 popuphelp.php
18/01/2011  01:02             3 791 notification.php
18/01/2011  01:02             6 149 tags.php
18/01/2011  01:02             2 446 category.php
18/01/2011  01:02             3 168 random.php
18/01/2011  01:02             5 665 action.php
18/01/2011  01:02             2 723 about.php
18/01/2011  01:02             3 856 register.php
18/01/2011  01:02             4 082 nbm.php
18/01/2011  01:02             6 698 feed.php
18/01/2011  01:02             4 616 upgrade_feed.php
18/01/2011  01:02             7 046 search.php
18/01/2011  01:02             2 717 qsearch.php
11/02/2011  10:54             6 400 password.php
04/03/2011  12:35            15 086 install.php
10/03/2011  11:50            13 360 upgrade.php
09/08/2011  07:53    <REP>          admin
09/08/2011  07:54    <REP>          doc
09/08/2011  07:54    <REP>          install
09/08/2011  07:54    <REP>          include
09/08/2011  07:54    <REP>          local
09/08/2011  07:54    <REP>          template-extension
15/08/2011  11:48    <REP>          themes
18/08/2011  23:25    <REP>          plugins
18/08/2011  23:25    <REP>          _data
27/08/2011  10:00    <REP>          ..
27/08/2011  11:20    <REP>          upload
31/08/2011  16:40    <REP>          galleries
31/08/2011  23:26               452 help_misc.html
31/08/2011  23:26            35 625 functions_user.inc.php
31/08/2011  23:26             4 302 photos_add_ftp.html
31/08/2011  23:26            22 905 functions_upload.inc.php
31/08/2011  23:26            25 471 jquery.tokeninput.js
31/08/2011  23:26            26 011 site_update.php
31/08/2011  23:26            10 344 picture.tpl
31/08/2011  23:26               331 diff.js
31/08/2011  23:26             2 836 help_permissions.html
31/08/2011  23:26            24 668 theme.css
31/08/2011  23:26               311 tabsheet.tpl
31/08/2011  23:26            17 520 ws.php
31/08/2011  23:26             1 862 overlay.js
31/08/2011  23:26            19 644 batch_manager_global.php
31/08/2011  23:26             5 064 cat_list.tpl
31/08/2011  23:26             4 002 tpl.inc.php
31/08/2011  23:26             8 141 extend_for_templates.php
31/08/2011  23:26             2 166 register.tpl
31/08/2011  23:26            19 462 common.lang.php
31/08/2011  23:26             6 969 cat_modify.tpl
31/08/2011  23:26             2 257 htmlmixed.js
31/08/2011  23:26            21 412 batch_manager_global.tpl
31/08/2011  23:26             1 121 codemirror.css
31/08/2011  23:26            10 699 profile.php
31/08/2011  23:26               517 locfiledit.css
31/08/2011  23:26            10 831 batch_manager.php
31/08/2011  23:26             1 046 cat_options.html
31/08/2011  23:26               633 permalinks.html
31/08/2011  23:26             1 349 lang.inc.php
31/08/2011  23:26            10 719 category_cats.inc.php
31/08/2011  23:26             2 061 main.inc.php
31/08/2011  23:26            18 589 functions_url.inc.php
31/08/2011  23:26               483 notification_by_mail.html
31/08/2011  23:26             5 489 batch_manager_unit.tpl
31/08/2011  23:26             4 023 identification.php
31/08/2011  23:26             1 151 search.html
31/08/2011  23:26             7 886 functions_metadata.php
31/08/2011  23:26            78 381 codemirror.js
31/08/2011  23:26             2 928 colorbox-controls.png
31/08/2011  23:26             3 341 page_header.php
31/08/2011  23:26               556 synchronize.html
31/08/2011  23:26             3 722 css.js
31/08/2011  23:26               965 delete.png
31/08/2011  23:26               974 el_GR.jpg
31/08/2011  23:26             5 723 plugins_list.php
31/08/2011  23:26                81 obsolete_extensions.list
31/08/2011  23:26               599 picture_content.tpl
31/08/2011  23:26             4 889 constants.php
31/08/2011  23:26             3 427 php.js
31/08/2011  23:26             6 183 clike.js
31/08/2011  23:26             1 158 af_ZA.jpg
31/08/2011  23:26            69 959 ws_functions.inc.php
31/08/2011  23:26               593 cat_move.html
31/08/2011  23:26               222 xml.css
31/08/2011  23:26               267 themeconf.inc.php
31/08/2011  23:26            28 456 picture.php
31/08/2011  23:26             8 652 translation_validated.inc.php
31/08/2011  23:26            19 708 functions_search.inc.php
31/08/2011  23:26               516 plug.inc.php
31/08/2011  23:26             5 257 index.tpl
31/08/2011  23:26            20 214 plugins.class.php
31/08/2011  23:26            15 571 functions_category.inc.php
31/08/2011  23:26               286 css.css
31/08/2011  23:26             4 091 upgrade.lang.php
31/08/2011  23:26             3 497 maintenance.html
31/08/2011  23:26             7 586 picture_modify.tpl
31/08/2011  23:26               665 stex.css
31/08/2011  23:26             1 261 user_list.html
31/08/2011  23:26             5 257 cat_modify.html
31/08/2011  23:26             3 573 plugins_list.tpl
31/08/2011  23:26             2 225 jquery.colorbox.css
31/08/2011  23:26             9 284 jquery.colorbox.min.js
31/08/2011  23:26             9 611 element_set_ranks.php
31/08/2011  23:26               286 obsolete.list
31/08/2011  23:26               581 help_groups.html
31/08/2011  23:26            11 211 functions_comment.inc.php
31/08/2011  23:26            12 303 javascript.js
31/08/2011  23:26             3 066 index.html
31/08/2011  23:26             9 427 colorbox-loading.gif
31/08/2011  23:26             7 568 haskell.js
31/08/2011  23:26             7 245 configuration.html
31/08/2011  23:26               589 cat_perm.html
31/08/2011  23:26            13 640 picture_modify.php
31/08/2011  23:26               177 colorbox.inc.tpl
31/08/2011  23:26               209 clike.css
31/08/2011  23:26            41 326 template.class.php
31/08/2011  23:26               192 javascript.css
31/08/2011  23:26             1 481 help_add_photos.html
31/08/2011  23:26            52 824 functions.php
31/08/2011  23:26             1 852 thumbnail.html
31/08/2011  23:26             2 888 user.inc.php
31/08/2011  23:26             1 794 maintain.inc.php
31/08/2011  23:26             2 638 css.inc.php
31/08/2011  23:26            10 039 cat_list.php
31/08/2011  23:26             8 054 common.inc.php
31/08/2011  23:26            56 707 create_listing_file.php
31/08/2011  23:26                23 iso.txt
31/08/2011  23:26                31 description.txt
31/08/2011  23:26            31 825 config_default.inc.php
31/08/2011  23:26               337 about.html
31/08/2011  23:26            51 069 admin.lang.php
31/08/2011  23:26             7 031 install.lang.php
31/08/2011  23:26            21 466 user_list.php
31/08/2011  23:26               757 help_virtual_links.html
31/08/2011  23:26             5 736 extend_for_templates.html
31/08/2011  23:26               779 group_list.html
31/08/2011  23:26             2 172 plugin.lang.php
31/08/2011  23:26            42 110 functions.inc.php
31/08/2011  23:26               515 haskell.css
31/08/2011  23:26             9 218 functions_upgrade.php
31/08/2011  23:26             6 118 xml.js
31/08/2011  23:26             2 569 show_default.php
31/08/2011  23:26                96 diff.css
31/08/2011  23:26             7 209 picture_comment.inc.php
31/08/2011  23:26             9 521 admin.php
31/08/2011  23:26             1 118 bg_BG.jpg
31/08/2011  23:26             8 861 batch_manager_unit.php
31/08/2011  23:26             2 088 history.html
31/08/2011  23:26            13 350 cat_modify.php
31/08/2011  23:26               575 localconf.inc.php
31/08/2011  23:26            15 120 functions_mysql.inc.php
31/08/2011  23:26             1 893 tags.tpl
31/08/2011  23:26             4 381 admin.tpl
31/08/2011  23:26             5 657 picture_nav_buttons.tpl
31/08/2011  23:26             1 765 index.php
31/08/2011  23:26             4 172 stex.js
31/08/2011  23:26             1 896 show_default.tpl
31/08/2011  23:26            15 922 functions_pgsql.inc.php
31/08/2011  23:26            15 603 comments.php
31/08/2011  23:26             3 626 94-database.php
31/08/2011  23:26               680 warning.png
31/08/2011  23:26               782 synchronize.png
31/08/2011  23:26             1 858 site_manager.html
03/09/2011  15:12    <REP>          tools
03/09/2011  15:48    <REP>          language
03/09/2011  16:10    <REP>          .
             150 fichier(s)        1 310 640 octets

cordialement,
Philippe

Dernière modification par al.piwigo (2011-09-04 08:45:39)

Hors ligne

#4 2011-09-04 12:00:05

plg
Équipe Piwigo
Nantes, France, Europe
2002-04-05
12644

Re: [Résolu] maj 2.2.5 plantée en prod

et pas de index.php ?


Les historiens ont établi que Pierrick était le premier utilisateur connu de Piwigo.

Hors ligne

#5 2011-09-04 14:04:08

al.piwigo
Membre
Nancy
2011-08-11
35

Re: [Résolu] maj 2.2.5 plantée en prod

si si, il est là  dans la liste (triée par date)

Code:

31/08/2011  23:26             1 765 index.php

sinon sur le site de test il n'a pas la même date:

Code:

18/01/2011  02:02             8 990 index.php

j'ai du mal à comprendre comment s'est faite ma mise à jour, d'autant plus que index.php n'est pas inclus dans le zip d'update, donc mes deux versions devraient être identiques....
je crois que je vais finie par tout réinstaller from scratch avec une 2.2.5, ça ira plus vite que de debugger, vu que normalement la db n'a pas évolué, ça devrait aller

Philippe

Hors ligne

#6 2011-09-04 16:05:15

plg
Équipe Piwigo
Nantes, France, Europe
2002-04-05
12644

Re: [Résolu] maj 2.2.5 plantée en prod

C'est n'importe quoi tous ces fichiers. On dirait que tous les fichiers ont été mis à la racine, sans respecter les répertoires et sous-répertoires.


Les historiens ont établi que Pierrick était le premier utilisateur connu de Piwigo.

Hors ligne

#7 2011-09-04 22:48:08

al.piwigo
Membre
Nancy
2011-08-11
35

Re: [Résolu] maj 2.2.5 plantée en prod

j'ai refait une installation propre
tout fonctionne à nouveau
je pense avoir eu un souci avec la gestion des sous répertoires dans l'opération unzip
merci encore.

Hors ligne

  •  » Installation
  •  » [Résolu] maj 2.2.5 plantée en prod

Pied de page des forums

Propulsé par FluxBB

github twitter newsletter Faire un don Piwigo.org © 2002-2024 · Contact