forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: Alexj17 on November 05, 2007, 10:02:02 pm

Title: Upload Problem (register Globals)
Post by: Alexj17 on November 05, 2007, 10:02:02 pm
Hi, i have searched for a similar problem but couldnt find much.

I have been using my gallery for a while now, recently my server has taken "register_globals" = off and now i cant upload no new images. I have been told by them to contact you guys to solve this problem.

When i batch upload instead of getting the OK image, i get an image that is unfound, once clicked on i recieve this message..

"Unable to create thumbnail or reduced size image.Error in my_thread_global_end(): 1 threads didn't exit "

Please if anyone can help please do

Regards
Alex.
Title: Re: Upload Problem (register Globals)
Post by: Hein Traag on November 05, 2007, 10:10:55 pm
Begin with doing what is described here in the documentation please : http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble)
Title: Re: Upload Problem (register Globals)
Post by: Alexj17 on November 05, 2007, 11:02:28 pm
Thanks for your reply, i have done this, and still recieve the same error, my error is not in the list provided.
Title: Re: Upload Problem (register Globals)
Post by: just_some_guy on November 05, 2007, 11:04:20 pm
The upload trouble shooting says to provide a test user account.

"When asking for support on the coppermine forum, post a link to your site and a test user account (the test user mustn't be in the admin group!) with upload privileges"
Title: Re: Upload Problem (register Globals)
Post by: Alexj17 on November 05, 2007, 11:11:53 pm
of sorry

url = http://www.alexj17.com/gallery

user = test
pass = test

*i get the error when i batch add files
Title: Re: Upload Problem (register Globals)
Post by: Joachim Müller on November 06, 2007, 07:06:05 am
The error message I get is
Quote
Failed to create directory albums/userpics/10017 !

File: C:\Inetpub\vhosts\alexj17.com\httpdocs\gallery\db_input.php - Line: 318
, which means that you haven't permissions as suggested in the docs (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#permissions_iis_windows). Additionally, you appear to be self-hosted on a Windows-driven server with IIS with default settings in place, which is not a bright idea. You better talk to your webhost (or review server setup if you're self-hosted) to fix those default settings (although they are probably are not related to your uploading issues).
Register_globals settings don't affect Coppermine at all, it works fine with register_globals turned off.

Renaming the index file is not a bright idea (although it doesn't matter much on Windows-driven servers). Avoid capitalization whenever possible.
Title: Re: Upload Problem (register Globals)
Post by: Alexj17 on November 11, 2007, 07:21:13 pm
yes i get that error you quoted when iam logged in as admin, i never use the upload file button tho, i only ever use the "batch add files" and i get a different error message "Unable to create thumbnail or reduced size image.Error in my_thread_global_end(): 1 threads didn't exit ". I have been getting this message since the register globals have been switched off.
Title: Re: Upload Problem (register Globals)
Post by: Joachim Müller on November 12, 2007, 08:09:27 am
register_globals is not related, trust me. There's no reason to insist on register_globals to be the culprit. You get this error because of your permissions settings - review them! The upload method doesn't matter - using http uploads just gives you detailed error messages, that's why you need to fix this and then check that it works as suggested using http uploads. If you manage to get http uploads to work, batch-add will work again as well.