1
macmend
extgallery 1.04 - batch upload problems with this also
  • 2008/11/18 3:27

  • macmend

  • Quite a regular

  • Posts: 285

  • Since: 2004/2/27


What a day to try 2.3.1 and a selection of gallery modules

So it seems I must create all the directories in Uploads for the original, large, medium and thumb photos, I have done this and chmod them to 777 just to make sure

I put 15 test photos in batch folder i batch upload them to a gallery, it says its done it and marks out 15 thumbs and populates the db and the gallery display except there are no pictures just place holders, if I try to open the thumbnail in a separate page it tells me

The requested URL /xxxxxx/uploads/extgallery/public-photo/thumb/thumb_xxxxxxx_1f4acd.jpg was not found on this server.

and it would be right as there is nothing in the thumb folder......

can anyone help me with this I am using GD2 which the index page claims is found at /usr/local/bin/ and working. It will not find imagemagick
Free Mac Support

Ordinary Wisdom

apache server with php sshexec turned on
xoops version 2.0.18.1 & 2.3.1
php version 5.2.5
mysql version 5.0.45

2
piar
Re: extgallery 1.04 - batch upload problems with this also
  • 2008/11/18 10:44

  • piar

  • Just popping in

  • Posts: 22

  • Since: 2008/10/30


Are there some error messages (errors reporting could be set up in general settings) during that batch upload?
As I wrote in your previous topic I'm using that version of ext on 2.3.1 and it works for me. So it could be something with your configuration - and I think that error messages may help.

3
macmend
Re: extgallery 1.04 - batch upload problems with this also
  • 2008/11/18 14:30

  • macmend

  • Quite a regular

  • Posts: 285

  • Since: 2004/2/27


well I turned on debug and there are errors, but the page loads and reloads so fast you can't read them properly, I managed to glean:

something in the renaming process is going wrong, and permissions are wrong, on line 104 of photo.php
Free Mac Support

Ordinary Wisdom

apache server with php sshexec turned on
xoops version 2.0.18.1 & 2.3.1
php version 5.2.5
mysql version 5.0.45

4
pgroell
Re: extgallery 1.04 - batch upload problems with this also
  • 2008/11/18 14:38

  • pgroell

  • Just popping in

  • Posts: 20

  • Since: 2005/4/3 1


I suggest you try uploading smaller batches, my server stalls if I upload more than 13 photos at the same time.

Pascal
www.notreavion.net

5
piar
Re: extgallery 1.04 - batch upload problems with this also
  • 2008/11/18 15:37

  • piar

  • Just popping in

  • Posts: 22

  • Since: 2008/10/30


So maybe for debuging purpose change 3 (sec.) delay to longer (for example 15 istead of three) in line 180:
redirect_header("photo.php"3sprintf(_AM_EXTGALLERY_X_PHOTO_ADDEDcount($photos)));

to have a possibility to copy error messages.

in line 104 of photo.php each photo is moved from /modules/extgallery/batch/ to /uploads/extgallery/public-photo/
Check permissions to that folder as well as for folders inside: large, medium, original, thumb. Also /modules/extgallery/batch/ is important - there should be probably set read and execute right for server process.

6
macmend
Re: extgallery 1.04 - batch upload problems with this also
  • 2008/11/18 17:40

  • macmend

  • Quite a regular

  • Posts: 285

  • Since: 2004/2/27


"So maybe for debuging purpose change 3 (sec.) delay to longer (for example 15 istead of three) in line 180:

redirect_header("photo.php", 3, sprintf(_AM_EXTGALLERY_X_PHOTO_ADDED, count($photos)));"

which file is the above in??...oops found it in photo.php




....hmm at the moment they are set to 777 and for the ftp admin
Free Mac Support

Ordinary Wisdom

apache server with php sshexec turned on
xoops version 2.0.18.1 & 2.3.1
php version 5.2.5
mysql version 5.0.45

7
macmend
Re: extgallery 1.04 - batch upload problems with this also
  • 2008/11/18 18:00

  • macmend

  • Quite a regular

  • Posts: 285

  • Since: 2004/2/27


tried altering the timing its still too fast and wont go past about 20 secs

I have it moving a photo and renaming it but only one at a time in the batch, it also goes to a white screen
Free Mac Support

Ordinary Wisdom

apache server with php sshexec turned on
xoops version 2.0.18.1 & 2.3.1
php version 5.2.5
mysql version 5.0.45

8
piar
Re: extgallery 1.04 - batch upload problems with this also
  • 2008/11/18 18:17

  • piar

  • Just popping in

  • Posts: 22

  • Since: 2008/10/30


Oh yes - I forgot to write name of the file. But now - can you copy and paste that messages here?

This problem can be caused by some server settings - for example SAFE MODE http://php.net/features.safe-mode

9
macmend
Re: extgallery 1.04 - batch upload problems with this also
  • 2008/11/18 18:35

  • macmend

  • Quite a regular

  • Posts: 285

  • Since: 2004/2/27


I think safe mode is on, as I had some mail problems with macmend.com which runs on XOOPS and had to change hosts, actaullay I checked and its off
Free Mac Support

Ordinary Wisdom

apache server with php sshexec turned on
xoops version 2.0.18.1 & 2.3.1
php version 5.2.5
mysql version 5.0.45

10
macmend
Re: extgallery 1.04 - batch upload problems with this also
  • 2008/11/18 19:02

  • macmend

  • Quite a regular

  • Posts: 285

  • Since: 2004/2/27


I deleted and reinstalled extgallery...So I have got as far as putting photos in the batch folder, just 2 or 3, then I choose my gallery and click submit, now the screen goes white (I am in XOOPS debug mode) no debugging appears, if I press the back button I get back to the photos admin page and it tells me there is one less photo.

This photo has been renamed and moved to the uploads/extgallery/public-photo directory but not to any of the medium large thumb directories

why would this be?
Free Mac Support

Ordinary Wisdom

apache server with php sshexec turned on
xoops version 2.0.18.1 & 2.3.1
php version 5.2.5
mysql version 5.0.45

Login

Who's Online

55 user(s) are online (36 user(s) are browsing Support Forums)


Members: 0


Guests: 55


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits