I've run into a problem where "gallery remote" stalls after uploading 6 images. It then becomes impossible to upload anything even if you stop and restart Gallery Remote. The images that are uploaded look perfect in every way.
Gallery Remote on a Windows XP machine (latest version)
Gallery 2 on Linux / Apache
Local network
As far as I can tell everything is up to date and working correctly.
Any help would be well received as this would be my favored way of uploading.
Nigel.
Posts: 1153
tail your Apache logs and try to reproduce the error.
FAQ: What information is required when I ask for help in the forums?
----------------------------------------------------------------
WordPress + Gallery 2 + WPG2 = utopia
Posts: 61
Thanks for helping ... I backtracked the logs and here are the messages that seem very relevant to the problem. I've shorten this and only shown non-repeating information. The first 4 messages about "memory" only seemed to happen when I was trying to get "remote" set up. After it was working this message never appears again in he log files.
The next message about "undefined index:" appears in the log file continuously while I was trying to upload (I'm guessing here) picture 7 onwards.
Please let me know if you need more information. I'm pretty green when it comes to the php side of things but will do the best I can.
Thanks
Nigel.
The theme in use is "Slider"
Fri Feb 02 17:49:14 2007] [error] [client 192.168.0.5] PHP Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 1481244673 bytes) in /home/photographs/gallery2/modules/exif/lib/exifer/makers/canon.inc on line 401
[Fri Feb 02 17:50:51 2007] [error] [client 192.168.0.5] PHP Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 1481244673 bytes) in /home/photographs/gallery2/modules/exif/lib/exifer/makers/canon.inc on line 401
[Fri Feb 02 17:59:16 2007] [error] [client 192.168.0.5] PHP Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 1481244673 bytes) in /home/photographs/gallery2/modules/exif/lib/exifer/makers/canon.inc on line 401
[Fri Feb 02 18:01:53 2007] [error] [client 192.168.0.5] PHP Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 1481244673 bytes) in /home/photographs/gallery2/modules/exif/lib/exifer/makers/canon.inc on line 401
[Fri Feb 02 18:07:08 2007] [error] [client 192.168.0.5] PHP Notice: Undefined index: body in /home/photographs/gallery2/modules/core/classes/GalleryTheme.class on line 971
[Fri Feb 02 18:07:08 2007] [error] [client 192.168.0.5] PHP Notice: Undefined index: body in /home/photographs/gallery2/modules/core/classes/GalleryTheme.class on line 974
[Fri Feb 02 18:07:09 2007] [error] [client 192.168.0.5] PHP Notice: Undefined index: body in /home/photographs/gallery2/modules/core/classes/GalleryTheme.class on line 971
[Fri Feb 02 18:07:09 2007] [error] [client 192.168.0.5] PHP Notice: Undefined index: body in /home/photographs/gallery2/modules/core/classes/GalleryTheme.class on line 974
repeated for about 90 to 120 times.
Posts: 1153
FAQ: PHP memory_limit - Why do I get the error Allowed memory size of Xxx bytes exhausted?
----------------------------------------------------------------
WordPress + Gallery 2 + WPG2 = utopia
Posts: 1153
disable the Exif module/plugin and try to reproduce the problem. we need more critical info. so, ---> FAQ: What information is required when I ask for help in the forums? - otherwise, we'll be playing a guessing game of what the exact version of Gallery you're using.
----------------------------------------------------------------
WordPress + Gallery 2 + WPG2 = utopia
Posts: 61
Scaturan.
As requested. I created a new album and reproduced the problem. I then disabled and uninstalled EXIF extraction. I then re-ran the test and it worked with no problems at all. Uploaded 47 photos at a max 900 pixels. I then deleted all photos, turned on EXIF again and the same issue. Halted on photo 7.
Error log had the same message as above : PHP Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 1481244673 bytes) in /home/photographs/gallery2/modules/exif/lib/exifer/makers/canon.inc on line 401
I was going to change the PHP memory but as I don't have 1.5 Gbytes thought that a bit of a waste !!! My camera is a Canon.
many thanks for your help ... turning off EXIF is no big deal to me BUT I'm more than happy to help out any way I can.
Nigel.