[Plugin: NextGEN Gallery] Incorrect Album/Gallery URL
-
I’ve run across a problem getting to work at the most basic level. I’ve simply tried to add a gallery to a post as per the examples listed on the sample blog and no luck. It seems to be making at least 1 assumption, if not more.
First, lib/nggallery.lib.php:732 is not using siteurl as it should:
$url = get_option('home'). "/". $this->slug;Then the URL comes out looking like this:
http://s1n.dyndns.org/nggallery/page-568/album-1/gallery-3/
This assumes I have my wordpress install set to the docroot, which is not the case. Playing with this line of code, I can correct it to this:
$url = get_option('blogurl'). "/index.php/". $this->slug;That at least shows the gallery when clicked, but not much else is working.
Here’s an example with the upstream code:
Notice the URL there is different than what NextGen seems to be expecting. If anyone needs to see the contents of my NextGen tables, I’m happy to provide that as well. I’m self hosting (obviously) and I don’t keep my blog under docroot. If anyone has any ideas, I’m all ears.
The topic ‘[Plugin: NextGEN Gallery] Incorrect Album/Gallery URL’ is closed to new replies.