sos bug ftp, albums... sos bug ftp, albums...
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

sos bug ftp, albums...

Started by nad13, August 29, 2005, 08:02:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nad13

Bonsoir,

J'ai un bug incomprehensible...j'ai crée un album pour une commande..(les italiens ont gagné la finale du championnat d'europe de soccer beach, c'est pour la presse...et la fifa....) J'ai  mis les photos en ligne via ftp cette apres midi sur 2 galeries differentes :

http://www.photomaltese.com/albums
(version 1.3.3)

et http://www.photomaltese.com/boutique/modules.php?name=coppermine
(version 1.2.2 pour phpnuke)

tout fonctionnait bien pendant 10 mn
puis on me telephone pour me dire que les photos n'apparaissent pas...

je vais sur les 2 galeries...une croix apparait a la place des images...

je vais sur le ftp de chaqu'une...le repertoire n'apparait pas dans ftp la config admin ????
je verifie via un logiciel , les repertoires sont bien en place...
j'envoi un nouveau repertoire , il ne ressort pas dans les nouveaux repertoires envoyés via ftp ??

je ne comprend rien...je ne peux supprimé l'album, il me dit " l'album n'a pas les autorisations" et je suis bien en 777...
qd on veut supprimé il reconnait le fichier du repertoire, qd on  fait ftp il ne ressort pas...
le pire c'est que le probleme se pose sur les 2 galeries avec des bases de données differentes ???

sos...je comprend pas ce qu'il peut se passer....

et le president de la fifa attend....desesperé comme moi !!!!!!!!!!!!!!!!

merci de votre aide...

nadine

nad13

je suis desesperée car je parcours le forum je regarde dans tous les sens..le repertoire edit est bien la...tout est a 777... les galeries fonctionnent depuis un moment...g2x est selectionnée dans la configuration...

j'ai activé le mode debug..voici le resultat
pour la galerie
http://www.photomaltese.com/albums

des tonnes de messages
Notice: Undefined index: album in /home/users/m/maltese13/www/photomaltese/albums/include/init.inc.php on line 332

Notice: Undefined index: album in /home/users/m/maltese13/www/photomaltese/albums/include/init.inc.php on line 332

Notice: Undefined index: album in /home/users/m/maltese13/www/photomaltese/albums/include/init.inc.php on line 332

Notice: Use of undefined constant currency - assumed 'currency' in /home/users/m/maltese13/www/photomaltese/albums/themes/hardwired/theme.php on line 660

Notice: Use of undefined constant currency_symbol - assumed 'currency_symbol' in /home/users/m/maltese13/www/photomaltese/albums/themes/hardwired/theme.php on line 669

Notice: Use of undefined constant currency_symbol - assumed 'currency_symbol' in /home/users/m/maltese13/www/photomaltese/albums/themes/hardwired/theme.php on line 670

Notice: Use of undefined constant currency_symbol - assumed 'currency_symbol' in /home/users/m/maltese13/www/photomaltese/albums/themes/hardwired/theme.php on line 671

Notice: Use of undefined constant currency_symbol - assumed 'currency_symbol' in /home/users/m/maltese13/www/photomaltese/albums/themes/hardwired/theme.php on line 672

Notice: Use of undefined constant currency_symbol - assumed 'currency_symbol' in /home/users/m/maltese13/www/photomaltese/albums/themes/hardwired/theme.php on line 673

Notice: Use of undefined constant currency_symbol - assumed 'currency_symbol' in /home/users/m/maltese13/www/photomaltese/albums/themes/hardwired/theme.php on line 674

Notice: Use of undefined constant currency_symbol - assumed 'currency_symbol' in /home/users/m/maltese13/www/photomaltese/albums/themes/hardwired/theme.php on line 675

Notice: Use of undefined constant currency_symbol - assumed 'currency_symbol' in /home/users/m/maltese13/www/photomaltese/albums/themes/hardwired/theme.php on line 676

Notice: Use of undefined constant currency_symbol - assumed 'currency_symbol' in /home/users/m/maltese13/www/photomaltese/albums/themes/hardwired/theme.php on line 677

Notice: Use of undefined constant currency_symbol - assumed 'currency_symbol' in /home/users/m/maltese13/www/photomaltese/albums/themes/hardwired/theme.php on line 678

Notice: Use of undefined constant currency_symbol - assumed 'currency_symbol' in /home/users/m/maltese13/www/photomaltese/albums/themes/hardwired/theme.php on line 679

Notice: Use of undefined constant currency_symbol - assumed 'currency_symbol' in /home/users/m/maltese13/www/photomaltese/albums/themes/hardwired/theme.php on line 680

Notice: Use of undefined constant currency_symbol - assumed 'currency_symbol' in /home/users/m/maltese13/www/photomaltese/albums/themes/hardwired/theme.php on line 681

