forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: charmed88 on July 22, 2004, 01:34:40 am

Title: Problem with batch add
Post by: charmed88 on July 22, 2004, 01:34:40 am
Hi

I have just installed the photogallery and everything went fine. I set permissions on all the correct folders and the added my folders to /albums.

I then go into the batch add bit and select the folder i want to upload. It loads with all the files names but the little pics dont load and if i try to add them all they dont add. Any idea whats going wrong? ???

thanks
Title: Re: Problem with batch add
Post by: kegobeer on July 22, 2004, 01:56:38 am
Turn on debug and post the errors you get.  Also, a link to your site will help.  And did you search the forums for this problem, to see if it's been talked about before?
Title: Re: Problem with batch add
Post by: charmed88 on July 22, 2004, 02:05:26 am
USER:
------------------
Array
(
    [ID] => 81f2e5206a1c9659d757e7454436c1b8
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => Charmed88
    [user_password] => ********
    [user_lastvisit] => 2004-07-21 19:19:11
    [user_regdate] => 2004-07-21 18:39:41
    [user_group_list] =>
    [user_email] =>
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [user_favpics] =>
    [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
(
    [startdir] => Azatiprime
)

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

==========================
VERSION INFO :
------------------
PHP version: 4.3.8 - OK
------------------
mySQL version: 4.0.20-standard
------------------
Coppermine version: 1.3.1
==========================
Module: gd
------------------
module doesn't exist
==========================
Module: mysql
------------------
Active Persistent Links 0
Active Links 1
Client API version 3.23.49
MYSQL_MODULE_TYPE builtin
MYSQL_SOCKET /var/tmp/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
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 | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
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 | 30 | 30
max_input_time | -1 | -1
upload_max_filesize | 2M | 2M
post_max_size | 55M | 55M
==========================
Page generated in 0.088 seconds - 10 queries in 0.003 seconds - Album set :
Title: Re: Problem with batch add
Post by: Joachim Müller on July 22, 2004, 09:37:39 am
[...]
Module: gd
------------------
module doesn't exist
[...]
Do you have Image Magick? Try uploading one pic with http upload first, and see if this works for you. My guess is you don't have the minimum requirements for Coppermine.

GauGau
Title: Re: Problem with batch add
Post by: Casper on July 22, 2004, 10:57:03 am
Hmmmm,

this has thrown up a problem with the debug mode, as the debug info is not always correct, see the 2 pics, both from my test site, and the same install.
One shows the true php info, and as you can see, has GD1 installed, which is in use, as there is no IM.
The second shows the debug info, which says GD not installed, clearly incorrect.  Note, it also shows mySQL doesn't exist, which is also wrong.

So I suggest charmed88 looks at the full php info first.

But we need to find out why the debug is not working.
Title: Re: Problem with batch add
Post by: Joachim Müller on July 22, 2004, 12:27:28 pm
@Casper: please create a plain phpinfo page (a page with just <?php phpinfo(); ?> in it) and send me the html output it generates by PM.

GauGau
Title: Re: Problem with batch add
Post by: charmed88 on July 22, 2004, 02:00:47 pm
I tried a HTTP upload and go this:

Error Report
The following uploads encountered errors: 
File Uploads: 
File Name/URL Error Message
1. 2589_100.gif Not a GD extension.
Title: Re: Problem with batch add
Post by: Joachim Müller on July 22, 2004, 03:52:40 pm
You can not upload GIFs using GD, as GD has only GIF read support, but no GIF write support. Try uploading a known-good jpeg instead.

GauGau
Title: Re: Problem with batch add
Post by: charmed88 on July 22, 2004, 05:03:41 pm
I tried a HTTP Jpeg upload and it worked
Title: Re: Problem with batch add
Post by: Joachim Müller on July 23, 2004, 10:11:11 am
is your albums dir and everything within it writable for the script (CHMOD!)?

GauGau
Title: Re: Problem with batch add
Post by: charmed88 on July 23, 2004, 06:57:16 pm
the album folder and everything in it is set to 777
Title: Re: Problem with batch add
Post by: Joachim Müller on July 23, 2004, 06:58:36 pm
That's not exactly what I was asking (although related); is it writable by the script? This could as well mean CHMOD 755 or other (on "exotic" server setups). Please post more details on your server as well, and check if the "edit" sub-dir exists and is CHMODed as well to be writable for the script.

GauGau
Title: Re: Problem with batch add
Post by: charmed88 on July 23, 2004, 09:44:42 pm
The edit folder is there and is 777
Title: Re: Problem with batch add
Post by: sdamon on July 23, 2004, 09:48:10 pm
Ive been on IM with charmed...his host dosent have GD installed.
Title: Re: Problem with batch add
Post by: Joachim Müller on July 24, 2004, 01:06:23 pm
then why did charmed report a jpeg upload worked?
I tried a HTTP Jpeg upload and it worked
I couldn't have worked if there is no GD lib on his server (as I suggested before btw.).

@Charmed: make sure you have the minimum requirements for running coppermine (contact your webhost if you must). If you think you have the minimum requirements, report back here please.

GauGau