ZenphotoCMS Forum
How to install ZenPhoto on DreamHost: A Guide! - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: How to install ZenPhoto on DreamHost: A Guide! (/thread-310.html)

Pages: 1 2 3


How to install ZenPhoto on DreamHost: A Guide! - bensp - 2006-02-19

Easy Installation of ZenPhoto on DreamHost
±±±±±±±±

  • Log in to DreamHost control panel (do this first, as it takes a few mins to set up)
  • Click on goodies -> mysql and create a db
  • Whilst in the control panel go to domains -> manage domains, under the web hosting column, click [Edit].
    When the page loads tick the box next to PHP5, and click the "Change fully hosted settings now!" button.

The effects will take a few minutes to propagate in your web server (5 to 10 mins). be patient! in the mean time:

Follow the instructions on the page, whilst also reading these instructions! There are some changes you need to make!

  • (1) In your ftp client move to the 'zen' folder and rename config.php.example to config.php
    Open the config.php file and edit it, changing the details to their appropriate values, IMPORTANT!:


    $conf['mysql_host'] = "localhost"; // Probably won't need to change this.


    as a Dreamhost user, you DO have to change this, as Dreamhost holds the databases on a different server, so therefor change it to database_name.site_name.com

  • (2) Change the RewriteBase from '/zp' to '/your_folder_name'
  • (3) Change the permissions on the 'albums' and 'cache' folders to 777, as per the instructions
  • (4) Refresh the page you had open earlier: http://www.yoursiteurl.com/the_folder_you_put_it_in/zen/setup.php logging in and click 'Go!'

Congratulations, you just got zenphoto working

I installed a new copy of ZP to test the installation instructions of my new ZP theme, Stoppeddesign, which you can look at here and download here, enjoy! ;D




How to install ZenPhoto on DreamHost: A Guide! - 3stripe - 2006-02-19

Sweet, testing now :-D




How to install ZenPhoto on DreamHost: A Guide! - 3stripe - 2006-02-19

Still got exactly the same problem...

I'm at http://www.tonguengroove.co.uk/zenphoto/

Have changed rewrite base to /zenphoto, chmodded to 777, switched to php5.

None of the links work and there's no styling at all.... have I missed something stupid :-?




How to install ZenPhoto on DreamHost: A Guide! - bensp - 2006-02-19

Are you using DreamHost? I know your main site is, but DreamHost is American and doesnt host .co.uk (I know because I've looked), you can only point .co.uk's towards them?

Other than that, not really sure.. to me, it looks like htaccess isnt setup properly?
have you changed your RewriteBase in the .htaccess to /zenphoto?




How to install ZenPhoto on DreamHost: A Guide! - 3stripe - 2006-02-19

Yeah I'm hosted with Dreamhost, I've just changed the DNS settings for a domain I registered in the UK....

My .htaccess is changed, it looks like this:

`# !!! Change this to the absolute path !!!

RewriteBase /zenphoto`




How to install ZenPhoto on DreamHost: A Guide! - bensp - 2006-02-19

Really not sure, I tried the guide above again and it worked for me. Maybe its beacause Im installing ZP again on the same account for some reason? Maybe search the forum and see if anyone else has had the same problem?




How to install ZenPhoto on DreamHost: A Guide! - 3stripe - 2006-02-19

Not sure if it's because I've got 4 domains hosted on my space. Argghh.




How to install ZenPhoto on DreamHost: A Guide! - trisweb - 2006-02-21

In addition to this fix, you may also need to manually change the WEBPATH constant. Put this line somewhere in config.php:

define('WEBPATH','/zenphoto')

This is a rather dumb bug that might get fixed soon.

I'm stickying this thread since Dreamhost installations seem to be a common problem.




How to install ZenPhoto on DreamHost: A Guide! - 3stripe - 2006-02-22

Sweet, define('WEBPATH','/zenphoto') has fixed the problem.

With the addition of this it is actually a 2 step install.

Without it it was a a major headache, but seeing as this is a beta that's cool with me :-D




How to install ZenPhoto on DreamHost: A Guide! - trisweb - 2006-02-22

Yep, I knew it... [bonks head on wall for stupid bug]. It'll be fixed soon.




How to install ZenPhoto on DreamHost: A Guide! - 3stripe - 2006-02-25

dude are you helping program zenphoto?

big up! it's a nice gallery tool, one of the best, i spent months looking for something that could work as nicely as flickr and i think you're pretty darn close now...




How to install ZenPhoto on DreamHost: A Guide! - matchstik - 2006-02-26

I was having a similar problem as 3stripe, as in the gallery would load, but there was no theme, and problem with links, so I added
define('WEBPATH','/zenphoto')

And now I have an error
Parse error: parse error, unexpected T_VARIABLE in /...userroot.../zenphoto/zen/config.php on line 17

Also, I'm using Zenphoto 1.0.1b if that changes anything. The config.php did say that web_path was no longer needed though.




How to install ZenPhoto on DreamHost: A Guide! - matchstik - 2006-02-26

Fixed using help from the path errors thread.




How to install ZenPhoto on DreamHost: A Guide! - Bunglegirl - 2006-02-27

I just wanted to thank you for this. I tried to install a few weeks ago and gave up. There was just a few little things that I needed to play around with to get it to work. It's good to note that when you say /zenphoto you mean /name_of_folder_you_created (mine is /gallery for instance). Sounds basic but Dreamhost is the most complicated server I've ever tried to work with.

Thanks!




How to install ZenPhoto on DreamHost: A Guide! - rodmartin - 2006-03-11

THANK YOU! - wow... that was almost very frustrating.




How to install ZenPhoto on DreamHost: A Guide! - trisweb - 2006-04-08

Everyone should upgrade to the newest version 1.0.2 if still having problems with dreamhost. Pathing issues should be all but gone




How to install ZenPhoto on DreamHost: A Guide! - bensp - 2006-04-08

amazing, thanks trisweb




How to install ZenPhoto on DreamHost: A Guide! - chill392 - 2006-04-13

Thanks!




How to install ZenPhoto on DreamHost: A Guide! - 3stripe - 2006-04-25

First question when trying to fix someone's computer:
Is it plugged in?

First question when trying to fix a someone's website:
Is it hosted by Dreamhost?

Haha.




How to install ZenPhoto on DreamHost: A Guide! - danimaldanimal - 2006-12-12

Sheeeesh! I've done all these things and I still can't get it work. 'Bout ready to give it up. Just because I am a Dreamhost customer this is impossible? Doesn't seem right.

Do NEED to be running PHP5...

Quote:When the page loads tick the box next to PHP5..
...to run Zenphoto. I have been with Dreamhost for awhile now and have set up two different pieces of blog software on their servers and have never had this much of a problem.

(I can't even use the forum tags it seems. I put the "code" in "backticks" but no....) (They mean stuff you want to look like code, not actual HTML tags -trisweb)