Problem after installing on subdomain

Phoca Gallery - image gallery extension
1303i
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 11 Mar 2010, 14:32

Problem after installing on subdomain

Post by 1303i »

I have a problem after installing the gallery on the subdomain. I can not create a category (and use other similar buttons on the toolbar), due to the fact that the path in the address bar isn't constructed correctly.
Subdomain is a folder on the main server. So the site "subdomain.site.com" is in folder "site.com/subdomain".
When I click "Create a category" in the toolbar of the gallery IExplorer shows the address "www.subdomain.site.com/subdomain/index.php?bla-bla-bla". That is the combined sub-domain name and path to folder of subdomain. I get an error 500 - view not found (phocagallerycs, html, phocagalleryView). All other components on the site are working properly.
How to correct address?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem after installing on subdomain

Post by Jan »

Hi, no idea what can be wrong there. Phoca Gallery doesn't create the links, they are created by Joomla! framework, so there should be not a problem :-( :-( :idea:

Jan
If you find Phoca extensions useful, please support the project
1303i
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 11 Mar 2010, 14:32

Re: Problem after installing on subdomain

Post by 1303i »

Okay, I'll try to find it myself. Thank you for your reply.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem after installing on subdomain

Post by Jan »

Ok, If you will find something, please let me know,

thank you, Jan
If you find Phoca extensions useful, please support the project
1303i
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 11 Mar 2010, 14:32

Re: Problem after installing on subdomain

Post by 1303i »

I've still not found a solution. All actions with the gallery i have to do through the mysql as buttons in the admin's part of the gallery give the wrong address and error. :cry:
WinterRG
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 21 May 2010, 08:31

Re: Problem after installing on subdomain

Post by WinterRG »

Try adding the var $live_site variable in your configuration.php to suit your sub-domain. If the server is nor well configured for (sub-)domains without the "www." it can give problems with URL's. This is common on Plesk and some older cPanel servers.
1303i
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 11 Mar 2010, 14:32

Re: Problem after installing on subdomain

Post by 1303i »

I have it written a long time. It does not help.
Post Reply