Notice: Use of undefined constant currency_symbol - assumed 'currency_symbol' in /home/users/m/maltese13/www/photomaltese/albums/themes/hardwired/theme.php on line 682

Notice: Use of undefined constant currency_symbol - assumed 'currency_symbol' in /home/users/m/maltese13/www/photomaltese/albums/themes/hardwired/theme.php on line 683

Notice: Use of undefined constant currency_symbol - assumed 'currency_symbol' in /home/users/m/maltese13/www/photomaltese/albums/themes/hardwired/theme.php on line 684

Notice: Use of undefined constant currency_symbol - assumed 'currency_symbol' in /home/users/m/maltese13/www/photomaltese/albums/themes/hardwired/theme.php on line 686

Notice: Use of undefined constant currency_symbol - assumed 'currency_symbol' in /home/users/m/maltese13/www/photomaltese/albums/themes/hardwired/theme.php on line 687

Notice: Use of undefined constant currency_symbol - assumed 'currency_symbol' in /home/users/m/maltese13/www/photomaltese/albums/themes/hardwired/theme.php on line 688

Notice: Use of undefined constant currency_symbol - assumed 'currency_symbol' in /home/users/m/maltese13/www/photomaltese/albums/themes/hardwired/theme.php on line 689
USER:
------------------
Array
(
    [ID] => 78a0b8aa5489cc3697a4f7d5d8f4a432
    [am] => 1
    [liv] => Array
        (
            [0] => 506
            [1] => 514
            [2] => 402
            [3] => 260
            [4] => 271
        )

    [uid] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => maltese13
    [user_password] => ********
    [user_lastvisit] => 2005-08-29 19:18:02
    [user_regdate] => 2005-06-27 22:20:00
    [user_group_list] =>
    [user_email] =>
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content FROM cpg132_filetypes;
    [1] => SELECT * FROM cpg132_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '2a320484a86d94c347fbd698895c3985'
    [2] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg132_usergroups WHERE group_id in (1)
    [3] => SELECT group_name FROM  cpg132_usergroups WHERE group_id= 1
    [4] => DELETE FROM cpg132_banned WHERE expiry < 1125344171
    [5] => SELECT * FROM cpg132_banned WHERE ip_addr='212.195.154.32' OR ip_addr='212.195.154.32' OR user_id=1
    [6] => SELECT cid, name, description, thumb FROM cpg132_categories WHERE parent = ''  ORDER BY pos
    [7] => SELECT aid FROM cpg132_albums WHERE category = 3
    [8] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 3
    [9] => SELECT count(*) FROM cpg132_albums as a WHERE category = '3'
    [10] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg132_albums as a LEFT JOIN cpg132_pictures as p ON a.thumb=p.pid WHERE category=3 ORDER BY a.pos LIMIT 0,2
    [11] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg132_pictures WHERE aid IN (1, 6) AND approved = 'YES' GROUP BY aid
    [12] => SELECT cid, name, description, thumb FROM cpg132_categories WHERE parent = '3'  ORDER BY pos
    [13] => SELECT aid FROM cpg132_albums WHERE category = 4
    [14] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 4
    [15] => SELECT cid, name, description, thumb FROM cpg132_categories WHERE parent = '4'  ORDER BY pos
    [16] => SELECT aid FROM cpg132_albums WHERE category = 2
    [17] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 2
    [18] => SELECT aid FROM cpg132_albums WHERE category = 5
    [19] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category = 5
    [20] => SELECT aid FROM cpg132_albums as a WHERE category>=10000
    [21] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category >= 10000
    [22] => SELECT cid, name, description, thumb FROM cpg132_categories WHERE parent = '1'  ORDER BY pos
    [23] => SELECT aid FROM cpg132_albums as a WHERE category = '0'
    [24] => SELECT count(*) FROM cpg132_albums as a WHERE 1
    [25] => SELECT count(*) FROM cpg132_pictures as p LEFT JOIN cpg132_albums as a ON a.aid=p.aid WHERE 1
    [26] => SELECT count(*) FROM cpg132_comments as c LEFT JOIN cpg132_pictures as p ON c.pid=p.pid LEFT JOIN cpg132_albums as a ON a.aid=p.aid WHERE 1
    [27] => SELECT count(*) FROM cpg132_categories WHERE 1
    [28] => SELECT sum(hits) FROM cpg132_pictures as p LEFT JOIN cpg132_albums as a ON p.aid=a.aid WHERE 1
    [29] => SELECT count(*) FROM cpg132_albums as a WHERE category = '0'
    [30] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg132_albums as a LEFT JOIN cpg132_pictures as p ON a.thumb=p.pid WHERE category=0 ORDER BY a.pos LIMIT 0,1
    [31] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg132_pictures WHERE aid IN (8) AND approved = 'YES' GROUP BY aid
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.0 - OK
------------------
mySQL version: 4.1.10a-log
------------------
Coppermine version: 1.3.2
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
==========================
Module: mysql
------------------
Active Persistent Links 0
Active Links 1
Client API version 3.23.49
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/run/mysqld/mysqld.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | /tmp,/upload | /tmp,/upload
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | php_uname, putenv, getmyuid, getmypid, passthru, leak, listen, diskfreespace, tmpfile, link, ignore_user_abord, shell_exec, popen, dl, set_time_limit, exec, system, highlight_file, source, show_source, fpaththru, virtual, posix_ctermid, posix_getcwd, posix_getegid, posix_geteuid, posix_getgid, posix_getgrgid, posix_getgrnam, posix_getgroups, posix_getlogin, posix_getpgid, posix_getpgrp, posix_getpid, posix_getppid, posix_getpwnam, posix_getpwuid, posix_getrlimit, posix_getsid, posix_getuid, posix_isatty, posix_kill, posix_mkfifo, posix_setegid, posix_seteuid, posix_setgid, posix_setpgid, posix_setsid, posix_setuid, posix_times, posix_ttyname, posix_uname, proc_open, proc_close, proc_get_status, proc_nice, proc_terminate | php_uname, putenv, getmyuid, getmypid, passthru, leak, listen, diskfreespace, tmpfile, link, ignore_user_abord, shell_exec, popen, dl, set_time_limit, exec, system, highlight_file, source, show_source, fpaththru, virtual, posix_ctermid, posix_getcwd, posix_getegid, posix_geteuid, posix_getgid, posix_getgrgid, posix_getgrnam, posix_getgroups, posix_getlogin, posix_getpgid, posix_getpgrp, posix_getpid, posix_getppid, posix_getpwnam, posix_getpwuid, posix_getrlimit, posix_getsid, posix_getuid, posix_isatty, posix_kill, posix_mkfifo, posix_setegid, posix_seteuid, posix_setgid, posix_setpgid, posix_setsid, posix_setuid, posix_times, posix_ttyname, posix_uname, proc_open, proc_close, proc_get_status, proc_nice, proc_terminate
file_uploads | On | On
include_path | .:/home/temporaire/upload | .:/home/temporaire/upload
open_basedir | /home/users/m/maltese13/:/home/temporaire/upload | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
sendmail_path | /usr/sbin/sendmail -t -i  | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 20 | 20
max_input_time | 20 | 20
upload_max_filesize | 2M | 2M
post_max_size | 1M | 1M
==========================
Page generated in 0.574 seconds - 32 queries in 0.023 seconds - Album set :


j'enleve le mode debug car c'est affolant !!!!
que ce passe t'il ???
des messages s'affichent aussi concernant mon module oscommerce..l'hebergeur a supprimer le fichier tmp ...d'apres leur forum ...

sos

quant est il ?
merci beaucoup

nadine
http://www.photomaltese.com

Pascal YAP

Bonjour Nad13,
Quoteet le president de la fifa attend....desesperé comme moi !!!!!!!!!!!!!!!!
Si temporairement la Galerie ne fonctionne pas, expédiez les images par email !

Bref !
Lorsque votre page d'accueil se charge, il y a un message d'erreur celui-ci :
Warning: session_save_path(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s):
(/home/users/m/maltese13/:/home/temporaire/upload)
in /home/users/m/maltese13/www/photomaltese/boutique/modules/catalog/includes/functions/sessions.php on line 118

le dossier "temporaire" existe-t-il et possède-il les droits nécessaires ?
Que dit la ligne 118 dans votre fichier sessions.php ?

PYAP


nad13

merci beaucoup pyap,

j'etais en train de craquer completement....je decouvre sur le forum a 23h que l'hebergeur est en train de faire des maintenances en fait...
mon mail ne fonctionnait pas....

j'ai envoyé par hotmail 3 photos pour les journaux...à 17h dernier delai...
et je viens de faire une galerie sur photoshop via club internet...

les sites sont completement foirés.....pas serieux du tout de ne pas prevenir...
j'ai des messages dans tous les sens..ils disent que c'est les bases qui ne fonctionnent pas ???
demain tout devrait revenir..j'espere....car l'album n'apparait pas...

http://www.photomaltese.com/albums/thumbnails.php?album=8

merci de ton message

nadine

nad13

le bug provient d'une reunification des clusters...La galerie est de retour...mais je viens de creer un nouvel album et j'ai un probleme de chemin en dur..l'hebergeur a modifié le chemin jusqu'a la racine...user 2 au lieu de user...
j'ai donc le nouvel album qui ne fonctionne pas comme il faudrait...plus de paypal, plus de theme...etc...alors que les anciens marchent encore ??? tout est correct....

J'ai posté un nouveau topic tout a l'heure..a ce sujet..mais je le met ici aussi pour que le topic ai une suite...si cela peut aider...

merci d'avance de votre aide

nadine