Error: Server contacted, but gallery not found at this URL (

fluor

Joined: 2003-12-01
Posts: 68
Posted: Thu, 2005-04-28 21:04

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

I have this error message if I upload LARGE files (like an mpg over 10mb)..

i think its related to a timeout. .where can i run it? i run php and apache

 
StanVanDam

Joined: 2003-07-19
Posts: 19
Posted: Sun, 2005-05-01 23:13

I have this problem also. My gallery install is fresh and movie files over approximately 10MBs do not work with Gallery Remote, but they work when I upload normally via my web browser using form-based uploads. I changed 2 values inside .htaccess file inside my gallery root folder:

php_value post_max_size 512M
php_value upload_max_filesize 512M

This also matches my php.ini file. Also, in my Apache's httpd.conf, I have:

<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 536870912
</Files>

Does anyone know how to make Gallery Remote upload large files properly?

---
Gallery version: 1.5
Gallery remote version: 1.4.2-b15
Apache version: Apache/2.0.50 (Win32)
PHP version: 4.3.10
Graphics Toolkit: ImageMagick-6.2.2-Q16
Operating system: Windows XP Corporate Edition SP2 Build 2600

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Mon, 2005-05-02 07:20

Most likely, uploads with the forms (not the applet or Gallery Remote) also fail. In that case, please post in the general troubleshooting forum.

 
StanVanDam

Joined: 2003-07-19
Posts: 19
Posted: Mon, 2005-05-02 17:09

No, like I said, the files that don't work via Gallery Remote work when I manually do it via the applet. I have confirmed this numerous times before I posted.

 
StanVanDam

Joined: 2003-07-19
Posts: 19
Posted: Sun, 2005-05-08 18:28

So.. any ideas, suggestions? Need any more information from me? It would be nice if I didn't have to upload these large movie files manually, as they are dispersed randomly throughout my picture albums..

 
fluor

Joined: 2003-12-01
Posts: 68
Posted: Tue, 2005-05-10 17:48

this also happens when i try to upload locally

 
StanVanDam

Joined: 2003-07-19
Posts: 19
Posted: Sat, 2005-05-14 18:34

Gallery Remote developers, any help please?

 
fluor

Joined: 2003-12-01
Posts: 68
Posted: Sat, 2005-05-14 22:59

I found that i had no post_max_size in my php.ini

Thus php defaults to max 8M upload...

I added post_max_size = 100M

and now it works. Strange errormessage though.

 
StanVanDam

Joined: 2003-07-19
Posts: 19
Posted: Tue, 2005-05-17 01:16

I commented out the 5 php_value settings in the /gallery/.htaccess, and changed the various limits in my php.ini from 512M to 200M. Now Gallery Remote can send large files (between 10-30MBs worked so far) intermittently. Sometimes it will hang on the "Preparing to upload..." screen, and sometimes when I click OK and immediately retry again, it works fine. Other times I get the error message at the start of this thread after the upload and server processing goes through. Very strange problem indeed. Uploading via the website form (not Gallery Remote) still works perfectly fine with all file sizes..

 
codethink

Joined: 2005-11-05
Posts: 1
Posted: Sat, 2005-11-05 20:48

I created an .htaccess file in the Gallery2 directory with the following command:

RewriteEngine Off

I'm using joomla as my CMS and my root directy has an .htaccess file which uses the RewriteEngine On param.

Good luck!

 
ntbone

Joined: 2007-11-27
Posts: 4
Posted: Tue, 2007-11-27 17:07

I tried advice given by fluor and it worked just fine. I was using gallery remote to upload pictures and they work now. I never changed anything for .htaccess

 
mrsplat06

Joined: 2006-12-31
Posts: 19
Posted: Tue, 2007-12-25 21:38

Server contacted, but Gallery not found at this URL

I followed the instructions in the install documentation and I'm still getting the same error:

force GR to connect to G2 without first trying to check if the Gallery is a G1 installation: in your GalleryRemote.properties file, add this line:
forceGalleryVersion.n=2
where n is the number that matches your Gallery URL in the file.

Please advise