Pages (3): 1 2 3   
Member
Member
bensp   19-02-2006, 18:13
#1

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

Member
Member
3stripe   19-02-2006, 18:52
#2

Sweet, testing now :-D

Member
Member
3stripe   19-02-2006, 19:10
#3

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 :-?

Member
Member
bensp   19-02-2006, 19:16
#4

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?

Member
Member
3stripe   19-02-2006, 19:21
#5

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`

Member
Member
bensp   19-02-2006, 19:37
#6

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?

Member
Member
3stripe   19-02-2006, 19:56
#7

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

Developer
Developer
trisweb   21-02-2006, 01:32
#8

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.

Member
Member
3stripe   22-02-2006, 17:54
#9

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

Developer
Developer
trisweb   22-02-2006, 22:02
#10

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

Member
Member
3stripe   25-02-2006, 00:36
#11

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...

Member
Member
matchstik   26-02-2006, 21:21
#12

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.

Member
Member
matchstik   26-02-2006, 23:05
#13

Fixed using help from the path errors thread.

Member
Member
Bunglegirl   27-02-2006, 02:48
#14

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!

Junior Member
Junior Member
rodmartin   11-03-2006, 02:53
#15

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

Developer
Developer
trisweb   08-04-2006, 17:41
#16

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

Member
Member
bensp   08-04-2006, 18:36
#17

amazing, thanks trisweb

Junior Member
Junior Member
chill392   13-04-2006, 01:00
#18

Thanks!

Member
Member
3stripe   25-04-2006, 14:32
#19

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.

Member
Member
danimaldanimal   12-12-2006, 19:39
#20

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)

Pages (3): 1 2 3   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.