Hi
I'm a newbie, so if this is a silly question, I apologise!
I've set up Zenphoto and Zenpage with the default Zenpage theme. It all worked brilliantly and I was delighted.
I then moved the location of all of it on my host, and now Zenpage isn't working. It' generating urls for pages and news that can't be found.
Any ideas what I've broken?
Thanks
Mike
Hi
Thanks for the swift reply - really appreciated!
Yes I re-ran setup after moving (by the way the tutorial is very helpful). Zenphoto works just fine, its Zenpage that doesn't.
Tried turning off the mod_rewrite option. That's changed the url its looking for, but it's still not finding anything.
Is there an equivalent 'setup' to run for Zenpage?
Mike
As a further thought, the url it's trying to find for a News item is 'http://www.mikemccormac.co.uk/zenphoto/index.php?p='.
Does that help in any way?
Thanks again
Mike
Hi
Checked that, and both news page name and pages page name were blank, so I made them news.php and pages.php.
It's still not opening either News or Pages - though the url looks a bit more promising. It's now http://www.mikemccormac.co.uk/zenphoto/index.php?p=pages.php&title=Searching-this-site for a page called 'Searching this site'.
In the text it describes changing the .htaccess file. If its any help, the text in mine as it relates to Zenpage is:
RewriteRule ^pages/?$ index.php?p=pages [L,QSA]
RewriteRule ^pages/(.)/?$ index.php?p=pages&title=$1 [L,QSA]
RewriteRule ^news/?$ index.php?p=news [L,QSA]
RewriteRule ^news/([0-9]+)/?$ index.php?p=news&page=$1 [L,QSA]
RewriteRule ^news/category/(.)/([0-9]+)/?$ index.php?p=news&category=$1&page=$2 [L,QSA]
RewriteRule ^news/category/(.)/?$ index.php?p=news&category=$1 [L,QSA]
RewriteRule ^news/archive/(.)/([0-9]+)/?$ index.php?p=news&date=$1&page=$2 [L,QSA]
RewriteRule ^news/archive/(.)/?$ index.php?p=news&date=$1 [L,QSA]
RewriteRule ^news/(.)/?$ index.php?p=news&title=$1 [L,QSA]
Thanks again
Mike
Thanks Acrylian - that's worked and its brilliant. Thank you so much for your help!
Mike
Is the option for naming the pages page and news page in the zenpage plugin tab removed in the latest builds? I can't find the fields anywhere. (It's for changing news.php and pages.php to my native language)
Edit: I read that this function is removed after 1.4. Why was it removed anyway? I thought it was a nice option for language implementing. Any way to force the name change by editing any of the core files? Or would I have to edit practically all of them? Sounds like a bad idea but I would like to try because a lot of links is broken now.
For others with the same need: It's simpler to add rewrite rules in .htaccess:
RewriteRule ^index.php?p=tekster&title=(.)$ index.php?p=news&title=$1
RewriteRule ^tekster/(.)$ index.php?p=news&title=$1
"tekster" is the name given to news.php earlier.