Upload Problem (register Globals) Upload Problem (register Globals)
 

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

Main Menu

Upload Problem (register Globals)

Started by Alexj17, November 05, 2007, 10:02:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Alexj17

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.

Hein Traag


Alexj17

Thanks for your reply, i have done this, and still recieve the same error, my error is not in the list provided.

just_some_guy

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"
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

Alexj17

of sorry

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

user = test
pass = test

*i get the error when i batch add files

Joachim Müller

The error message I get is
QuoteFailed 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. 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.

Alexj17

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.

Joachim Müller

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.