Page 1 of 1
Gallery2 problem
Posted: Sat Dec 15, 2007 7:02 pm
by chigo58
Hello,
I have a problem getting gallery2 to show a random photo using the Unified Sidebar Image Display. Following a correct setup my side bar displays the following error:
ERROR: The HTTP server returned the error or the warning(result:500).
The version are the following:
Serendipity 1.1.4 and PHP 4.3.11
Gallery2 2.2.3
(Both are installed successfully through
godaddy hosting connection
Site url:
http://mysite.com/content/
Gallery url:
http://mysite.com/gallery2
What is this server error? Am I missing something here?
Please help if you can, thanks
Re: Gallery2 problem
Posted: Sat Dec 15, 2007 7:05 pm
by garvinhicking
Hi!
Your actual URL would help, of course. Else we cannot check your site
Also tell us how exactly you configured the plugin. It might be you specified a wrong URL there.
Regards,
Garvin
Posted: Sat Dec 15, 2007 7:13 pm
by chigo58
Course... the urls are
Code: Select all
http://sliemascouts.org/content
http://sliemascouts.org/gallery2

Posted: Sat Dec 15, 2007 7:47 pm
by garvinhicking
Hi!
The plugin calls this URL:
http://sliemascouts.org/gallery2/main.p ... andomImage
However your gallery2 says, the action is forbidden. Maybe you first need to enable g2 so that it is allowed to execute external embedding?!
Regards,
Garvin
Posted: Sat Dec 15, 2007 7:59 pm
by chigo58
Thanks --- can you point me in the right direction as to what setting I must change?
However your gallery2 says, the action is forbidden. Maybe you first need to enable g2 so that it is allowed to execute external embedding?!
Code: Select all
Cookies +
When Gallery is embedded in another application (portal, CMS, forum, etc.), then you have the choice between two options. Everyone else does not have to care about the cookie settings. Read on for more details.
If your Gallery is embedded and you leave the following fields empty, then all DownloadItem links (the URLs of the images and other items) in the embedded Gallery have an appended GALLERYSID string in the URL which is a minor security risk when your Gallery users start copy'n'pasting image URLs in forums, guestbooks, etc. The alternative is to set the cookie path. Gallery will then not append the GALLERYSID to the embedded DownloadItem URLs. E.g. when Gallery is reachable at http://www.example.com/application/gallery2/ and the embedding application is at http://www.example.com/application/, then you have to compare the path /application/gallery2/ with /application/. The cookie path is the part of the paths that is equal, in this case it is '/application/'. Most often it is just '/'.
The cookie domain is also only needed for embedded Gallery installs and only if you want to get rid of the GALLERYSID string in the embedded DownloadItem URLs. In most cases, the cookie domain can be left blank. Set it only, if Gallery and the embedding application are only reachable with different subdomains. E.g. when Gallery is at http://photos.example.com/ and the application is at http://www.example.com/, then you have to set the cookie domain example.com (the part of the host string that is common to both, Gallery and the embedding application).
Once you change the cookie settings, all registered users of your Gallery will have to clear their browser cookie cache. If they do not, they will experience login / logout / lost session problems.
Path:
Domain:
Is it the above perhaps?
Posted: Sun Dec 16, 2007 11:50 pm
by garvinhicking
Hi!
Phew, sadly I don't use gallery so I'm not familiar with that appplication's settings. Maybe you can ask for help in the gallery forums? Show them the URL I gave you and ask them which settings could be responsible for the error screen?
Regards,
Garvin
Posted: Mon Dec 17, 2007 9:24 am
by chigo58
Problem solved
Enlightenment found here
http://gallery.menalto.com/node/43379
do you have the image block module in G2 installed and activated?
Go to the plugins section and install the block module plugin

Posted: Mon Dec 17, 2007 11:06 am
by garvinhicking
Hi!
Great, thanks for posting the solution
Have fun,
Garvin