coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: pgutoski on October 25, 2005, 05:15:33 PM

Title: Can't upload files
Post by: pgutoski on October 25, 2005, 05:15:33 PM
I've just installed a second copy of CPG in a new unique directory on my site. I've been using it for some time in the first installation without any problems. But with the new on I can't batch add any files.

The site is pogovisuals.com/burningman (the first installation was pogovisuals.com/photos) - user=testuser pw=testuser

Are there any issues with have 2 concurrent installations in their own isolated directories?

When I try to do a "batch add" (with just 1 file in this case, although multiple files generate the same results), the "result" icons next to the image(s) on the batch add screen don't show up; they display as ?. When I click that icon I get the folloing error:


Warning: exec() has been disabled for security reasons in /home/pogovi2/public_html/burningman/include/picmgmt.inc.php on line 162

Warning: chmod(): No such file or directory in /home/pogovi2/public_html/burningman/include/picmgmt.inc.php on line 224

Warning: getimagesize(albums/burningman04c/thumb_BMan04---143.jpg): failed to open stream: No such file or directory in /home/pogovi2/public_html/burningman/include/picmgmt.inc.php on line 226
Unable to create thumbnail or reduced size image.


Here's the debug results:

USER:
------------------
Array
(
    [ID] => c1904b542cdeddc182cf26ac87a747d5
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => pgutoski
    [user_password] => ********
    [user_lastvisit] => 2005-10-25 07:49:50
    [user_regdate] => 2005-10-25 06:53:22
    [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] => 0
    [ufc_min] => 0
    [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] => 0
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
   
Title: Re: Can't upload files
Post by: Nibbler on October 25, 2005, 05:27:38 PM
If exec() is disabled then you have 3 options:

1) switch to GD2 in config
2) search the board for passthru and use that workaround
3) ask your host to enable exec()
Title: Re: Can't upload files
Post by: pgutoski on October 25, 2005, 05:41:23 PM
Thank you - that seemed to do the trick (switching to GD in config).

I'm still confused as to why everything works fine with the first install but this one didn't.

I guess I don't really need to know though.

Title: Re: Can't upload files
Post by: Joachim Müller on October 25, 2005, 07:19:11 PM
the first install almost certainly is set to use GD2 in the first place. You just set up the second install in a different manner. There are not many other possible explanations. Just check your first install's configuration - you'll probably find out that it uses GD2.
Anyway, I'm glad that this issue has been resolved.
Title: Re: Can't upload files
Post by: pgutoski on October 25, 2005, 07:23:10 PM
Yup - that was it. Thanks for your prompt help!