Advanced search  

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

Pages: [1] 2   Go Down

Author Topic: Red X when Batching  (Read 7671 times)

0 Members and 1 Guest are viewing this topic.

Iconoclast

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Red X when Batching
« on: April 02, 2008, 09:48:31 pm »

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.
Logged

Iconoclast

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Red X when Batching
« Reply #1 on: April 02, 2008, 10:13:35 pm »

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Red X when Batching
« Reply #2 on: April 03, 2008, 07:46:34 am »

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

Iconoclast

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Red X when Batching
« Reply #3 on: April 03, 2008, 07:49:21 am »

I just logged in, it should work fine now
Logged

Nibbler

  • Guest
Re: Red X when Batching
« Reply #4 on: April 03, 2008, 10:16:40 am »

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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Red X when Batching
« Reply #5 on: April 03, 2008, 10:21:05 am »

I just logged in, it should work fine now
Capitalization matters! Use more care when asking for support.

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
Logged

Iconoclast

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Red X when Batching
« Reply #6 on: April 03, 2008, 10:31:06 am »

^ 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.
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Red X when Batching
« Reply #7 on: April 03, 2008, 12:07:27 pm »

Might be memory problem. Try using CPGMassImport plugin.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Red X when Batching
« Reply #8 on: April 04, 2008, 07:00:54 am »

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
Quote
Failed 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.
Logged

Iconoclast

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Red X when Batching
« Reply #9 on: April 08, 2008, 04:51:31 am »

^ 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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Red X when Batching
« Reply #10 on: April 08, 2008, 07:00:02 am »

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

Iconoclast

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Red X when Batching
« Reply #11 on: April 08, 2008, 07:01:04 am »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

Iconoclast

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Red X when Batching
« Reply #13 on: April 08, 2008, 07:09:28 am »

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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Red X when Batching
« Reply #14 on: April 08, 2008, 07:22:38 am »

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

Iconoclast

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Red X when Batching
« Reply #15 on: April 08, 2008, 07:24:01 am »

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

Iconoclast

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Red X when Batching
« Reply #16 on: April 08, 2008, 07:28:47 am »

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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Red X when Batching
« Reply #17 on: April 08, 2008, 07:42:28 am »

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.
Logged

jesskajess

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Re: Red X when Batching
« Reply #18 on: April 17, 2008, 01:15:54 am »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Red X when Batching
« Reply #19 on: April 17, 2008, 07:10:22 am »

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.
Logged
Pages: [1] 2   Go Up
 

Page created in 0.024 seconds with 20 queries.