Problem upload (EasyPHP + PHP.ini) Problem upload (EasyPHP + PHP.ini)
 

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

Problem upload (EasyPHP + PHP.ini)

Started by labricotblanc, January 30, 2006, 01:45:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

labricotblanc

Bonjour à tous,

Je vien d'installer coppermine en local, je le configure un peu puis quand j'aissai d'uploader des images,
le premier message est normal:

Uploads effectués avec succès 

1 uploads effectués avec succès.

Cliquez sur 'Continuer' pour ajouter les fichiers aux albums.


Puis je clique sur continuer et là ça merde... voici ce que ça dit:
Erreur critique 

PHP running on your server does not support the GD image library, check with your webhost if ImageMagick is installed

Fichier: d:\web\easyphp1-8\www\coppermine\include\picmgmt.inc.php - Ligne: 251


Je suis perdu, si quelqu'un peut m'aider car je ne comprend pas bien d'ou vien le probleme (étant nouveau et novice du php).

Merci d'avance !!!


USER:
------------------
Array
(
    [ID] => 6b28880debd61c4239f29213ee7fdd9a
    [am] => 1
    [lang] => french
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => labricotblanc
    [groups] => Array
        (
            [0] => 1
        )

    [disk_max] => 1000000
    [disk_min] => 1000000
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 10
    [num_URI_upload] => 2
    [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] => 1000000
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg143_filetypes; (0.001s)
    [1] => select * from cpg143_plugins order by priority asc; (0s)
    [2] => delete from `coppermine_labricotblanc`.cpg143_sessions where time<1138577910 and remember=0; (0s)
    [3] => delete from `coppermine_labricotblanc`.cpg143_sessions where time<1137371910; (0s)
    [4] => select user_id from `coppermine_labricotblanc`.cpg143_sessions where session_id=md5("656ec12a8df1873e6fed05548cba4e5d41e27d239351b7758477a7260945c760"); (0s)
    [5] => select user_id as id, user_password as password from `coppermine_labricotblanc`.cpg143_users where user_id=1 (0s)
    [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `coppermine_labricotblanc`.cpg143_users AS u INNER JOIN `coppermine_labricotblanc`.cpg143_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `coppermine_labricotblanc`.cpg143_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
    [8] => 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 cpg143_usergroups WHERE group_id in (1) (0.001s)
    [9] => SELECT group_name FROM  cpg143_usergroups WHERE group_id= 1 (0s)
    [10] => update `coppermine_labricotblanc`.cpg143_sessions set time='1138581510' where session_id=md5('656ec12a8df1873e6fed05548cba4e5d41e27d239351b7758477a7260945c760'); (0s)
    [11] => SELECT user_favpics FROM cpg143_favpics WHERE user_id = 1 (0.004s)
    [12] => DELETE FROM cpg143_banned WHERE expiry < '2006-01-30 00:38:30' (0s)
    [13] => SELECT * FROM cpg143_banned WHERE (ip_addr='127.0.0.1' OR ip_addr='127.0.0.1' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT aid, title FROM cpg143_albums WHERE category < 10000 ORDER BY title (0.001s)
    [15] => SELECT aid, title FROM cpg143_albums WHERE category='10001' ORDER BY title (0.001s)
    [16] => SELECT encoded_string FROM cpg143_temp_data WHERE unique_ID = '4c62aeba' (0s)
    [17] => SELECT COUNT(*) FROM cpg143_pictures WHERE approved = 'NO' (0.001s)
)

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

==========================
POST :
------------------
Array
(
    [unique_ID] => 4c62aeba
    [control] => phase_2
    [debugtext] => USER:
------------------
Array
(
    [ID] => 6b28880debd61c4239f29213ee7fdd9a
    [am] => 1
    [lang] => french
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => labricotblanc
    [groups] => Array
        (
            [0] => 1
        )

    [disk_max] => 1000000
    [disk_min] => 1000000
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 10
    [num_URI_upload] => 2
    [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] => 1000000
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg143_filetypes; (0.001s)
    [1] => select * from cpg143_plugins order by priority asc; (0.001s)
    [2] => delete from `coppermine_labricotblanc`.cpg143_sessions where time<1138577651 and remember=0; (0s)
    [3] => delete from `coppermine_labricotblanc`.cpg143_sessions where time<1137371651; (0.001s)
    [4] => select user_id from `coppermine_labricotblanc`.cpg143_sessions where session_id=md5("656ec12a8df1873e6fed05548cba4e5d41e27d239351b7758477a7260945c760"); (0.001s)
    [5] => select user_id as id, user_password as password from `coppermine_labricotblanc`.cpg143_users where user_id=1 (0s)
    [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `coppermine_labricotblanc`.cpg143_users AS u INNER JOIN `coppermine_labricotblanc`.cpg143_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
    [7] => SELECT user_group_list FROM `coppermine_labricotblanc`.cpg143_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
    [8] => 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 cpg143_usergroups WHERE group_id in (1) (0.001s)
    [9] => SELECT group_name FROM  cpg143_usergroups WHERE group_id= 1 (0s)
    [10] => update `coppermine_labricotblanc`.cpg143_sessions set time='1138581251' where session_id=md5('656ec12a8df1873e6fed05548cba4e5d41e27d239351b7758477a7260945c760'); (0s)
    [11] => SELECT user_favpics FROM cpg143_favpics WHERE user_id = 1 (0.059s)
    [12] => DELETE FROM cpg143_banned WHERE expiry < '2006-01-30 00:34:11' (0s)
    [13] => SELECT * FROM cpg143_banned WHERE (ip_addr='127.0.0.1' OR ip_addr='127.0.0.1' OR user_id=1) AND brute_force=0 (0.089s)
    [14] => SELECT aid, title FROM cpg143_albums WHERE category < 10000 ORDER BY title (0.107s)
    [15] => SELECT aid, title FROM cpg143_albums WHERE category='10001' ORDER BY title (0.062s)
    [16] => SELECT COUNT(*) FROM cpg143_pictures WHERE approved = 'NO' (0.001s)
    [17] => SELECT unique_ID FROM cpg143_temp_data (0.001s)
    [18] => INSERT INTO cpg143_temp_data VALUES ('4c62aeba', 'YToxOntpOjA7YToyOntzOjExOiJhY3R1YWxfbmFtZSI7czoxNDoiMGJpZ3RpdHM3LmpwZWciO3M6MTQ6InRlbXBvcmFyeV9uYW1lIjtzOjI0OiJtSFRUUF90ZW1wXzUxMzE5MmYxLmpwZWciO319', '1138581252') (0s)
)

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

==========================
POST :
------------------
Array
(
    [URI_array] => Array
        (
            [0] =>
            [1] =>
        )

    [control] => phase_1
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.10 - OK
------------------
mySQL version: 4.1.9-max
------------------
Coppermine version: 1.4.3(stable)
==========================
Module: gd
------------------
module doesn't exist
==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 3.23.49
==========================
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 | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .;D:/web/EasyPHP1-8\php\pear\ | .;D:/web/EasyPHP1-8\php\pear\
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | info@labricotblanc.com | info@labricotblanc.com
sendmail_path | no value | no value
SMTP | smtp.wanadoo.fr | smtp.wanadoo.fr
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | 60 | 60
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 1.203 seconds - 19 queries in 0.325 seconds - Album set : ; Meta set: ;
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.10 - OK
------------------
mySQL version: 4.1.9-max
------------------
Coppermine version: 1.4.3(stable)
==========================
Module: gd
------------------
module doesn't exist
==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 3.23.49
==========================
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 | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .;D:/web/EasyPHP1-8\php\pear\ | .;D:/web/EasyPHP1-8\php\pear\
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | info@labricotblanc.com | info@labricotblanc.com
sendmail_path | no value | no value
SMTP | smtp.wanadoo.fr | smtp.wanadoo.fr
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | 60 | 60
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.694 seconds - 18 queries in 0.009 seconds - Album set : ; Meta set: ;


Coppermine 1.4.19
Serveur: phpMyAdmin 2.6.4, (php5), Mysql 5.0.22
Serveur: Linux
Hebergeur: Aruba.it
(je ne donne pas le l'URL de ma gallerie car c'est du charme)

Pascal YAP

Bonjour,

Le debug signale que GD n'est pas installé.
GD c'est la librairie graphique qui permet à Coppermine de généré les images intermédiares et les vignettes.
Depuis EasyPHP, ouvrez CONFIGURATION puis PHP.INI
Supprimer alors le POINT VIRGULE devant GD.

PYAP

labricotblanc

Quote from: PYAP on January 30, 2006, 06:20:02 AM
Bonjour,

Le debug signale que GD n'est pas installé.
GD c'est la librairie graphique qui permet à Coppermine de généré les images intermédiares et les vignettes.
Depuis EasyPHP, ouvrez CONFIGURATION puis PHP.INI
Supprimer alors le POINT VIRGULE devant GD.

PYAP

Quand je fait CONFIGURATION --> PHP je ne trouve pas GD.
Je ne peu pas vous afficher mon fichier php.ini car il est trop long (+ 20000 caractéres)
Je ne sai pas si c'est important mais j'ai aussi Oscommerce et dotclear d'installé en local.
Que puis je faire pour débloquer la situation ?

Merci

Coppermine 1.4.19
Serveur: phpMyAdmin 2.6.4, (php5), Mysql 5.0.22
Serveur: Linux
Hebergeur: Aruba.it
(je ne donne pas le l'URL de ma gallerie car c'est du charme)

François Keller

Bonjour,

Faites comme le dit Pyap, depuis EasyPhp faites  CONFIGURATION -->  PHP et enlevez le ";" devant "extension=php_gd2.dll" c'estvers la fin du fichier
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

labricotblanc

UN GRAND MERCI !!!

Ca marche nickel !
Coppermine 1.4.19
Serveur: phpMyAdmin 2.6.4, (php5), Mysql 5.0.22
Serveur: Linux
Hebergeur: Aruba.it
(je ne donne pas le l'URL de ma gallerie car c'est du charme)

labricotblanc

 ::) Tant que j'y suis, savez vous integrer coppermine à Oscommerce ?  ::)
Coppermine 1.4.19
Serveur: phpMyAdmin 2.6.4, (php5), Mysql 5.0.22
Serveur: Linux
Hebergeur: Aruba.it
(je ne donne pas le l'URL de ma gallerie car c'est du charme)

Pascal YAP

Bonjour,

C'est un autre sujet !
Mais je ne crois pas qu'il y ait un Bridge conçu pour OsCommerce.
PYAP