Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Problem with batch upload  (Read 8413 times)

0 Members and 1 Guest are viewing this topic.

tofqc

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 7
Problem with batch upload
« on: November 30, 2005, 04:45:26 am »

Hi,

I just installl coppermine and I tried to upload some picture using FTP I did the following :

1) make sure all chmod ok :P
2) create a subfolder "test" in the /albums folder
3) FTP my files in the subfolder
4) go to batch upload menu
5) here start the problem : I am under GD2, I choose the folder I want to upload, and the site show me thumbnails of my pictures until now everything is ok, but when I pick the picture I want to upload in an album and I click ok, the result page says that it can't create thumbnails...

Whatr do I do wrong, I tries Imagemagik and it didn't work either

Anyone can help me ?

Thanks
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

tofqc

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 7
Re: Problem with batch upload
« Reply #2 on: November 30, 2005, 12:37:21 pm »

Here what I get :


USER:
------------------
Array
(
    [ID] => 7b3d330593c7520f77a62a9065847ef4
    [am] => 1
    [lang] => french
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => tofqc
    [groups] => Array
        (
           
  • => 1

        )

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

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content, player FROM cpg140_filetypes; (0s)
  • [1] => select * from cpg140_plugins order by priority asc; (0s)
        [2] => delete from `photo`.cpg140_sessions where time<1133346877 and remember=0; (0s)
        [3] => delete from `photo`.cpg140_sessions where time<1132140877; (0s)
        [4] => select user_id from `photo`.cpg140_sessions where session_id=md5("1edd8e0d705acf1e2d026ac39a6eccb8fa890fa4a4f43cc4d24dfe49c49f0ec5"); (0s)
        [5] => select user_id as id, user_password as password from `photo`.cpg140_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 `photo`.cpg140_users AS u INNER JOIN `photo`.cpg140_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `photo`.cpg140_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 cpg140_usergroups WHERE group_id in (1) (0s)
        [9] => SELECT group_name FROM  cpg140_usergroups WHERE group_id= 1 (0s)
        [10] => update `photo`.cpg140_sessions set time='1133350477' where session_id=md5('1edd8e0d705acf1e2d026ac39a6eccb8fa890fa4a4f43cc4d24dfe49c49f0ec5'); (0s)
        [11] => SELECT user_favpics FROM cpg140_favpics WHERE user_id = 1 (0s)
        [12] => DELETE FROM cpg140_banned WHERE expiry < '2005-11-30 11:34:37' (0s)
        [13] => SELECT * FROM cpg140_banned WHERE (ip_addr='24.203.4.54' OR ip_addr='24.203.4.54' OR user_id=1) AND brute_force=0 (0s)
        [14] => SELECT category FROM cpg140_albums WHERE aid='2' (0s)
        [15] => SELECT COUNT(*) FROM cpg140_pictures WHERE approved = 'NO' (0.001s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
       
[album] => 2
    [MAX_FILE_SIZE] => 1048576
    [title] =>
    [caption] =>
    [keywords] =>
    [event] => picture
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.1 - OK
------------------
mySQL version: 5.0.15-standard-log
------------------
Coppermine version: 1.4.2(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.15
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/usr/local/include/mysql
MYSQL_LIBS -L/usr/local/lib/mysql -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.2.2
Linked Version 1.2.2.2
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | On | On
safe_mode_exec_dir | no value | no value
safe_mode_gid | On | On
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | passthru | passthru
file_uploads | On | On
include_path | .:/usr/local/lib/php | .:/usr/local/lib/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
sendmail_path | /usr/sbin/sendmail -t -i -f customerbounce@servage.net | /usr/sbin/sendmail -t -i -f customerbounce@servage.net
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | -1 | -1
upload_max_filesize | 10M | 10M
post_max_size | 8M | 8M
==========================
Page generated in 0.745 seconds - 16 queries in 0.001 seconds - Album set : ; Meta set: ;
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem with batch upload
« Reply #3 on: November 30, 2005, 08:09:19 pm »

I didn't ask for the debug_output. Re-read the section of the docs I refered to and do as suggested there.
Logged

tofqc

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 7
Re: Problem with batch upload
« Reply #4 on: December 01, 2005, 11:25:47 pm »

Sorry  ::)

Here is the error message :
The file 'albums/userpics/Water_lilies.jpg' can't be inserted in the album

Unable to create thumbnail or reduced size image.

File: /mounted-storage/home8/sub002/sc15048-NNTH/www/gallery/db_input.php - Line: 391

The User account is :
Login : test
Password : test

oups and the website is http://www.cluzel.ca/gallery
« Last Edit: December 01, 2005, 11:37:40 pm by tofqc »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem with batch upload
« Reply #5 on: December 02, 2005, 08:15:21 am »

did you CHMOD as suggested in the docs? You haven't done as suggested in the docs I refered to - you haven't set the file upload method to single file uploads only for the group the test user is in, so I wasn't able to do any more testing. I'm not willing to repeat myself over and over again, refering to the very same section in the docs, so I'm out of this thread.
Logged

tofqc

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 7
Re: Problem with batch upload
« Reply #6 on: December 02, 2005, 02:10:50 pm »

Sorry Gaugau, but I did exactly as indicated in the docs, I tried the CHMOD (I check and reapply them) I made the single file upload ....

Tof
Logged

Nibbler

  • Guest
Re: Problem with batch upload
« Reply #7 on: December 02, 2005, 02:18:01 pm »

I see 5 file upload boxes and 3 URI boxes. How is this supposed to be 'single file uploads only' ?

Check the groups page and the manual.
Logged

tofqc

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 7
Re: Problem with batch upload
« Reply #8 on: December 02, 2005, 03:25:19 pm »

Well I don<t understand I did exactly what iut indicated in the Docs :

No. of boxes   : fixed
File upload boxes : 1
URI upload boxes : 0
Logged

tofqc

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 7
Re: Problem with batch upload
« Reply #9 on: December 02, 2005, 03:26:11 pm »

oups sorry I put thos parameters in the worng user group, It is solved now, sorry
Logged

tofqc

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 7
Re: Problem with batch upload
« Reply #10 on: December 03, 2005, 06:12:51 am »

hi,

I also try the modification in picmgmt.inc.php as my server has Safe_mode enable but still I get the same error and i am not able to create thumbnails

Please help

Chris
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 20 queries.