Can't connect to gallery from gallery remote. Used to be able to, upgraded skins and stopped working. Any thoughts/help would be greatly appreciated.
Thanks.
Alan Wang
Here is the log:
---------------------------------------------------------------------------------------
1061578234218|INFO |MainFrame |fetchAlbums starting
1061578234250|INFO |GalComm2 |Logging in to http://www.alanandjenni.com/gallery/
1061578234375|ERROR|GalComm2 |com.gallery.GalleryRemote.GR2Exception: Server contacted, but Gallery not found at this URL (http://www.alanandjenni.com/gallery/)
1061578234375|ERROR|GalComm2 |com.gallery.GalleryRemote.GR2Exception: Server contacted, but Gallery not found at this URL (http://www.alanandjenni.com/gallery/)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.requestResponse(GalleryComm2.java:310)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.requestResponse(GalleryComm2.java:261)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.login(GalleryComm2.java:337)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.run(GalleryComm2.java:237)
at java.lang.Thread.run(Unknown Source)
1061578234375|INFO |GalComm2 |Error: Server contacted, but Gallery not found at this URL (http://www.alanandjenni.com/gallery/)
---------------------------------------------------------------------------------------
Gallery version: v1.3.4-pl1
Apache version: v1.3.22
PHP version (don't just say PHP 4, please): v4.2.2
Graphics Toolkit: Both
Operating system: Linux 2.4.9-21smp
Posts: 3473
Moved to appropriate forum.
Posts: 1479
Can you post a log with verbose option turned on (the ReadMe.html tells how)?
Posts: 8
I get the same error, so I can post the log:
894035|INFO |GalComm2 |Error: Server contacted, but Gallery not found at this URL (http://www.blackchart.dk/modules/Gallery/gallery_remote2.php)
933131|INFO |MainFrame |Command selected Upload
933131|INFO |MainFrame |uploadPictures starting
933131|INFO |MainFrame |Saving state to file C:\Documents and Settings\Morten\.GalleryRemote\backup.grg
933582|TRACE|GalComm2 |Still logged in to http://www.blackchart.dk/modules/Gallery...
933592|TRACE|GalComm2 |add-item parameters: [HTTPClient.NVPair[name=cmd,value=add-item], HTTPClient.NVPair[name=protocol_version,value=2.3], HTTPClient.NVPair[name=set_albumName,value=album11], HTTPClient.NVPair[name=caption,value=Dampdage_042.jpg]]
933662|TRACE|GalComm2 |Url: /modules/Gallery/gallery_remote2.php
933662|TRACE|GalComm |Sending cookie: PHPSESSID=a3f5e5f74ff07c795601c6357194544b; path=/; domain=www.blackchart.dk
933923|TRACE|GalComm2 |This page is not meant to be accessed from your browser. If you would like to use Gallery Remote, please refer to Gallery's website located at <a href='http://gallery.sourceforge.net'>http://gallery.sourceforge.net</a>
933923|ERROR|GalComm2 |com.gallery.GalleryRemote.GR2Exception: Server contacted, but Gallery not found at this URL (http://www.blackchart.dk/modules/Gallery/gallery_remote2.php)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.requestResponse(GalleryComm2.java:318)
at com.gallery.GalleryRemote.GalleryComm2$UploadTask.uploadPicture(GalleryComm2.java:527)
at com.gallery.GalleryRemote.GalleryComm2$UploadTask.runTask(GalleryComm2.java:460)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.run(GalleryComm2.java:244)
at java.lang.Thread.run(Unknown Source)
933923|INFO |GalComm2 |Error: Server contacted, but Gallery not found at this URL (http://www.blackchart.dk/modules/Gallery/gallery_remote2.php)
963916|INFO |MainFrame |Command selected Upload
963916|INFO |MainFrame |uploadPictures starting
963916|INFO |MainFrame |Saving state to file C:\Documents and Settings\Morten\.GalleryRemote\backup.grg
964286|TRACE|GalComm2 |Still logged in to http://www.blackchart.dk/modules/Gallery...
964286|TRACE|GalComm2 |add-item parameters: [HTTPClient.NVPair[name=cmd,value=add-item], HTTPClient.NVPair[name=protocol_version,value=2.3], HTTPClient.NVPair[name=set_albumName,value=album11], HTTPClient.NVPair[name=caption,value=Dampdage_042.jpg]]
964306|TRACE|GalComm2 |Url: /modules/Gallery/gallery_remote2.php
964306|TRACE|GalComm |Sending cookie: PHPSESSID=a3f5e5f74ff07c795601c6357194544b; path=/; domain=www.blackchart.dk
964557|TRACE|GalComm2 |This page is not meant to be accessed from your browser. If you would like to use Gallery Remote, please refer to Gallery's website located at <a href='http://gallery.sourceforge.net'>http://gallery.sourceforge.net</a>
964557|ERROR|GalComm2 |com.gallery.GalleryRemote.GR2Exception: Server contacted, but Gallery not found at this URL (http://www.blackchart.dk/modules/Gallery/gallery_remote2.php)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.requestResponse(GalleryComm2.java:318)
at com.gallery.GalleryRemote.GalleryComm2$UploadTask.uploadPicture(GalleryComm2.java:527)
at com.gallery.GalleryRemote.GalleryComm2$UploadTask.runTask(GalleryComm2.java:460)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.run(GalleryComm2.java:244)
at java.lang.Thread.run(Unknown Source)
I use Gallery v 1.4 RC2 b6
Apache version 1.3.26
Graphics Toolkit: netPBM
OS: Redhat Linux - kernel v 2.4.18
Posts: 1479
I'm pretty sure that this error means that PHP doesn't allow file uploads. You should enable file uploads in php.ini.
Can you upload images from the web 'add photos' page?
Posts: 8
Okay, that was one problem solved, and a new to come...
Upload error: Upload failed: 'Unable to make thumbnail (0)'
Log looks like this:
159760|INFO |MainFrame |Command selected Upload
159760|INFO |MainFrame |uploadPictures starting
159760|INFO |MainFrame |Saving state to file C:\Documents and Settings\Morten\.GalleryRemote\backup.grg
160221|TRACE|GalComm2 |Still logged in to http://www.blackchart.dk/modules/Gallery...
160221|TRACE|GalComm2 |add-item parameters: [HTTPClient.NVPair[name=cmd,value=add-item], HTTPClient.NVPair[name=protocol_version,value=2.3], HTTPClient.NVPair[name=set_albumName,value=album09], HTTPClient.NVPair[name=caption,value=Lucky Luke]]
160241|TRACE|ImageUtils|Executing imagemagick/win32/convert.exe -size 800x600 -filter Lanczos "C:\Lucky Luke.jpg" -resize "800x600>" -quality 80 "C:\DOCUME~1\Morten\LOKALE~1\Temp\thumbs\res17580.jpg"
160851|TRACE|ImageUtils|Returned with value 0
160851|TRACE|ImageUtils|Time: 610 - Avg: 1769
160862|TRACE|GalComm2 |Url: /modules/Gallery/gallery_remote2.php
160862|TRACE|GalComm |Sending cookie: PHPSESSID=7d5991db14e0d3fe7841313ca2b95892; path=/; domain=www.blackchart.dk
161472|TRACE|GalComm2 |#__GR2PROTO__
debug_album=album09
status=403
status_text=Upload failed: 'Unable to make thumbnail (0)'.
161482|INFO |GalComm2 |Upload error: Upload failed: 'Unable to make thumbnail (0)'.
797877|INFO |MainFrame |Command selected Upload
797877|INFO |MainFrame |uploadPictures starting
797887|INFO |MainFrame |Saving state to file C:\Documents and Settings\Morten\.GalleryRemote\backup.grg
798108|TRACE|GalComm2 |Still logged in to http://www.blackchart.dk/modules/Gallery...
798118|TRACE|GalComm2 |add-item parameters: [HTTPClient.NVPair[name=cmd,value=add-item], HTTPClient.NVPair[name=protocol_version,value=2.3], HTTPClient.NVPair[name=set_albumName,value=album09], HTTPClient.NVPair[name=caption,value=Lucky Luke]]
798128|TRACE|ImageUtils|Executing imagemagick/win32/convert.exe -size 800x600 -filter Lanczos "C:\Lucky Luke.jpg" -resize "800x600>" -quality 80 "C:\DOCUME~1\Morten\LOKALE~1\Temp\thumbs\res17581.jpg"
800271|TRACE|ImageUtils|Returned with value 0
800271|TRACE|ImageUtils|Time: 2153 - Avg: 1846
800281|TRACE|GalComm2 |Url: /modules/Gallery/gallery_remote2.php
800281|TRACE|GalComm |Sending cookie: PHPSESSID=7d5991db14e0d3fe7841313ca2b95892; path=/; domain=www.blackchart.dk
800682|TRACE|GalComm2 |#__GR2PROTO__
debug_album=album09
status=403
status_text=Upload failed: 'Unable to make thumbnail (0)'.
800682|INFO |GalComm2 |Upload error: Upload failed: 'Unable to make thumbnail (0)'.
Posts: 1479
Before I can support you, I must make sure your problem is indeed with gallery remote, rather than your Gallery install. The previous problem was a Gallery configuration problem, for example, and I'm not as well equiped as other forums to help you with those.
Please test that you can successfully upload pictures using the 'add photo' button onn Gallery (ie, without using Gallery Remote at all).
Posts: 8194
If you get 'Unable to make thumbnail(0)', also put Gallery into debug mode (config wizard, step 2) and post the verbose error..
Posts: 8
I now got a little wiser...But this problem I can't figure a solution to
Processing status...
- Adding Lucky Luke.jpg
Executing:
/usr/local/netpbm/bin/jpegtopnm /home/Morten/html/www.blackchart.dk/albums/album08/Lucky_Luke.jpg | /usr/local/netpbm/bin/pnmscale -xysize 150 150 | /usr/local/netpbm/bin/ppmtojpeg --quality=60 > /home/Morten/html/www.blackchart.dk/albums/album08/Lucky_Luke.thumb.jpg
Results:
none
Error messages::
/usr/local/netpbm/bin/jpegtopnm: error while loading shared libraries: libnetpbm.so.10: cannot open shared object file: No such file or directory
/usr/local/netpbm/bin/pnmscale: error while loading shared libraries: libnetpbm.so.10: cannot open shared object file: No such file or directory
/usr/local/netpbm/bin/ppmtojpeg: error while loading shared libraries: libnetpbm.so.10: cannot open shared object file: No such file or directory
Status: 127 (expected 0)
Error: Unable to make thumbnail (0)!
Need help? Look in the Gallery FAQ
I tried reinstalling NetPBM...Same prob...
Posts: 1479
This is definitely not a Gallery Remote problem then. I can either move this topic to the Gallery Troubleshooting forum, or you can seek help there also, and if you're nice report the results here .
Your call. In any case, that forum will be able to support you much more effectively.
Posts: 77
I had the Error: Unable to make thumbnail (0) error too with 1.4pl1 (running under Linux, php 4.3.0) but it was my mistake(
didn't put the starting / before the path home/blabla/netpbm;-)
Maybe you can check this too, though I hope you're not as stupid as I am (after a dozend gallery installations..... *bg*)
Nick