Error: Server contacted but Gallery not found at this URL
rambling man
Joined: 2006-10-16
Posts: 7 |
Posted: Thu, 2007-01-25 16:49 |
Hi people, I'm not particulary interested in using GR to upload images, I'm mainly concerned with the fact that when I try to use the 'Fullscreen Slideshow' function, either from within my Wordpress embedded verion or standalone I get the dreaded "Error: Server contacted but Gallery not found at this URL (http://www.southerns.net/shadowshow/main.php)" problem. I've tried creating the fake 'gallery_remote2.php' file to return a 404, but this doesn't seem to help - although when I navigate to http://www.southerns.net/shadowshow/gallery_remote2.php I get a blank page which puzzles me. I've tried deleting and re-installing the relevant modules. I've also updated my Gallery to 2.2 rc1. The other thing which puzzles me is that I have an almost identical installation here - http://www.ruralramblings.co.uk/blog/wp-gallery2.php where the Fullscreen Slideshow works fine. Thank you for your patience, I hope to hear from you soon because it's driving me ever so slightly potty |
|
Posts: 1479
Right, as long as http://www.southerns.net/shadowshow/gallery_remote2.php gives you anything else than a 404 error, you'll be in trouble...
--
Gallery Remote developer
Posts: 7
Hi paour,
thanks for your speedy reply and for your attention.
I realised there may be something amiss with the fake gallery_remote2.php file, but I created it as per the instructions in the FAQs. i.e. included the brief snippet of php in a new file named as above. I then uploaded it via Dreamweaver and there it sits in the gallery2 folder (named 'shadowshow' on the server).
I seem to have followed the instructions to the letter, but is it possible that I've somehow missed something out? (I'm perfectly prepared to believe I have - I'm a php novice.) I wonder, should there be any other text in the uploaded file like a doctype or html of any sort? Alternatively is it possible that Dreamweaver or Windows or Apache or the server itself are altering the uploaded file in any way?
Furthermore, there is no fake gallery_remote2.php file in my other site's installation (www.ruralramblings.co.uk) yet the fullscreen slideshow works fine. I wonder why this could be?
All suggestions will be extremely gratefully recieved
Posts: 1479
It's hard (at least for me) to understand why one install will generate 404 errors and another will not. Maybe a difference in how Apache is set up, or with the rewrite rules, or the rewrite module. Can you access the http logs?
What's odd is, if I browse to http://www.southerns.net/shadowshow/g.php, I get a page which says 404 error, and the HTTP response is indeed a 404 error.
Same if [i]I browse to http://www.ruralramblings.co.uk/gallery_remote2.php...
--
Gallery Remote developer
Posts: 7
Hi paour, thanks for sticking with me - sorry my reply is a bit slow, I'm in the UK.
Your observations are indeed pretty puzzling. It's as though maybe the server isn't liking the 'header ()' function?
My sites are on 1and1 shared servers and regrettably they don't allow access to the apache error logs. They do offer a way of creating your own error logs for debugging php scripts. I added their code to the gallery_remote2.php script and nothing seemed to happen, certainly I was unable to find any error.csv generated by it.
Feeling inexplicably slightly more confident with my php, I then tried to use the header function to redirect to my blog's 404 page - to no avail.
I tried turning rewrite off within gallery to see if that helped, but that was pretty messy and ultimately unsuccessful.
Being a tenacious chap, I'm keen to try and get the bottom of this, but I suspect I may be at the stage where I need to try re-installing Gallery from scratch unless you can shed provide any further insights into my dilemma?
Kind regards
Posts: 7
OK finally fixed my gallery problem.
After an unsuccessful complete fresh install of Wordpress 2.1 and Gallery 2.2 which left me with the same problem I had before, I reasoned that because my other site was still working maybe I should check to see what differences there were with the installations.
I noticed that my other site was still running Blackjack (G2.1 not G2.2) so I removed all trace of G2.2 and deleted the contents of the database. I then installed Blackjack from scratch and magically my problem was gone
Sadly I don't know enough about the relevant differences between G2.2 and 2.1 so I'm unable to explain it, but this approach has indeed worked. Maybe someone clevere than I, could shed some light on the subject for me?