coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: mediamem on September 15, 2005, 12:55:41 AM

Title: Help with debug info
Post by: mediamem on September 15, 2005, 12:55:41 AM
My upload.php is not working. i have searched the forums and tried several suggestions including
http://coppermine-gallery.net/tutorial/uploads/troubleshooting.php

But still the upload.php file gives and error Resource cannot be displayed.
Here is the debug info

USER:
------------------
Array
(
    [ID] => b68178990016cb7025c93e0bf5f71375
    [am] => 0
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => mymediam
    [user_password] => ********
    [user_lastvisit] => 2005-09-14 04:14:07
    [user_regdate] => 2005-09-14 03:38:17
    [user_group_list] =>
    [user_email] =>
    [user_website] => http://www.mymediamemories.com
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [disk_max] => 99999
    [disk_min] => 99999
    [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] => 99999
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
   
Title: Re: Help with debug info
Post by: Nibbler on September 15, 2005, 12:59:43 AM
Please seek support from your host, this is a server related issue.
Title: Re: Help with debug info
Post by: mediamem on September 15, 2005, 02:59:40 AM
thanks they were able to fix that issue.

Now the upload page works but I cannot upload a file I get the error
unable to create directory,

Any thoughts would be appreciated
meanwhile I'll keep trying
Title: Re: Help with debug info
Post by: Nibbler on September 15, 2005, 03:01:33 AM
Set 755 or 777 permissions on the userpics folder. If still no luck, try silly_safe_mode.
Title: Re: Help with debug info
Post by: mediamem on September 15, 2005, 03:10:42 AM
I tried that and still no luck. This time I noticed in the error string that it
has the URL to the directory twice? Is that usual? I'm not sure where to
fix that if it's the problem.

thanx again
Title: Re: Help with debug info
Post by: Nibbler on September 15, 2005, 03:26:09 AM
What do you have set in config for albums and userpics directories ? Those should be simple folder names.
Title: Re: Help with debug info
Post by: mediamem on September 15, 2005, 04:22:20 AM
I'm using the defaults
/galleries/albums
/galleries/albums/userpics

I'm not sure what else to change? The error I get is
File: /home/mymediam/mymediam-www/galleries/db_input.php - Line: 229

thanks

Title: Re: Help with debug info
Post by: Joachim Müller on September 20, 2005, 09:28:34 AM
what's the actual error message?
Title: Re: Help with debug info
Post by: mediamem on September 21, 2005, 06:54:28 AM
This is copy & pasted after trying to upload a file

Failed to create directory http://www.mymediamemories.com/galleries/albums/http://www.mymediamemories.com/galleries/albums/userpics/10001 !

File: /home/mymediam/mymediam-www/galleries/db_input.php - Line: 229

thanks
Title: Re: Help with debug info
Post by: Joachim Müller on September 21, 2005, 07:26:16 AM
in coppermine's config, you mustn't set absolute paths for the albums and userpics folder. Set them back to default unless you really, really know what you're doing. Leading slash means absolute path!
QuoteThe album directory: "albums/"
The directory for user files: "userpics/"
Title: Re: Help with debug info
Post by: mediamem on September 21, 2005, 07:49:47 AM
You rock, that worked!

Thanks for all the help here