Pages (2): 1 2   
Member
Member
drafter   2009-05-24, 14:50
#1

Hi!
I´m sure this is a very common issue: I would like "zenphoto" to appear on my website as a category NOT named "zenphoto" as it is by default. Simply renaming the folder of Zenphoto in my webspace won´t do this - I anticipate...
I guess I have to change some php scripts... As you already might have realized, I´m not really a programmer Integrating zenphoto into my website as it is explained on Zenphoto.org seems a bit too complicated and exceed my programming skills
(Please take this as a proof, that I´ve used the forum search

By the way, your software is really fantastic - Thank you very much for helping a noob!

Member
Member
Freester   2009-05-24, 16:12
#2

When you do the setup the results will give you a clue.

Mine is under mydomain/gallery (rather than /zenphoto). All you have to change is change the RewriteBase entry in the .htaccess under the main directory.

Therefore in mine instead of

RewriteBase /zenphoto

I have

RewriteBase /gallery

HTH

Administrator
Administrator
acrylian   2009-05-24, 16:16
#3

You actually only need to change the folder ZEnphoto is in and then run setup again. That will change the htaccess file. Also Zenphoto runs also fine in the root.

Member
Member
drafter   2009-05-24, 19:10
#4

Wow you guys helped me really fast, thank you very much, both of you!
And if it´s that simple I feel also a bit embarrassed...

Again, thanks a lot!

Member
Member
lorenzo816   2009-06-04, 18:14
#5

I just updated from 1.? to 1.25
Its haveing a few issues.
I'll start with the first:

I've changed this:

!!! Change this to the web path (eg: http://www.yourwebsite.com/photos --> /photos) !!!


RewriteBase /zenphoto


and nothing is right I can get to the admin area but nothing else.
plus there are a few issues with my setup.php...
I'll get to those in a minute.
To this:

!!! Change this to the web path (eg: http://www.yourwebsite.com/photos --> /photos) !!!


RewriteBase /photos

Administrator
Administrator
acrylian   2009-06-04, 18:17
#6

Where did you actually install Zenphoto? The rewritebase needs to be the folder you installed Zenphoto to. If you installed in the root of your site no folder is needed then just leave the "/".

Member
Member
lorenzo816   2009-06-04, 18:24
#7

its not in the root.
its in mydomain.com/photos/

it used to work before I upgraded - I knew I should have saved a copy of my htaccess file!

Administrator
Administrator
acrylian   2009-06-04, 19:17
#8

It should work with the standard htaccess file and actually setup should take care of that.

Member
Member
lorenzo816   2009-06-04, 20:28
#9

when I run this:
...../photos/zp-core/setup.php

I get a bunch of issues.


PHP magic_quotes_gpc [is enabled]


PHP mbstring package [Your internal characater set is ISO-8859-1]
Warning!


Strict Permissions [is not in effect]


Zenphoto core files [Some files are missing or their filemtimes seem out of variance]
Warning!

Perhaps there was a problem with the upload. You should check the following files:
.htaccess
themes/default/404.php
themes/default/album.php
themes/default/archive.php
themes/default/image.php
themes/default/images/50percent.png
themes/default/images/img-bg.gif
themes/default/images/tag.png
themes/default/index.php
themes/default/search.php
themes/default/slideshow-controls.png
themes/default/slideshow.css
themes/default/slideshow.php
themes/default/styles/dark.css
themes/default/styles/light.css
themes/default/styles/sterile-dark.css
themes/default/styles/sterile-light.css
themes/default/theme.png
themes/default/themeoptions.php
themes/default/theme_description.php
themes/effervescence_plus/404.php
themes/effervescence_plus/album.php
themes/effervescence_plus/archive.php
themes/effervescence_plus/contact.php
themes/effervescence_plus/customfunctions.php
themes/effervescence_plus/gallery.php
themes/effervescence_plus/image.php
themes/effervescence_plus/images/25percent.png
themes/effervescence_plus/images/50percent.png
themes/effervescence_plus/images/50percentwhite.png
themes/effervescence_plus/images/arrow_right.png
themes/effervescence_plus/images/dark-bullet.png
themes/effervescence_plus/images/dark_arrow_right.png
themes/effervescence_plus/images/err-passwordprotected.gif
themes/effervescence_plus/images/imageDefault.png
themes/effervescence_plus/images/logo.png
themes/effervescence_plus/images/multimediaDefault.png
themes/effervescence_plus/images/search.png
themes/effervescence_plus/images/slimbox/closelabel.gif
themes/effervescence_plus/images/slimbox/loading.gif
themes/effervescence_plus/images/slimbox/nextlabel.gif
themes/effervescence_plus/images/slimbox/prevlabel.gif
themes/effervescence_plus/images/smooth/carrow1.gif
themes/effervescence_plus/images/smooth/carrow2.gif
themes/effervescence_plus/images/smooth/fleche1.gif
themes/effervescence_plus/images/smooth/fleche1.png
themes/effervescence_plus/images/smooth/fleche2.gif
themes/effervescence_plus/images/smooth/fleche2.png
themes/effervescence_plus/images/smooth/loading-bar-black.gif
themes/effervescence_plus/images/smooth/open.gif
themes/effervescence_plus/images/smooth/open.png
themes/effervescence_plus/images/zen-logo.jpg
themes/effervescence_plus/index.php
themes/effervescence_plus/indexpage.php
themes/effervescence_plus/jd.gallery.css
themes/effervescence_plus/news.php
themes/effervescence_plus/pages.php
themes/effervescence_plus/request.php
themes/effervescence_plus/scripts/bluranchors.js
themes/effervescence_plus/scripts/jd.gallery.js
themes/effervescence_plus/scripts/jd.gallery.set.js
themes/effervescence_plus/scripts/jd.gallery.transitions.js
themes/effervescence_plus/scripts/mootools.v1.11.js
themes/effervescence_plus/scripts/slimbox.js
themes/effervescence_plus/scripts/swfobject.js
themes/effervescence_plus/search.php
themes/effervescence_plus/sidebar.php
themes/effervescence_plus/simpleviewer.swf
themes/effervescence_plus/slideshow-controls.png
themes/effervescence_plus/slideshow.css
themes/effervescence_plus/slideshow.php
themes/effervescence_plus/slimbox.css
themes/effervescence_plus/styles/blue and green play.css
themes/effervescence_plus/styles/effervescence.css
themes/effervescence_plus/styles/free chocolates.css
themes/effervescence_plus/styles/kish-my father.css
themes/effervescence_plus/styles/machu picchu.css
themes/effervescence_plus/styles/oktoberfest.css
themes/effervescence_plus/styles/poolside.css
themes/effervescence_plus/styles/see you again.css
themes/effervescence_plus/theme.jpg
themes/effervescence_plus/themeoptions.php
themes/effervescence_plus/theme_description.php
themes/example/404.php
themes/example/album.php
themes/example/archive.php
themes/example/image.php
themes/example/index.php
themes/example/search.php
themes/example/slideshow-controls-old.png
themes/example/slideshow-controls.png
themes/example/slideshow.css
themes/example/slideshow.php
themes/example/tag.png
themes/example/theme.png
themes/example/themeoptions.php
themes/example/theme_description.php
themes/example/zen.css
themes/stopdesign/404.php
themes/stopdesign/album.php
themes/stopdesign/css/comments-hide.css
themes/stopdesign/css/comments-show.css
themes/stopdesign/css/custom.css
themes/stopdesign/css/master.css
themes/stopdesign/css/photos.css
themes/stopdesign/gallery.php
themes/stopdesign/image.php
themes/stopdesign/images/50percent.png
themes/stopdesign/images/bg_gal.gif
themes/stopdesign/images/bg_gal.png
themes/stopdesign/images/bg_page.jpg
themes/stopdesign/images/bg_path.gif
themes/stopdesign/images/bg_shadow.png
themes/stopdesign/images/bg_slide.gif
themes/stopdesign/images/bg_slide.png
themes/stopdesign/images/bg_slide_sm.gif
themes/stopdesign/images/bg_slide_sm.png
themes/stopdesign/images/btn_add_a_comment.gif
themes/stopdesign/images/btn_all_favorites.gif
themes/stopdesign/images/btn_gallery_archive.gif
themes/stopdesign/images/btn_go.gif
themes/stopdesign/images/btn_hide.gif
themes/stopdesign/images/btn_preview.gif
themes/stopdesign/images/btn_rss.gif
themes/stopdesign/images/btn_save.gif
themes/stopdesign/images/btn_show.gif
themes/stopdesign/images/btn_submit.gif
themes/stopdesign/images/btn_view_gallery.gif
themes/stopdesign/images/bullet_white.gif
themes/stopdesign/images/canon_sd10.jpg
themes/stopdesign/images/divider_l.gif
themes/stopdesign/images/divider_l.png
themes/stopdesign/images/divider_r.gif
themes/stopdesign/images/divider_r.png
themes/stopdesign/images/err-passwordprotected.gif
themes/stopdesign/images/icon_pushpin.gif
themes/stopdesign/images/imageDefault.png
themes/stopdesign/images/moreslide_next.gif
themes/stopdesign/images/moreslide_prev.gif
themes/stopdesign/images/photonav_next.gif
themes/stopdesign/images/photonav_next.png
themes/stopdesign/images/photonav_prev.gif
themes/stopdesign/images/photonav_prev.png
themes/stopdesign/images/slide_minis.gif
themes/stopdesign/images/txt_backward.gif
themes/stopdesign/images/txt_forward.gif
themes/stopdesign/index.php
themes/stopdesign/js/comments.js
themes/stopdesign/js/rememberMe.js
themes/stopdesign/normalizer.php
themes/stopdesign/search.php
themes/stopdesign/slideshow-controls.png
themes/stopdesign/slideshow.css
themes/stopdesign/slideshow.php
themes/stopdesign/theme.png
themes/stopdesign/themeoptions.php
themes/stopdesign/theme_description.php
themes/zenpage-default/404.php
themes/zenpage-default/album.php
themes/zenpage-default/archive.php
themes/zenpage-default/footer.php
themes/zenpage-default/gallery.php
themes/zenpage-default/image.php
themes/zenpage-default/images/50percent.png
themes/zenpage-default/images/arrow_right.gif
themes/zenpage-default/images/body.jpg
themes/zenpage-default/images/footer.jpg
themes/zenpage-default/images/header.jpg
themes/zenpage-default/images/img-bg.gif
themes/zenpage-default/images/tag.png
themes/zenpage-default/index.php
themes/zenpage-default/news.php
themes/zenpage-default/pages.php
themes/zenpage-default/search.php
themes/zenpage-default/sidebar.php
themes/zenpage-default/slideshow-controls.png
themes/zenpage-default/slideshow.css
themes/zenpage-default/slideshow.php
themes/zenpage-default/style.css
themes/zenpage-default/theme.png
themes/zenpage-default/themeoptions.php
themes/zenpage-default/theme_description.php
Zenphoto.package
zp-core/index.php


I checked my setup.php before I upgraded and had no issues.
So what Gives?

Administrator
Administrator
acrylian   2009-06-05, 07:31
#10

1 .magic_quotes is recommend to be disabled. But should not harm Zenphoto in general.
2. mbstring package: As written on setup this is only needed if you use none european character sets as these may not display correctly without it.
3. Strict permission: There should be a description about this. Also please read the troubleshooting entry about permissions.
4. Probably no problem either. Setup checks filetimes to find wrong and outdated files. Sometimes that varys on servers. Or you did not replace the older theme versions with the new ones.

Member
Member
lorenzo816   2009-06-05, 11:11
#11
  1. thanks
  2. thanks
  3. Thanks and I was going to solve the first issue first.
  4. this probably has to do with the application seeing /zp-core/ on the root and not in the /photos/ directory.
    I did put up all new stuff except albums and cache.

I'm going to try this again.

Member
Member
lorenzo816   2009-06-05, 13:33
#12

okay I dumped everything - again.
all except the albums and cache.
but FIRST!!! I changed the htaccess file to point to:

RewriteBase /photos/

Then I ran setup.php

I'm still getting the first 3 which you said were no big deal.

but it saying there is a problem with my htaccess file and can't find or has as version issue with the /locale/si_SL/ folder/files???

Quote:Zenphoto core files [Some files are missing or their filemtimes seem out of variance]
Warning!

Perhaps there was a problem with the upload. You should check the following files:
.htaccess
zp-core/locale/sl_SI
On my mac, I use WIZZARD to view .htacess and edit in texteditor or dreamweaver with no problems.
Today, I edited the .htaccess via a web panel editor in dreamhost - NOT windows as it disappears on the remote using dreamweaver.

Member
Member
lorenzo816   2009-06-05, 13:44
#13

Okay I fixed it!!!! OKay NO NOT REALLY.
I noticed that every time I ran the setup.php it would overwrite my changes to the .htacess file. So that was not cool.
So I said Fuck it and continued.
Then I edit the file: zp-config.php here: line 69 and 70.
uncomment these lines and put in the pathways without the last '/' in the folder name:

define('WEBPATH', '/photos'); define('SERVERPATH', '/seriously/full/complete/serverpath/to/photos/yourdomain.com/photos');
then I noticed lovely errors on the setup.php page.
screw it - I continued and hit [b]GO[/b].
Once inside the admin area I noticed that the TAB navigation links were NOW pointing to the /photos directory and not the root. Success so far.
So I clicked around a bit and everything seemed good.
Except when I went to View the Gallery.
The pics were gone.
So I edited the htacess file rewrite to point to /photos
and refreshed the page. Thumbnails appeared!

But when I click to view a gallery it just spins!!!!
This is the entire reason why I upgraded.
I started noticing that my load times were crap or not at all.

Please help me get this working correctly again!

Also if I type in a direct URL for a subfolder, it goes to the index of the gallery even though the URL says it should be one deeper.
WTH!?!?!

Administrator
Administrator
acrylian   2009-06-05, 14:06
#14

The rewrite base should be /photos if that is the folder Zenphoto is in. No slash at the end! Setup actually determines the folder automatically so that it overwrites your changes if they are considered wrong. I do not know Wizzard although on Mac, too. I use Textwrangler (free) for htaccess editing.

Did you check that the modrewrite option is checked? Try commenting out the manual webpath and serverpath defines, too. Also please check your server error log.

Member
Member
lorenzo816   2009-06-05, 15:49
#15

I commented out the lines 69 and 70 in the zp-config file and reuploaded.
Ran setup.php again.
Basically same issue but at least it finds the Themes files.

I can get to the admin area but the TAB links are not right.
and the gallery links are not right either.
It thinks everything is on the root!
It is NOT. The whole zenphoto install is inside /photos.

Member
Member
lorenzo816   2009-06-05, 15:56
#16

UPDATE!!!
I added these lines to the .htaccess file:

AddHandler phpFive .php
Action phpFive /cgi-system/php5.cgi

It appears as if the PHP5.2 is running but has some archaic hangover from php4.
I DO NOT KNOW WHY!

It is working so far and will update if I see any other issues.

Member
Member
lorenzo816   2009-06-05, 16:03
#17

main index.php gallery page loads but not sub-galleries.
Just keeps spinning.
I went to admin and refreshed data and pre-cached everything.
If it does load sub-galleries the Link back to the main is '/' and is a directory denied error. Shouldn't the application know to go to index.php?

I know have added a directory index.php code to the .htacess

Still spinning......

okay took it out again.... still spinning but /photos/ goes nowhere.

Administrator
Administrator
acrylian   2009-06-05, 16:32
#18

Zenphoto actually runs on php4, too. So that can't be the issue. Maybe you should check if your server has modrewrite enabled or enabled correctly. I can't reproduce your issue. Maybe you should post a link to your site and also some phpinfo details.

Member
Member
lorenzo816   2009-06-05, 18:03
#19

I wrote support at dreamhost and asked them the question.
I also enabled fastCGI.
does that have anything to do with it?

also I'm at g mail if you'd like to email me

Administrator
Administrator
acrylian   2009-06-05, 18:08
#20

Php as fastcgi runs actually fine. I am sorry I don't know Dreamhost (I am not from the US) and what may be special there.

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