Hi guys, ..
my gallery is successfully installed on fabse.bealive.de but if i try to upload a picture via the java gallery remote i will get an error like :
"Error: Server contacted, but Gallerie not found on this url .."
is there any fix for that problem ? im running gallery 2 rc 2 by the way
fkelly
Joined: 2005-12-05
Posts: 37
Posted: Mon, 2005-12-05 18:38
Running Gallery 1.5.1 after upgrading from 1.4.4 to attempt to solve the problem referenced, "server contacted but Gallery not found at this location ... gallery_remote2.php". This error happens trying to run a slideshow full screen or trying to use either applet mode for uploading. I am running Gallery embedded in PHPnuke. I have quoted (1) the exact message, the relevant portion of the java log and the relevant portion of the web log below. Interesting that the java log doesn't think that the referer is sent because I believe it is, I've checked both Firefox and my firewall and they aren't stopping it. Interesting too: I've been running this stably in Gallery 1.4.4 for almost a year. I do believe I've seen the error messages a few times but generally it runs fine: we have over 1000 pictures uploaded this way. I upgraded from Nuke 7.4 to 7.6 last week and the problems started. However, during the upgrade I didn't touch Gallery. To try to fix the problems I deleted everything in Gallery but the albums, installed the latest 1.x version of Gallery I could find, went thru all the installation screens and upgraded my albums, fooled with setting permissions etc. Right now Gallery runs okay except for the remote but I haven't checked everything yet.
Looking at the logs it confounds me that Gallery is looking for a /cms/com/Gallery directory and subdirectories of that. They sure don't exist on my server. Anyway, here they are and any help will be appreciated:
827391|TRACE|GalComm2 |Connecting to: http://webmhcc.org/v-web/portal/cms/modules.php?op=modload&name=Gallery&file=index&include=gallery_remote2.php
827391|TRACE|GalComm2 |Path: /v-web/portal/cms/modules.php?op=modload&name=Gallery&file=index&include=gallery_remote2.php
827391|TRACE|GalComm |Sending cookie: user="commented out"; path=/; domain=.webmhcc.org
828047|TRACE|GalComm2 |<b>Warning:</b> your browser doesn't send the HTTP_REFERER header to the website.<br>This can be caused due to your browser, using a proxy server or your firewall.<br>Please change browser or turn off the use of a proxy<br>or turn off the 'Deny servers to trace web browsing' in your firewall<br>and you shouldn't have problems when sending a POST on this website.
828047|ERROR|GalComm2 |com.gallery.GalleryRemote.GR2Exception: Server contacted, but Gallery not found at this URL ( http://webmhcc.org/v-web/portal/cms/modules.php?op=modload&name=Gallery&file=index&include=gallery_remote2.php )
at com.gallery.GalleryRemote.GalleryComm2.requestResponse(GalleryComm2.java:1350)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.login(GalleryComm2.java:383)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.run(GalleryComm2.java:282)
at java.lang.Thread.run(Unknown Source)
[client 72.226.59.71] File does not exist: /home/webmhcco/.panel/web/portal/cms/com/gallery/GalleryRemote/util/OsShutdown.class [Mon Dec 5 10:22:50 2005] [error] [client 72.226.59.71] File does not exist: /home/webmhcco/.panel/web/portal/cms/com/gallery/GalleryRemote/util/OsShutdown.class [Mon Dec 5 10:22:38 2005] [error] [client 72.226.59.71] File does not exist: /home/webmhcco/.panel/web/portal/cms/modules/Gallery/css/images/tab_bottom.gif [Mon Dec 5 10:09:19 2005] [error] [client 72.226.59.71] File does not exist: /home/webmhcco/.panel/web/portal/cms/com/gallery/GalleryRemote/util/OsShutdown.class [Mon Dec 5 10:09:19 2005] [error] [client 72.226.59.71] File does not exist: /home/webmhcco/.panel/web/portal/cms/com/gallery/GalleryRemote/util/OsShutdown.class [Mon Dec 5 10:09:16 2005] [error] [client 72.226.59.71] File does not exist: /home/webmhcco/.panel/web/portal/cms/com/drew/imaging/jpeg/JpegProcessingException.class [Mon Dec 5 10:09:16 2005] [error] [client 72.226.59.71] File does not exist: /home/webmhcco/.panel/web/portal/cms/com/drew/imaging/jpeg/JpegProcessingException.class [Mon Dec 5 10:09:05 2005] [error] [client 72.226.59.71] File does not exist: /home/webmhcco/.panel/web/portal/cms/com/gallery/GalleryRemote/resources/GRResources_en_US.properties
Note: next day, I wrote a php program to display the referer on the web site. Firefox is correctly sending the referer information to the web site so something in the Java program is screwing up in detecting this.
Also note: the form based upload method works correctly.
fkelly
Joined: 2005-12-05
Posts: 37
Posted: Tue, 2005-12-06 18:14
For what it's worth: the slideshow works in Gallery standalone mode but doesn't work when Gallery is accessed as a module in PHPnuke. Same error as above, can't find gallery_remote2.php. I captured the log files for when it succeeds (standalone) and for when it fails as PHPnuke. Don't want to post them here but I will email them to tech support if you request it. The differences that I can see are that as a Nuke module the following is shown in the trace:
whereas in the standalone the corresponding line shows:
679297|INFO |GRApplet |gr_url_full: null
Then it appears that in the Nuke case the applet tries to login as the Nuke user (using cookie information) and I think fails whereas in the standalone case it just logs in as a Gallery_user and succeeds. So maybe this is where things go nuts for the Nuke case. As indicated, I will email the logs if you want them.
fkelly
Joined: 2005-12-05
Posts: 37
Posted: Wed, 2005-12-07 03:24
And just to save another step ... the upload using the applet works in standalone mode but not when Gallery is accessed thru Nuke. In standalone mode it asks me to login and I use the admin id and password for Gallery and then the applet upload works fine. In Nuke mode I get the error I listed a couple of messages back. I am trying to trace back thru the programs that Gallery uses to do all this and see if there is anything screwed up with logging in a nuke user but of course it's complicated when you don't know what the exact calling sequence is and have to figure everything out by putting little echo statements in and following them.
arcnet
Joined: 2005-12-08
Posts: 11
Posted: Thu, 2005-12-08 17:40
I think my most recent topic is also related to this issue :
Posts: 1
Hi guys, ..
my gallery is successfully installed on fabse.bealive.de but if i try to upload a picture via the java gallery remote i will get an error like :
"Error: Server contacted, but Gallerie not found on this url .."
is there any fix for that problem ? im running gallery 2 rc 2 by the way
Posts: 37
Running Gallery 1.5.1 after upgrading from 1.4.4 to attempt to solve the problem referenced, "server contacted but Gallery not found at this location ... gallery_remote2.php". This error happens trying to run a slideshow full screen or trying to use either applet mode for uploading. I am running Gallery embedded in PHPnuke. I have quoted (1) the exact message, the relevant portion of the java log and the relevant portion of the web log below. Interesting that the java log doesn't think that the referer is sent because I believe it is, I've checked both Firefox and my firewall and they aren't stopping it. Interesting too: I've been running this stably in Gallery 1.4.4 for almost a year. I do believe I've seen the error messages a few times but generally it runs fine: we have over 1000 pictures uploaded this way. I upgraded from Nuke 7.4 to 7.6 last week and the problems started. However, during the upgrade I didn't touch Gallery. To try to fix the problems I deleted everything in Gallery but the albums, installed the latest 1.x version of Gallery I could find, went thru all the installation screens and upgraded my albums, fooled with setting permissions etc. Right now Gallery runs okay except for the remote but I haven't checked everything yet.
Looking at the logs it confounds me that Gallery is looking for a /cms/com/Gallery directory and subdirectories of that. They sure don't exist on my server. Anyway, here they are and any help will be appreciated:
Error: Server contacted, but Gallery not found at this URL ( http://webmhcc.org/v-web/portal/cms/modules.php?op=modload&name=Gallery&file=index&include=gallery_remote2.php )
827391|TRACE|GalComm2 |Connecting to: http://webmhcc.org/v-web/portal/cms/modules.php?op=modload&name=Gallery&file=index&include=gallery_remote2.php
827391|TRACE|GalComm2 |Path: /v-web/portal/cms/modules.php?op=modload&name=Gallery&file=index&include=gallery_remote2.php
827391|TRACE|GalComm |Sending cookie: user="commented out"; path=/; domain=.webmhcc.org
828047|TRACE|GalComm2 |<b>Warning:</b> your browser doesn't send the HTTP_REFERER header to the website.<br>This can be caused due to your browser, using a proxy server or your firewall.<br>Please change browser or turn off the use of a proxy<br>or turn off the 'Deny servers to trace web browsing' in your firewall<br>and you shouldn't have problems when sending a POST on this website.
828047|ERROR|GalComm2 |com.gallery.GalleryRemote.GR2Exception: Server contacted, but Gallery not found at this URL ( http://webmhcc.org/v-web/portal/cms/modules.php?op=modload&name=Gallery&file=index&include=gallery_remote2.php )
at com.gallery.GalleryRemote.GalleryComm2.requestResponse(GalleryComm2.java:1350)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.login(GalleryComm2.java:383)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.run(GalleryComm2.java:282)
at java.lang.Thread.run(Unknown Source)
828047|INFO |GalComm2 |Error: Server contacted, but Gallery not found at this URL ( http://webmhcc.org/v-web/portal/cms/modules.php?op=modload&name=Gallery&file=index&include=gallery_remote2.php )
828063|TRACE|GalComm2 |Failed to log in to http://webmhcc.org/v-web/portal/cms/modu...
843281|INFO |GRApplet |Shutting down log
From Web server log
[client 72.226.59.71] File does not exist: /home/webmhcco/.panel/web/portal/cms/com/gallery/GalleryRemote/util/OsShutdown.class [Mon Dec 5 10:22:50 2005] [error] [client 72.226.59.71] File does not exist: /home/webmhcco/.panel/web/portal/cms/com/gallery/GalleryRemote/util/OsShutdown.class [Mon Dec 5 10:22:38 2005] [error] [client 72.226.59.71] File does not exist: /home/webmhcco/.panel/web/portal/cms/modules/Gallery/css/images/tab_bottom.gif [Mon Dec 5 10:09:19 2005] [error] [client 72.226.59.71] File does not exist: /home/webmhcco/.panel/web/portal/cms/com/gallery/GalleryRemote/util/OsShutdown.class [Mon Dec 5 10:09:19 2005] [error] [client 72.226.59.71] File does not exist: /home/webmhcco/.panel/web/portal/cms/com/gallery/GalleryRemote/util/OsShutdown.class [Mon Dec 5 10:09:16 2005] [error] [client 72.226.59.71] File does not exist: /home/webmhcco/.panel/web/portal/cms/com/drew/imaging/jpeg/JpegProcessingException.class [Mon Dec 5 10:09:16 2005] [error] [client 72.226.59.71] File does not exist: /home/webmhcco/.panel/web/portal/cms/com/drew/imaging/jpeg/JpegProcessingException.class [Mon Dec 5 10:09:05 2005] [error] [client 72.226.59.71] File does not exist: /home/webmhcco/.panel/web/portal/cms/com/gallery/GalleryRemote/resources/GRResources_en_US.properties
Note: next day, I wrote a php program to display the referer on the web site. Firefox is correctly sending the referer information to the web site so something in the Java program is screwing up in detecting this.
Also note: the form based upload method works correctly.
Posts: 37
For what it's worth: the slideshow works in Gallery standalone mode but doesn't work when Gallery is accessed as a module in PHPnuke. Same error as above, can't find gallery_remote2.php. I captured the log files for when it succeeds (standalone) and for when it fails as PHPnuke. Don't want to post them here but I will email them to tech support if you request it. The differences that I can see are that as a Nuke module the following is shown in the trace:
0035297|TRACE|GRApplet |Full URL: http://webmhcc.org/v-web/portal/cms/modules.php?op=modload&name=Gallery&file=index&include=gallery_remote2.php
whereas in the standalone the corresponding line shows:
679297|INFO |GRApplet |gr_url_full: null
Then it appears that in the Nuke case the applet tries to login as the Nuke user (using cookie information) and I think fails whereas in the standalone case it just logs in as a Gallery_user and succeeds. So maybe this is where things go nuts for the Nuke case. As indicated, I will email the logs if you want them.
Posts: 37
And just to save another step ... the upload using the applet works in standalone mode but not when Gallery is accessed thru Nuke. In standalone mode it asks me to login and I use the admin id and password for Gallery and then the applet upload works fine. In Nuke mode I get the error I listed a couple of messages back. I am trying to trace back thru the programs that Gallery uses to do all this and see if there is anything screwed up with logging in a nuke user but of course it's complicated when you don't know what the exact calling sequence is and have to figure everything out by putting little echo statements in and following them.
Posts: 11
I think my most recent topic is also related to this issue :
http://gallery.menalto.com/node/41273