Member
Member
dabisaleh   2015-10-26, 23:22
#1

Hello, I have installed ZENPHOTO on a Domain Name and now I added another Domain Name, I can only see the first page. The albums gives an error message.

The directory on the webserver is the same.
The working URL is http://domain.com/ZenPhoto
The new is http://newdomain.com/

I can run from the newdomain.com/zp-core/admin.php name, the setup.php gives an error message line 26.

I am new to zenphoto, any help is appreciated.
Thank you

Administrator
Administrator
acrylian   2015-10-26, 23:43
#2

You have to decide if you want to run Zenphoto from a folder (http://domain.com/ZenPhoto) or under a domain root (http://domain.com/). You can't have both as that are really different paths.

You can run under two domains so you have to either move Zenphoto out of the folder of the first or direct the first domain to the folder so it becomes the root.

Also you should make one domain the main domain for SEO reasons to avoid duplicate content so the additional domains should link to the main domain.

(Btw, this all is not really Zenphoto specific)

Member
Member
dabisaleh   2015-10-27, 00:45
#3

Thank you're very much. I am a bit confused. The 2 domain names point to the same folder on the server. In fact, I don't want anymore the http://domain.com/ZenPhoto but I want http://newdomain.com/ both domains are hosted on the same server and uses same folder. Regards.

Administrator
Administrator
acrylian   2015-10-27, 10:05
#4

If you have an url http://domain.com/ZenPhoto the domain is not pointing to the folder.
You have to set the folder "ZenPhoto" as the root of that domain, too. You probably can do that somewhere on your webhost interface.

Member
Member
dabisaleh   2015-10-27, 11:00
#5

Problem solved by editing manually the .htaccess file.
Thank you,

Administrator
Administrator
acrylian   2015-10-27, 12:16
#6

Re-running setup also updates the htaccess file. That now fixes newdomain.com. But if you have Zenphoto still accessibley domain.com/ZenPhoto that will now not work anymore. To get the other domain as well you have to make it accessibly by domain.com/

Member
Member
dabisaleh   2015-11-02, 16:22
#7

Thank you Acrylian, but running //newdomain.com/zp-core/setup.php gives an error message line 26. I still have weired issues with it. But for now I can live with it.

http://www.newdomain.com/zp-core/admin-options.php?action=saveoptions

Warning: copy(/home/USERNAME/public_html/FOLDERNAME/cache/.htaccess): failed to open stream: Permission denied in /home/USERNAME/public_html/DOMAINNAME/zp-core/admin-options.php on line 275

Warning: Cannot modify header information - headers already sent by (output started at /home/USERNAME/public_html/NEWDOMAINNAME/zp-core/admin-options.php:275) in /home/USERNAME/public_html/NEWDOMAINNAME/zp-core/admin-options.php on line 449

Administrator
Administrator
acrylian   2015-11-02, 18:19
#8

If your site is still set to the domain.com/zenphoto folder in the htaccess file that will not work. If you want to run it under both domains it must be in the root of both domains.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.