Red X when Batching Red X when Batching
 

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

Red X when Batching

Started by Iconoclast, April 02, 2008, 09:48:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Iconoclast

I'm getting Red X's when I try to batch photos. About 10 thumbnails will show up and the rest are X's.
I have emailed my host and she sent me this email:

"I can't seem to fix the problem. I honestly have no idea why it's even done that. I've contacted the server administrators and they said it's not a server problem, which I then searched through the Coppermine Forum Support and still couldn't find the solution there as well. I updated your script, checked your files persmission settings, and done all I could do."

I have also searched the forum, and couldn't really find a solid solution. I have read followed the instructions for Upload troubleshooting at http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble and that hasnt worked.

I have created a test user account

User: Test
Pass: Testing


I would appreciate any help you're willing to offer.


Joachim Müller

Test user account doesn't work for me - review!

Iconoclast

I just logged in, it should work fine now

Nibbler

Password is actually 'testing'. I get

Failed to create directory albums/userpics/10002

Which means permissions are wrong. Albums directory and all subdirectories need to be writable.

Joachim Müller

Quote from: Iconoclast on April 03, 2008, 07:49:21 AM
I just logged in, it should work fine now
Capitalization matters! Use more care when asking for support.

Quote from: Nibbler on April 03, 2008, 10:16:40 AM
Which means permissions are wrong. Albums directory and all subdirectories need to be writable.
As suggested in the docs, "permissions" section: http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#permissions

Iconoclast

^ Sorry about the capitalization
I have changed all the permissions and about 15 thumbnails show without a problem, then its all X's from there.

Hein Traag

Might be memory problem. Try using CPGMassImport plugin.

Joachim Müller

No, not a memory problem. http uploads till don't work as expected - you'll need to fix that first before trying batch-add. Whenn http-uploading I get
QuoteFailed to create directory albums/userpics/10002 ! 
, so you still have a permissions issue. Do as suggested in the permissions section of the docs: if you can't figure out the correct permissions, ask your webhost for support.
Also check if you're running in safe mode (take a look at phpinfo). If this is the case, try using the silly_safe_mode toggle as explained in the docs.

Iconoclast

^ All permissions have been changed to 777 and i'm using safe mode. After 14 thumbnails—still all X's. My host cant figure out the problem either.

Joachim Müller

If you're on a safe-mode server, enable silly_safe_mode

Iconoclast

I'm having some trouble trying to find a doc on how to enable silly_safe_mode.
Could you possibly link me to one?

Joachim Müller


Iconoclast

I followed those instructions, but i'm stumped with the include/config.inc.php file
It doesnt say define('SILLY_SAFE_MODE', 1); should I add that into my file or something?

Joachim Müller

That's the line you're supposed to add.

Iconoclast

I added it directly under <?php and re-uploaded the file. I read my phpinfo and it says Safe Mode still isnt on.

Iconoclast

Apologies for the total Noob-ness. I've been using coppermine for years now, and i've never had any problems with it what-so-ever, so this is new.

Joachim Müller

Look, I already told you: you have to figure out wether your webhost is running safe mode, i.e. you have to review phpinfo and check if safe mode is turned on on your server. If this is the case, you define silly_safe_mode in include/config.inc.php and upload that file. Once you have done so, you check if your situation improves regarding uploads. You will not notice any changes in phpinfo if you have enabled silly_safe_mode.

jesskajess

im also having this problem.. will it effect the security of the server/gallery etc? (by adding 'silly safe mode' to the code)

Joachim Müller

No, not at all. When safe_mode is enabled, the webserver won't be able to create new folders. Turning on silly_safe_mode will reflect this setting: everything you or your users upload (using http uploads) won't go into separate folders, but everything will then go into http://your_site.tld/your_coppermine_folder/albums/userpics. This only has an impact on the performance for huge galleries, as folders with several hundred files in them tend to get a bit slower. Turning on silly_safe_mode only has an impact on that, not on security.
Safe_mode doesn't have an impact at all on batch-adding. If you need more details, start a thread of your own, doing exactly as suggested in the upload troubleshooting section of the docs.