Error: Server contacted, but Gallery not found at this URL

lewkir

Joined: 2005-03-12
Posts: 1
Posted: Sat, 2005-03-12 04:25

Hello,

I'm trying to install Gallery (v1.4.4-pl6) for the first time. I ran the configuration wizard, setup my album directory, and then tried to upload images.

When creating an album, I can upload the first photo fine. Any additional images I try to upload gives me a popup saying:

Error: Server contacted, but Gallery not found at this URL
(http://<url to gallery>/gallery/gallery_remote2.php)

I get this message with both little and big java applet.

Read the FAQ and didn't see anything pertaining to this. Any help/pointers would be greatly appreciated.

Much thanks.

----
The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version: v1.4.4-pl6
Apache version: 1.3.31
PHP version (don't just say PHP 4, please): 5.0.2
Graphics Toolkit: ImageMagick 6.2.0 and netPBM installed
Operating system: client-side (XP) server-side (2.6.10-gentoo-r6)
Web browser/version (if applicable): Firefox 1.0.1

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sat, 2005-03-12 21:30

[Moved to Gallery remote forum]

 
hrm018
hrm018's picture

Joined: 2005-03-17
Posts: 3
Posted: Thu, 2005-03-17 20:36

h0bbel, Someone had just asked, "I'm trying to install Gallery (v1.4.4-pl6) for the first time. I ran the configuration wizard, setup my album directory, and then tried to upload images.

When creating an album, I can upload the first photo fine. Any additional images I try to upload gives me a popup saying:

Error: Server contacted, but Gallery not found at this URL
(http://<url to gallery>/gallery/gallery_remote2.php)

I get this message with both little and big java applet. "

I am having the same problem and I noticed that you had replied with hopefully a solution, although it did not say what you said. If you could please help me out as well I would greatly appreciate it.

Thank you! :lol:

 
hrm018
hrm018's picture

Joined: 2005-03-17
Posts: 3
Posted: Thu, 2005-03-17 22:28

lewkir, hi I was wander if you have ever figure it out about the

Error: Server contacted, but Gallery not found at this URL
(http://<url to gallery>/gallery/gallery_remote2.php)

I am having the same problem, do you think you could help me out?
Thank you :P

 
trellick

Joined: 2005-03-25
Posts: 1
Posted: Fri, 2005-03-25 10:26

Gallery: v1.4.4-pl6
Gallery Remote: 1.4.1
Apache Server: 2.0.50
PhP Version: 4.3.7
Operating System: Win2k3
Web Browser: FireFox 1.0.1
Gallery within PhpNuke 7.3

Error message:

Error: Server contacted, but Gallery not found at this URL
(http://<url to gallery>/Gallery/gallery_remote2.php)

Hi there I have the same problem. I have created albums and uploaded via the normal 'Form' method. I input the URL directly into the browser and I receive the message:

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 http://gallery.sourceforge.net

SO this proves that my URL is configured correctly within 'Gallery Remote' , but when attempting to logn, no joy. Any ideas??

 
TopSoftbe

Joined: 2005-03-28
Posts: 15
Posted: Mon, 2005-03-28 22:46

One of my users had the same problem, but only with files greater than 800 KB. All smaller files uploaded normally.
Have you checked your file sizes?
Sorry if it is just a coincidence, but thought it was worth mentioning.

 
jackley

Joined: 2004-11-18
Posts: 8
Posted: Mon, 2005-04-04 21:20

I'm having the same problem. Actually, I get the same error from both my Mac and my PC. The upload applet doesnt work either. I've seen the PHP.ini solution (doesn't help) and the write access solution. I saw one response was that when ever you get the "gallery_remote2.php" error its because Gallery is trying to find a G1 gallery and not a G2, but I don't know how I would fix this if this was the problem. Is this a setting somewhere in a config file, or the admin page? Thanks so much in advance. Anyone have any more ideas?

James

 
mobrien

Joined: 2005-03-18
Posts: 17
Posted: Thu, 2005-04-07 00:00

I am having the same problem. I've searched the forums for about an hour. In the small applet and the "Gallery Remote" big applet I get the same thing, except, when using the small applet, it's not until I try to upload the files that it happens. With the big applet it gives the error when I try to connect to the gallery. I need to use the remote applet because I'm in Australia for the next 3 months and they charge by the amount of data transfer, so I need to resize on the fly.

My details:

PHP Version 4.3.9
MySQL 4.0.21-max
Windows XP SP2 + current security updates
Abyss Web Server X1 (version 2.0.0.20) (works great)
Gallery2 - Dark Fibre (Love it)

This is the first time I've had a problem with Gallery. I really like Gallery2 as opposed to the original (which was also very good) and would like to get it working properly.

Someone please help!!!!

--mobrien

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Thu, 2005-04-07 19:03

mobrien, your problem is with G2. Can you create a different thread?

Can someone else who has this problem attach a GR log file?FAQ Gallery Remote:3

 
Mikechew

Joined: 2005-04-08
Posts: 8
Posted: Sun, 2005-04-10 11:41

0|INFO |SysProps |apple.awt.brushMetalLook= |true|
0|INFO |SysProps |apple.awt.showGrowBox= |false|
0|INFO |SysProps |apple.laf.useScreenMenuBar= |true|
0|INFO |SysProps |awt.toolkit= |sun.awt.windows.WToolkit|
0|INFO |SysProps |com.apple.mrj.application.apple.menu.about.name= |Gallery Remote|
0|INFO |SysProps |file.encoding= |MS950|
0|INFO |SysProps |file.encoding.pkg= |sun.io|
0|INFO |SysProps |file.separator= |\|
0|INFO |SysProps |java.awt.graphicsenv= |sun.awt.Win32GraphicsEnvironment|
10|INFO |SysProps |java.awt.printerjob= |sun.awt.windows.WPrinterJob|
10|INFO |SysProps |java.class.path= |C:\Program Files\Gallery Remote\GalleryRemote.jar;C:\Program Files\Gallery Remote\img;C:\Program Files\Gallery Remote\lib\metadata-extractor-2.1.jar;C:\Program Files\Gallery Remote\lax.jar;|
10|INFO |SysProps |java.class.version= |48.0|
10|INFO |SysProps |java.endorsed.dirs= |C:\Program Files\Java\j2re1.4.2\lib\endorsed|
10|INFO |SysProps |java.ext.dirs= |C:\Program Files\Java\j2re1.4.2\lib\ext|
10|INFO |SysProps |java.home= |C:\Program Files\Java\j2re1.4.2|
10|INFO |SysProps |java.io.tmpdir= |C:\DOCUME~1\jkmchew\LOCALS~1\Temp\|
10|INFO |SysProps |java.library.path= |C:\Program Files\Java\j2re1.4.2\bin;.;C:\WINNT\system32;C:\WINNT;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Common Files\Ulead Systems\MPEG|
10|INFO |SysProps |java.runtime.name= |Java(TM) 2 Runtime Environment, Standard Edition|
10|INFO |SysProps |java.runtime.version= |1.4.2-b28|
10|INFO |SysProps |java.specification.name= |Java Platform API Specification|
10|INFO |SysProps |java.specification.vendor= |Sun Microsystems Inc.|
10|INFO |SysProps |java.specification.version= |1.4|
10|INFO |SysProps |java.util.prefs.PreferencesFactory= |java.util.prefs.WindowsPreferencesFactory|
10|INFO |SysProps |java.vendor= |Sun Microsystems Inc.|
10|INFO |SysProps |java.vendor.url= |http://java.sun.com/|
10|INFO |SysProps |java.vendor.url.bug= |http://java.sun.com/cgi-bin/bugreport.cgi|
10|INFO |SysProps |java.version= |1.4.2|
10|INFO |SysProps |java.vm.info= |mixed mode|
10|INFO |SysProps |java.vm.name= |Java HotSpot(TM) Client VM|
10|INFO |SysProps |java.vm.specification.name= |Java Virtual Machine Specification|
10|INFO |SysProps |java.vm.specification.vendor= |Sun Microsystems Inc.|
10|INFO |SysProps |java.vm.specification.version= |1.0|
10|INFO |SysProps |java.vm.vendor= |Sun Microsystems Inc.|
10|INFO |SysProps |java.vm.version= |1.4.2-b28|
10|INFO |SysProps |lax.application.name= |Gallery Remote.exe|
10|INFO |SysProps |lax.class.path= |GalleryRemote.jar;img;lib/metadata-extractor-2.1.jar;lax.jar|
10|INFO |SysProps |lax.command.line.args= |$CMD_LINE_ARGUMENTS$|
10|INFO |SysProps |lax.dir= |C:\Program Files\Gallery Remote\|
10|INFO |SysProps |lax.main.class= |com.gallery.GalleryRemote.GalleryRemote|
10|INFO |SysProps |lax.main.method= |main|
10|INFO |SysProps |lax.nl.current.vm= |C:\Program Files\Java\j2re1.4.2\bin\java.exe|
10|INFO |SysProps |lax.nl.env.= |::=::\|
10|INFO |SysProps |lax.nl.env.ALLUSERSPROFILE= |C:\Documents and Settings\All Users|
10|INFO |SysProps |lax.nl.env.APPDATA= |C:\Documents and Settings\jkmchew\Application Data|
10|INFO |SysProps |lax.nl.env.COMMONPROGRAMFILES= |C:\Program Files\Common Files|
10|INFO |SysProps |lax.nl.env.COMPUTERNAME= |TSANG-A5FAB6C77|
10|INFO |SysProps |lax.nl.env.COMSPEC= |C:\WINNT\system32\cmd.exe|
10|INFO |SysProps |lax.nl.env.HOMEDRIVE= |C:|
10|INFO |SysProps |lax.nl.env.HOMEPATH= |\Documents and Settings\jkmchew|
10|INFO |SysProps |lax.nl.env.LOGONSERVER= |\\TSANG-A5FAB6C77|
10|INFO |SysProps |lax.nl.env.NUMBER_OF_PROCESSORS= |1|
10|INFO |SysProps |lax.nl.env.OS= |Windows_NT|
10|INFO |SysProps |lax.nl.env.OS2LIBPATH= |C:\WINNT\system32\os2\dll;|
10|INFO |SysProps |lax.nl.env.PATH= |C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Common Files\Ulead Systems\MPEG|
10|INFO |SysProps |lax.nl.env.PATHEXT= |.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH|
10|INFO |SysProps |lax.nl.env.PROCESSOR_ARCHITECTURE= |x86|
10|INFO |SysProps |lax.nl.env.PROCESSOR_IDENTIFIER= |x86 Family 15 Model 1 Stepping 3, GenuineIntel|
10|INFO |SysProps |lax.nl.env.PROCESSOR_LEVEL= |15|
10|INFO |SysProps |lax.nl.env.PROCESSOR_REVISION= |0103|
10|INFO |SysProps |lax.nl.env.PROGRAMFILES= |C:\Program Files|
10|INFO |SysProps |lax.nl.env.SYSTEMDRIVE= |C:|
10|INFO |SysProps |lax.nl.env.SYSTEMROOT= |C:\WINNT|
10|INFO |SysProps |lax.nl.env.TEMP= |C:\DOCUME~1\jkmchew\LOCALS~1\Temp|
10|INFO |SysProps |lax.nl.env.TMP= |C:\DOCUME~1\jkmchew\LOCALS~1\Temp|
10|INFO |SysProps |lax.nl.env.USERDOMAIN= |TSANG-A5FAB6C77|
10|INFO |SysProps |lax.nl.env.USERNAME= |jkmchew|
10|INFO |SysProps |lax.nl.env.USERPROFILE= |C:\Documents and Settings\jkmchew|
10|INFO |SysProps |lax.nl.env.WINDIR= |C:\WINNT|
10|INFO |SysProps |lax.nl.env.allusersprofile= |C:\Documents and Settings\All Users|
10|INFO |SysProps |lax.nl.env.appdata= |C:\Documents and Settings\jkmchew\Application Data|
10|INFO |SysProps |lax.nl.env.commonprogramfiles= |C:\Program Files\Common Files|
10|INFO |SysProps |lax.nl.env.computername= |TSANG-A5FAB6C77|
10|INFO |SysProps |lax.nl.env.comspec= |C:\WINNT\system32\cmd.exe|
10|INFO |SysProps |lax.nl.env.exact_case.= |::=::\|
10|INFO |SysProps |lax.nl.env.exact_case.ALLUSERSPROFILE= |C:\Documents and Settings\All Users|
10|INFO |SysProps |lax.nl.env.exact_case.APPDATA= |C:\Documents and Settings\jkmchew\Application Data|
10|INFO |SysProps |lax.nl.env.exact_case.COMPUTERNAME= |TSANG-A5FAB6C77|
10|INFO |SysProps |lax.nl.env.exact_case.ComSpec= |C:\WINNT\system32\cmd.exe|
10|INFO |SysProps |lax.nl.env.exact_case.CommonProgramFiles= |C:\Program Files\Common Files|
10|INFO |SysProps |lax.nl.env.exact_case.HOMEDRIVE= |C:|
10|INFO |SysProps |lax.nl.env.exact_case.HOMEPATH= |\Documents and Settings\jkmchew|
10|INFO |SysProps |lax.nl.env.exact_case.LOGONSERVER= |\\TSANG-A5FAB6C77|
10|INFO |SysProps |lax.nl.env.exact_case.NUMBER_OF_PROCESSORS= |1|
10|INFO |SysProps |lax.nl.env.exact_case.OS= |Windows_NT|
10|INFO |SysProps |lax.nl.env.exact_case.Os2LibPath= |C:\WINNT\system32\os2\dll;|
10|INFO |SysProps |lax.nl.env.exact_case.PATHEXT= |.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH|
10|INFO |SysProps |lax.nl.env.exact_case.PROCESSOR_ARCHITECTURE= |x86|
10|INFO |SysProps |lax.nl.env.exact_case.PROCESSOR_IDENTIFIER= |x86 Family 15 Model 1 Stepping 3, GenuineIntel|
10|INFO |SysProps |lax.nl.env.exact_case.PROCESSOR_LEVEL= |15|
10|INFO |SysProps |lax.nl.env.exact_case.PROCESSOR_REVISION= |0103|
10|INFO |SysProps |lax.nl.env.exact_case.Path= |C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Common Files\Ulead Systems\MPEG|
10|INFO |SysProps |lax.nl.env.exact_case.ProgramFiles= |C:\Program Files|
10|INFO |SysProps |lax.nl.env.exact_case.SystemDrive= |C:|
10|INFO |SysProps |lax.nl.env.exact_case.SystemRoot= |C:\WINNT|
10|INFO |SysProps |lax.nl.env.exact_case.TEMP= |C:\DOCUME~1\jkmchew\LOCALS~1\Temp|
10|INFO |SysProps |lax.nl.env.exact_case.TMP= |C:\DOCUME~1\jkmchew\LOCALS~1\Temp|
10|INFO |SysProps |lax.nl.env.exact_case.USERDOMAIN= |TSANG-A5FAB6C77|
10|INFO |SysProps |lax.nl.env.exact_case.USERNAME= |jkmchew|
10|INFO |SysProps |lax.nl.env.exact_case.USERPROFILE= |C:\Documents and Settings\jkmchew|
10|INFO |SysProps |lax.nl.env.exact_case.windir= |C:\WINNT|
10|INFO |SysProps |lax.nl.env.homedrive= |C:|
10|INFO |SysProps |lax.nl.env.homepath= |\Documents and Settings\jkmchew|
10|INFO |SysProps |lax.nl.env.logonserver= |\\TSANG-A5FAB6C77|
10|INFO |SysProps |lax.nl.env.number_of_processors= |1|
10|INFO |SysProps |lax.nl.env.os= |Windows_NT|
10|INFO |SysProps |lax.nl.env.os2libpath= |C:\WINNT\system32\os2\dll;|
10|INFO |SysProps |lax.nl.env.path= |C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Common Files\Ulead Systems\MPEG|
10|INFO |SysProps |lax.nl.env.pathext= |.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH|
10|INFO |SysProps |lax.nl.env.processor_architecture= |x86|
10|INFO |SysProps |lax.nl.env.processor_identifier= |x86 Family 15 Model 1 Stepping 3, GenuineIntel|
10|INFO |SysProps |lax.nl.env.processor_level= |15|
10|INFO |SysProps |lax.nl.env.processor_revision= |0103|
10|INFO |SysProps |lax.nl.env.programfiles= |C:\Program Files|
10|INFO |SysProps |lax.nl.env.systemdrive= |C:|
10|INFO |SysProps |lax.nl.env.systemroot= |C:\WINNT|
10|INFO |SysProps |lax.nl.env.temp= |C:\DOCUME~1\jkmchew\LOCALS~1\Temp|
10|INFO |SysProps |lax.nl.env.tmp= |C:\DOCUME~1\jkmchew\LOCALS~1\Temp|
10|INFO |SysProps |lax.nl.env.userdomain= |TSANG-A5FAB6C77|
10|INFO |SysProps |lax.nl.env.username= |jkmchew|
10|INFO |SysProps |lax.nl.env.userprofile= |C:\Documents and Settings\jkmchew|
10|INFO |SysProps |lax.nl.env.windir= |C:\WINNT|
10|INFO |SysProps |lax.nl.java.launcher.main.class= |com.zerog.lax.LAX|
10|INFO |SysProps |lax.nl.java.launcher.main.method= |main|
10|INFO |SysProps |lax.nl.valid.vm.list= |J2|
10|INFO |SysProps |lax.nl.win32.microsoftvm.min.version= |2750|
10|INFO |SysProps |lax.root.install.dir= |C:\Program Files\Gallery Remote|
10|INFO |SysProps |lax.stderr.redirect= ||
10|INFO |SysProps |lax.stdin.redirect= ||
10|INFO |SysProps |lax.stdout.redirect= |console|
10|INFO |SysProps |lax.user.dir= |.|
10|INFO |SysProps |lax.version= |6.0|
10|INFO |SysProps |line.separator= |
|
10|INFO |SysProps |os.arch= |x86|
10|INFO |SysProps |os.name= |Windows 2000|
10|INFO |SysProps |os.version= |5.0|
10|INFO |SysProps |path.separator= |;|
10|INFO |SysProps |sun.arch.data.model= |32|
10|INFO |SysProps |sun.boot.class.path= |C:\Program Files\Java\j2re1.4.2\lib\rt.jar;C:\Program Files\Java\j2re1.4.2\lib\i18n.jar;C:\Program Files\Java\j2re1.4.2\lib\sunrsasign.jar;C:\Program Files\Java\j2re1.4.2\lib\jsse.jar;C:\Program Files\Java\j2re1.4.2\lib\jce.jar;C:\Program Files\Java\j2re1.4.2\lib\charsets.jar;C:\Program Files\Java\j2re1.4.2\classes|
10|INFO |SysProps |sun.boot.library.path= |C:\Program Files\Java\j2re1.4.2\bin|
10|INFO |SysProps |sun.cpu.endian= |little|
10|INFO |SysProps |sun.cpu.isalist= |pentium i486 i386|
10|INFO |SysProps |sun.io.unicode.encoding= |UnicodeLittle|
10|INFO |SysProps |sun.java2d.fontpath= ||
10|INFO |SysProps |sun.os.patch.level= |Service Pack 4|
10|INFO |SysProps |swing.noxp= |true|
10|INFO |SysProps |user.country= |TW|
10|INFO |SysProps |user.dir= |C:\Program Files\Gallery Remote|
10|INFO |SysProps |user.home= |C:\Documents and Settings\jkmchew|
10|INFO |SysProps |user.language= |zh|
10|INFO |SysProps |user.name= |jkmchew|
10|INFO |SysProps |user.timezone= |Asia/Shanghai|
10|INFO |SysProps |user.variant= ||
10|TRACE|PropsFile |Trying to find defaults.properties in Classpath
10|TRACE|PropsFile |Trying to find C:\Documents and Settings\jkmchew\.GalleryRemote\GalleryRemote.properties in Classpath
20|TRACE|PropsFile |Trying to find C:\Documents and Settings\jkmchew\.GalleryRemote\GalleryRemote.properties in Current Working Dir
50|TRACE|UsrProps |aboutText= |Gallery Remote

A part of the Gallery Open-Source Project
http://gallery.sourceforge.net

Maintained by:

Pierre-Luc Paour

Initial version by Chris Smith

Contributors:

Tim Miller
Dolan Halbrook
Markus Cozowicz
Scott Gartner
Amedeo Paglione
Chris Schwerdt
Seth Ladd

Artwork by Ross A. Reyman

Bundled software:

ImageMagick
Java look and feel Graphics Repository icons
jpegtran, Guido Vollbeding's version
MetadataExtractor|
50|TRACE|UsrProps |albumPictureDividerLocation= |180|
50|TRACE|UsrProps |appletDividerLocation= |250|
50|TRACE|UsrProps |appletShowResize= |true|
50|TRACE|UsrProps |captionStripExtension= |false|
50|TRACE|UsrProps |exifAutorotate= |false|
50|TRACE|UsrProps |filedialogPath= |C:\Documents and Settings\jkmchew\My Documents\My Pictures\canontest|
50|TRACE|UsrProps |glGalleryUrl.0= |http://example.com/path/to/gallery/$GALLERYFILE$|
50|TRACE|UsrProps |glLoginUrl.0= |http://example.com/path/to/geeklog/public_html/users.php?loginname=$USERNAME$&passwd=$PASSWORD$|
50|TRACE|UsrProps |htmlEscapeCaptions= |true|
50|TRACE|UsrProps |inspectorDividerLocation= |450|
50|TRACE|UsrProps |loadLastMRU= |false|
50|TRACE|UsrProps |logLevel= |3|
50|TRACE|UsrProps |mainBounds= |0,0,700,650|
50|TRACE|UsrProps |mruCount= |4|
50|TRACE|UsrProps |password.0= |eHVtbWVyMQ==|
50|TRACE|UsrProps |phpnGalleryUrl.0= |http://example.com/modules.php?name=gallery&include=$GALLERYFILE$|
50|TRACE|UsrProps |phpnLoginUrl.0= |http://example.com/modules.php?name=Your_Account&op=login&username=$USERNAME$&user_password=$PASSWORD$|
50|TRACE|UsrProps |pnGalleryUrl.0= |http://example.com/modules.php?op=modload&name=gallery&file=index&include=$GALLERYFILE$|
50|TRACE|UsrProps |pnLoginUrl.0= |http://example.com/user.php?uname=$USERNAME$&pass=$PASSWORD$&module=NS-User&op=login|
50|TRACE|UsrProps |previewBounds= |700,0,500,650|
50|TRACE|UsrProps |previewCacheSize= |10|
50|TRACE|UsrProps |proxyHost= |proxy.host.com|
50|TRACE|UsrProps |proxyPassword= ||
50|TRACE|UsrProps |proxyPort= |80|
50|TRACE|UsrProps |proxyUsername= ||
50|TRACE|UsrProps |releaseDate= |2005/03/01|
50|TRACE|UsrProps |resizeBeforeUpload= |false|
50|TRACE|UsrProps |resizeTo= |0,0|
50|TRACE|UsrProps |resizeTo1= |0|
50|TRACE|UsrProps |resizeToDefault= |600,600|
50|TRACE|UsrProps |resizeToDefault1= |600|
50|TRACE|UsrProps |savePasswords= |true|
50|TRACE|UsrProps |setCaptionsNone= |false|
50|TRACE|UsrProps |setCaptionsWithFilenames= |false|
50|TRACE|UsrProps |setCaptionsWithMetadataComment= |false|
50|TRACE|UsrProps |showPath= |true|
50|TRACE|UsrProps |showPreview= |false|
50|TRACE|UsrProps |showThumbnails= |true|
50|TRACE|UsrProps |slideshowCaptionLocation= |30|
50|TRACE|UsrProps |slideshowDelay= |7|
50|TRACE|UsrProps |slideshowExtraLocation= |24|
50|TRACE|UsrProps |slideshowLowRez= |true|
50|TRACE|UsrProps |slideshowMaxPictures= |0|
50|TRACE|UsrProps |slideshowNoStretch= |false|
50|TRACE|UsrProps |slideshowPreloadAll= |false|
50|TRACE|UsrProps |slideshowProgressLocation= |12|
50|TRACE|UsrProps |slideshowRandom= |false|
50|TRACE|UsrProps |slideshowRecursive= |false|
50|TRACE|UsrProps |slideshowUrlLocation= |0|
50|TRACE|UsrProps |sortType= |1|
50|TRACE|UsrProps |suppressWarningCorrupted= |false|
50|TRACE|UsrProps |suppressWarningIM= |false|
50|TRACE|UsrProps |suppressWarningJava= |false|
50|TRACE|UsrProps |suppressWarningJpegtran= |false|
50|TRACE|UsrProps |thumbnailSize= |64,64|
50|TRACE|UsrProps |toSysOut= |false|
50|TRACE|UsrProps |type.0= |Standalone|
50|TRACE|UsrProps |uiLocale= |en|
50|TRACE|UsrProps |uiLocaleDev= |false|
50|TRACE|UsrProps |updateCheck= |true|
50|TRACE|UsrProps |updateCheckBeta= |true|
50|TRACE|UsrProps |updateUrl= |http://gallery.sourceforge.net/gallery_remote_version_check.php|
50|TRACE|UsrProps |updateUrlBeta= |http://gallery.sourceforge.net/gallery_remote_version_check_beta.php|
50|TRACE|UsrProps |url.0= |http://www.mywebsite/gallery/|
50|TRACE|UsrProps |useJavaResize= |true|
50|TRACE|UsrProps |useProxy= |false|
50|TRACE|UsrProps |username.0= |admin|
50|TRACE|UsrProps |version= |1.4.2-b12|
380|TRACE|PropsFile |Trying to find Gallery Remote.lax in Classpath
380|INFO |Update |LAX classpath up to date
1902|INFO |GRI18n |en
1982|INFO |ImageUtils|tmpDir: C:\DOCUME~1\jkmchew\LOCALS~1\Temp\thumbs
1982|TRACE|PropsFile |Trying to find imagemagick/im.properties in Current Working Dir
2012|INFO |ImageUtils|useIM: true
2012|INFO |ImageUtils|imPath: imagemagick/win32/convert.exe
2012|INFO |ImageUtils|imIgnoreErrorCode: false
2083|TRACE|PropsFile |Trying to find jpegtran/jpegtran.properties in Current Working Dir
2083|INFO |ImageUtils|useJpegtran: true
2083|INFO |ImageUtils|jpegtranPath: jpegtran/win32/jpegtran.exe
2083|INFO |ImageUtils|jpegtranIgnoreErrorCode: false
2093|TRACE|PictInspec|emptyIconHeight: 17
2774|INFO |Gallery |Loaded saved URL 0: http://www.mywebsite/gallery/ (admin/******)
2824|TRACE|MainFrame |updateGalleryParams: current gallery: http://www.mywebsite/gallery/
2824|TRACE|MainFrame |updatePicturesList: current album: null
5978|TRACE|Update |Local release date: Tue Mar 01 00:00:00 CST 2005 new: Thu Aug 26 00:00:00 CST 2004
6940|TRACE|Update |Local release date: Tue Mar 01 00:00:00 CST 2005 new: Tue Mar 01 00:00:00 CST 2005
11346|INFO |MainFrame |Command selected Fetch
12437|TRACE|GalComm |Trying protocol 2 for http://www.mywebsite/gallery/
12948|TRACE|GalComm |tryComm /gallery/gallery_remote2.php: 200
12948|TRACE|GalComm |Server has protocol 2
12978|INFO |MainFrame |fetchAlbums starting
12988|INFO |GalComm2 |Logging in to http://www.mywebsite/gallery/
12988|TRACE|GalComm2 |login parameters: [HTTPClient.NVPair[name=cmd,value=login], HTTPClient.NVPair[name=protocol_version,value=2.3], HTTPClient.NVPair[name=uname,value=admin], null]
12988|TRACE|GalComm2 |Connecting to: /gallery/gallery_remote2.php
13789|TRACE|GalComm2 |<HTML><HEAD><TITLE>Internal Server Error</TITLE><STYLE>body { text-decoration: none; color: #000000; font-family: Arial, Helvetica, sans-serif; font-style: normal; font-size: 12px; font-weight: bold;}a { text-decoration: underline; color: #c50000; font-family: Arial, Helvetica, sans-serif; font-style: normal; font-weight: bold;}a:hover { text-decoration: underline; color: #c50000; font-family: Arial, Helvetica, sans-serif; font-style: normal; font-weight: bold;}</STYLE></HEAD><BODY link='#ff0000' vlink='#ff00000' alink='#ff00000'><b><font face='Arial' size='5'>Internal Server Error</font><br>&</b><table border='1' cellpadding='7' cellspacing='0'style='border-collapse: collapse' bordercolor='#111111' width='62%'bgcolor='#F0F0F0'><tr><td width='100%' height='54'><STRONG><font size='2' face='Arial'><br>File not found.
<br><br></font></STRONG></td></tr></table><br></BODY></HTML>
13789|ERROR|GalComm2 |com.gallery.GalleryRemote.GR2Exception: Server contacted, but Gallery not found at this URL ( http://www.mywebsite/gallery/gallery_remote2.php )
at com.gallery.GalleryRemote.GalleryComm2.requestResponse(GalleryComm2.java:1346)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.login(GalleryComm2.java:387)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.run(GalleryComm2.java:286)
at java.lang.Thread.run(Unknown Source)

13789|INFO |GalComm2 |Error: Server contacted, but Gallery not found at this URL ( http://www.mywebsite/gallery/gallery_remote2.php )
18306|TRACE|GalComm2 |Failed to log in to http://www.mywebsite/gallery/
41299|INFO |MainFrame |Command selected File.Quit
41299|INFO |MainFrame |Shutting down GR
41740|INFO |MainFrame |Shutting down log

Assume mywebsite=xxxx.com

thank you

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Mon, 2005-04-11 06:18

Mikechew, do you indeed have a file http://www.mywebsite/gallery/gallery_remote2.php ?

 
Mikechew

Joined: 2005-04-08
Posts: 8
Posted: Mon, 2005-04-11 13:35

no sir.

please advise where should i get this package of files? (as i don't see this file in the Gallery_remote_1.4.2-b12.zip or GalleryRemote.1.4.1.Win32.NoVM.exe)

thank you,
mike

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Mon, 2005-04-11 13:37

It's normally part of the Gallery installation. If you don't have it, it means your Gallery install is incomplete.

You should reinstall the latest stable Gallery.

Just making sure: you're using G1, right, not G2?

 
Mikechew

Joined: 2005-04-08
Posts: 8
Posted: Mon, 2005-04-11 13:54

i am using G2 (not an upgrade.)

i used to using G1, i tried it without any problem. but now i wish to try G2 so realize it has little bit different with G1.

any advice for me on G2?

thank you in advance. :)

 
bmenking

Joined: 2005-04-11
Posts: 4
Posted: Mon, 2005-04-11 18:55

I have had the same issue with G2 - "Error: Server contacted, but Gallery not found at this URL"

Most likely your webserver is not returning a 404 status code, but a default page or something gallery remote doesn't know what to do with.

I was able to fix this error by creating a file called gallery_remote2.php in the gallery directory (/gallery2 for me) and putting the following code into that file:

<?
header("HTTP/1.0 404 Not Found");
exit;
?>

This got rid of the problem for me. Hope this is helpful.

Ben

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Tue, 2005-04-12 12:16

bmenking, thanks for finding an elegant solution, and thanks for the cross-posting :-)

 
Mikechew

Joined: 2005-04-08
Posts: 8
Posted: Tue, 2005-04-12 13:59
bmenking wrote:
I have had the same issue with G2 - "Error: Server contacted, but Gallery not found at this URL"

Most likely your webserver is not returning a 404 status code, but a default page or something gallery remote doesn't know what to do with.

I was able to fix this error by creating a file called gallery_remote2.php in the gallery directory (/gallery2 for me) and putting the following code into that file:

<?
header("HTTP/1.0 404 Not Found");
exit;
?>

This got rid of the problem for me. Hope this is helpful.

Ben

Hey bmenking
you are really something! great, it really work.

BTW, thank you for paour for being so patient and helpful.

thank you all!
mike

 
bmenking

Joined: 2005-04-11
Posts: 4
Posted: Mon, 2005-04-18 15:40

Your welcome paour. The Gallery Team has great vision and a great product. Keep up the good work!

Ben

 
djspindizzy

Joined: 2004-10-20
Posts: 4
Posted: Wed, 2005-04-20 22:13

this method does not work for me. Are there any other options?

also i already have the gallery_remote2.php file.

 
elmo9286

Joined: 2005-04-20
Posts: 15
Posted: Thu, 2005-04-21 01:45

after much distress i finnally figured out why this was not working for me.

If you are using apache 2.0 try a http/2.0 instead of 1.0 that fixed my problem!

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Thu, 2005-04-21 06:46

Does it also work with http/1.1 ? http 2.0 doesn't exist :-)

 
SloopHim

Joined: 2005-04-25
Posts: 6
Posted: Mon, 2005-04-25 12:48

Has anyone resolved this? I'm running a fresh install of gallery 1.5 and also get the "but Gallery not found at this URL" error message when running the upload applets.

I tried the suggestion to creating a gallery_remote2.php file to return a 404 and it does. I then get...

Error:HTTP POST failed (HTTP 404 Not Found)

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Mon, 2005-04-25 12:58

If you're running Gallery 1.5, then you should have a gallery_remote2.php file already...

 
SloopHim

Joined: 2005-04-25
Posts: 6
Posted: Mon, 2005-04-25 13:22
paour wrote:
If you're running Gallery 1.5, then you should have a gallery_remote2.php file already...

I do have one. I was simply trying the suggested fix. I have put back the original gallery_remote2.php that came with the installation.

When I try and add photos using either of the applets I get...

Quote:
Error: Server contacted, but gallery not found at this URL (http://mysite.com/gallery/gallery_remote2.php)

This is the correct URL for it and if I just point a browser to it I get...

Quote:
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 http://gallery.sourceforge.net

Alan

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Mon, 2005-04-25 17:26

The current G2 CVS has a work-around for servers that report a 200 OK code for missing pages. Right now it only works for applets.

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Mon, 2005-04-25 17:28

SloopHim, can you attach your applet log?

FAQ Gallery Remote:3

 
SloopHim

Joined: 2005-04-25
Posts: 6
Posted: Mon, 2005-04-25 18:45

Do you need the entire thing or are you just looking for this? I would rather not share the site with the world at this time.

Quote:
3471578|ERROR|GalComm2 |com.gallery.GalleryRemote.GR2Exception: Server contacted, but Gallery not found at this URL ( http://mysite.com/gallery/gallery_remote2.php )
at com.gallery.GalleryRemote.GalleryComm2.requestResponse(GalleryComm2.java:1346)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.login(GalleryComm2.java:387)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.run(GalleryComm2.java:286)
at java.lang.Thread.run(Unknown Source)

3471578|INFO |GalComm2 |Error: Server contacted, but Gallery not found at this URL ( http://mysite.com/gallery/gallery_remote2.php )
3471594|TRACE|GalComm2 |Failed to log in to http://mysite.com/gallery/gallery_remo...
3595140|INFO |GRApplet |Shutting down log

Also, I should mention this is wrapped in geeklog and works well with the exception of this issue.

Thanks for the help,
Alan

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Tue, 2005-04-26 07:24

SloopHim, nope that's not enough. You can PM it to me if you want to keep it private.

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Tue, 2005-04-26 16:22

SloopHim, I logged in to your site and ran the slideshow applet with problem. Did you change something?

 
SloopHim

Joined: 2005-04-25
Posts: 6
Posted: Tue, 2005-04-26 17:19

Actually I had never tried that. It's the Applets in "add photo" that don't work. Both "Applet" and "Applet (Big)" give you the "Error: Server contacted, but Gallery not found at this URL ( http://mysite.com/gallery/gallery_remote2.php )" when you click "upload"

Alan

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Tue, 2005-04-26 17:23

SloopHim, OK. I'll need a login to test that. It's strange though, because the error you got should have appeared in the applet I tested, too.

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Tue, 2005-04-26 21:41

SloopHim, you got a funky redirect in there. When GR tries to access http://yoursite.com/gallery/gallery_remote2.php, it gets redirected to "?ssid=blahblah", which is not a valid redirect (Location: headers must be an absolute URI). I guess browsers are more tolerant than the HTTP library GR uses.

 
SloopHim

Joined: 2005-04-25
Posts: 6
Posted: Wed, 2005-04-27 12:08

Now I'm lost. I have to assume geeklog is creating the re-direct but I can't find it anywhere. Was "?ssid=blahblah" the actual redirect? I searched all my code for blahblah and nothing is found.

Do the Applets work for anyone who has Gallery embedded in geeklog?

Alan

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Wed, 2005-04-27 13:26

blahblah is a placeholder for a long string of number.

 
SloopHim

Joined: 2005-04-25
Posts: 6
Posted: Wed, 2005-04-27 13:58

Hmmm, Does the applet pass the userid? perhaps it's being redirected because it doesn't think the user is authenticated? perhaps it's trying to wrap the window that should open showing the progress in geeklog?

I'm basically grasping at straws here. Anyone have any ideas where to look?

 
timf
timf's picture

Joined: 2005-08-22
Posts: 2
Posted: Mon, 2005-08-22 16:29

I'm having the same issue - and I too am wrapped in Geeklog -

I only get the error when I am logged in to Geeklog. If you view a slideshow - not logged in - it works fine. Login however and the slideshow will then give the same error.

You can't upload pics unless you are logged in so there doesn't seem to be a fix for the remote applet uploading.

http://www.friendshuh.com/gallery/

 
Brujo

Joined: 2002-10-26
Posts: 20
Posted: Tue, 2005-08-23 21:34

i have the same issue with phpnuke 7.6 patched 3.1 from nukefixes.com & Gallery 1.5

Quote:
Error: Server contacted, but Gallery not found at this URL ( http://mydomain/modules.php?op=modload&name=gallery&file=index&include=gallery_remote2.php )

i found out that in the mainfile.php the following code breaks the upload,
so it seems for me that the gallery applet doesn't send the HTTP_REFERER header. If i disable this peace of code the upload works fine.

mainfile.php 
// Posting from other servers in not allowed
if ($_SERVER['REQUEST_METHOD'] == "POST") {
  if (isset($_SERVER['HTTP_REFERER'])) {
    if (!stripos_clone($_SERVER['HTTP_REFERER'], $_SERVER['HTTP_HOST'])) {
        die('Posting from another server not allowed!');
    }
  } else {
    die($posttags);
  }
}

any hints ?

 
f33dback

Joined: 2005-07-06
Posts: 21
Posted: Tue, 2005-08-23 22:31
bmenking wrote:
I have had the same issue with G2 - "Error: Server contacted, but Gallery not found at this URL"

Most likely your webserver is not returning a 404 status code, but a default page or something gallery remote doesn't know what to do with.

I was able to fix this error by creating a file called gallery_remote2.php in the gallery directory (/gallery2 for me) and putting the following code into that file:

<?
header("HTTP/1.0 404 Not Found");
exit;
?>

This just gives you the 404 error but doesn't fix the issue of g2 working with remote, I am guessing when I say this because I haven't seen it *anywhere* on this forum but I gather G2 doesn't work with remote.

This got rid of the problem for me. Hope this is helpful.

Ben

 
Brujo

Joined: 2002-10-26
Posts: 20
Posted: Fri, 2005-08-26 12:09

OK its a hint, but if i am right that the gallery remote doesn't send the HTTP_REFERER header, it should be fixed.....

with best regards
Brujo

 
solja

Joined: 2005-07-20
Posts: 10
Posted: Wed, 2005-09-07 00:38

Interesting...

I'm using Apache 2.0 and PHP 5.0.5-dev.

With Gallery2 core 0.9.37, I get "Error: Server contacted, but Gallery not found at this URL" when I try to login with Gallery Remote. If I enable URL rewrite (which includes a rule redirecting gallery_remote2.php to .), I then get "Error: HTTP POST failed (HTTP 404 Not Found)".

I have a separate installation on a different virtual host, but it's a multisite installation of Gallery2 core 0.9.33, URL rewrite enabled, and Gallery Remote works great with it.

Any thoughts?

 
mahie

Joined: 2005-09-07
Posts: 1
Posted: Thu, 2005-09-15 05:58

Following are congiguration on my pc:
Gallery: v1.4.4-pl6
Gallery Remote: 1.4.1
IIS Server: 5.0
PhP Version: 4.3.7
Operating System: Win2k3
Web Browser:Internet Explorer 5.0
Gallery within standalone

Error message:

Error: Server contacted, but Gallery not found at this URL
(http://<url to gallery>/Gallery/gallery_remote2.php)

Hi there I have the same problem. I have created albums and uploaded via the normal 'Form' method. I input the URL directly into the browser and I receive the message:

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 http://gallery.sourceforge.net

SO this proves that my URL is configured correctly within 'Gallery Remote' , but when attempting to logn, no joy. Any ideas??

 
spyromalas

Joined: 2005-10-08
Posts: 1
Posted: Sat, 2005-10-08 20:19

Paor, I too have installed G2 which is located at www.veggiefest.com/gallery2/ When attempting to connect to G2 via GR I got an error message indicating that gallery_remote2.php did not exist. After checking I realized that it did not exist. I created it with the following:
<?
header("HTTP/1.0 404 Not Found");
exit;
?>

After doing this I attempted to connect again and I get HTTP Post failed (HTTP 404 Not found).

Here is what I am running on the hosting platform:
PHP 4.4.0
Apache 1.3.33

Can you recommend any fixes? Thanks for your support in advance.

 
Gruenwald

Joined: 2005-01-26
Posts: 19
Posted: Sun, 2005-10-09 12:59

Hello...

I'm using:
Gallery 1.5_p1
GR 1.5

I am able to access gallery 1.5 on my server using firefox browser from a remote computer, and when I try to open gallery_remote2.php with firefox I get the following page:

Quote:
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 http://gallery.sourceforge.net

When I try to login using GR 1.5 I get:

Quote:
Error: Server contacted, but Gallery not found at this URL (http://*********/gallery/gallery_remote2.php

I will be glad to PM my IP and log if they will be beneficial...

Thanks...

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Mon, 2005-10-10 17:42

Gruenwald, can you indeed PM or attach your URL and log?

--
Gallery Remote developer

 
Gruenwald

Joined: 2005-01-26
Posts: 19
Posted: Mon, 2005-10-10 21:03

paour...

PM sent.

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Tue, 2005-10-11 21:28

Gruenwald, you seem to have copied the gallery_remote2.php file from G1 into G2. That can't work. Either delete that file, or just replace it with the short PHP script as described here: http://gallery.menalto.com/node/27540#comment-128074

--
Gallery Remote developer

 
Gruenwald

Joined: 2005-01-26
Posts: 19
Posted: Wed, 2005-10-12 01:33

paour...

When I use the following script as my gallery_remote2.php file:

<?
header("HTTP/1.0 404 Not Found");
exit;
?>

I get the following GR error:

Quote:
Gallery Remote can find no protocol implementation at the URL http://mywebserver/gallery/. Check with a web browser that http://mywebserver/gallery/ is a valid Gallery URL.

I have copies of gallery_remote.php as well as gallery_remote2.php, both of which were present in my gallery/ directory following install of Gallery 1.5 (I have never installed Gallery 2).

I am really confused as to what is going on because it appears that GR is searching for a gr2.php file residing in a gallery1.5 directory. Is this the way it should be?

The script you suggested has now replaced the original contents of the gallery_remote.php as well as gallery_remote2.php files, until you suggest otherwise.

Thank you for helping with this!

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Wed, 2005-10-12 03:46

Gruenwald, in G1 (Gallery 1.x) you have gallery_remote.php and gallery_remote2.php, but GR 1.5 only looks for gallery_remote2.php.

The suggestion to create the gallery_remote2.php that just sends a 404 error header is only for G2, not G1.

--
Gallery Remote developer

 
Gruenwald

Joined: 2005-01-26
Posts: 19
Posted: Wed, 2005-10-12 11:52

paour... Thank you for that information. I have replaced the 2 original php files into the gallery1.5 directory:

I now have-> -rw-r--r-- 2 root root 7807 Oct 12 06:16 gallery_remote.php which contains:

<?php
/*
 
 *
 * $Id: gallery_remote.php,v 1.25.2.1 2005/03/10 02:29:34 cryptographite Exp $
 */
?>
<?php

require_once(dirname(__FILE__) . '/init.php');

-
-
-
-
I also have-> -rw-r--r-- 1 root root 33564 Oct 12 06:18 gallery_remote2.php containing:

<?php
/*
 
 *
 * $Id: gallery_remote2.php,v 1.70.2.2 2005/04/14 01:48:23 cryptographite Exp $
 */
?>
<?php

require_once(dirname(__FILE__) . '/init.php');

If you wish to see those 2 php files in their entirety, I will be happy to send them, as well.

I get the same GR login error message as before

Quote:
...Gallery not found at this URL...

As a final matter, I am still only able to start GR, using the following command:# java -jar GalleryRemote.jar
Could that play a part in this problem?
-
-
Thanks, once more...

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Wed, 2005-10-12 15:37

Now that you have the normal files, could you attach a GR log of trying to connect?

--
Gallery Remote developer

 
Gruenwald

Joined: 2005-01-26
Posts: 19
Posted: Wed, 2005-10-12 17:12

paour...

I just sent you a copy by PM.

Thanks...