PDA

View Full Version : Gallery Not Working?



sidorak95
04-13-2008, 04:41 PM
Recently, I upgrade my Gallery to 2.2.4. When I finished the upgrade, the images weren't showing. I looked on Gallery's site but no help there. The only support was paid support so I looked on the forums and found no help there. Anyone have any clues of what's going on? The site is: www.fungamesuniverse.com/images/ . Thanks!

shadmego
04-13-2008, 05:35 PM
The only advise I can give you is to check your paths to the images. I don't know if this information is stored in the database or in some file somewhere, but it looks like the image path got messed up in the upgrade somehow.

Have you tried running the install script again?

~regards

bac
04-14-2008, 07:30 AM
There's a gallery2 command line utility to import your pics in place, that'll bind the paths to the files.

pghcollectibles
04-14-2008, 08:49 PM
this is what i see for the path to the picture active worlds:

src="main.php?g2_view=core.DownloadItem&g2_itemId=59&g2 _serialNumber=1"

i assume the & will be viewed as & but im not used to seeing it that way in code

you may want to look how main.php processes the globals, similar to what shadmego said just hopefully a little more specific

oweiler
08-20-2008, 10:44 PM
I had the same problem but with a brand new install of gallery 2.2.4 using the fantastico script section. What was weird was that when I "view source" and attempted to view the thumbnails and images with a new browser window, I could easily get the images.

That prompted me to go looking in the gallery setup. Being a newbie to gallery2, I did a lot of clicking around but finally found something that fixed the problem: add the base domain name to the allowed referrer fields.

In my installation, "www.example.com" was already filled in and greyed out (presumably to make sure you don't delete it). When I added "example.com" to my allowed referrer list, all the images showed up. You can find the "allowed referrer" list when you log in as an admin, then go to site admin, then "URL rewrite", then "setup" tab.

Now here's the weird thing: just to make sure I could reproduce the problem to make sure what I did fixed it, I removed the "example.com" entry and it worked! I cleared my cache, tossed my cookies and it still worked. To me, that defies all logic.

I know this is an old thread but I'm posting anyway in case this helps somebody...