I have a problem with "Pages". I have created a page and its link shows under Pages on the sidebar, but when I open it the page are blank. The weird thing is that news pages shows without any problem. When I view the source of the pages page it is blank. What can the problem be?
I am sorry:-) The version is 1.2.6 with zenpage and the link is: http://trondheimkunsthall.com/sider/Om-oss
As you can see I have changed the "pages" to "sider" but the problem is still there if I change everything back. I renamed the pages.php in the theme folder and in .htaccess in root and on the admin page Options - Plugins - Zenpage.
The entry one the troubleshooting guide is wrong in one part (and the option desc does not mention it), DON'T enter the ".php" suffix, just the new name "sider".
http://www.zenphoto.org/2009/03/troubleshooting-zenpage/#13
Also it may be possible that we have a bug here as this seems to be a rarely used feature. I see if I get the change to reproduce it today.
I renamed News page to tekster and Pages page to sider in admin, then I renamed them manually in the zenpage theme folder in ftp, then I changed the .htaccess to:
RewriteRule ^sider/?$ index.php?p=sider [L,QSA]
RewriteRule ^sider/(.)/?$ index.php?p=sider&title=$1 [L,QSA]
RewriteRule ^tekster/?$ index.php?p=tekster [L,QSA]
RewriteRule ^tekster/([0-9]+)/?$ index.php?p=tekster&page=$1 [L,QSA]
RewriteRule ^tekster/category/(.)/([0-9]+)/?$ index.php?p=tekster&category=$1&page=$2 [L,QSA]
RewriteRule ^tekster/category/(.)/?$ index.php?p=tekster&category=$1 [L,QSA]
RewriteRule ^tekster/archive/(.)/([0-9]+)/?$ index.php?p=tekster&date=$1&page=$2 [L,QSA]
RewriteRule ^tekster/archive/(.)/?$ index.php?p=tekster&date=$1 [L,QSA]
RewriteRule ^tekster/(.)/?$ index.php?p=tekster&title=$1 [L,QSA]
Now the page under news works more or less fine but I get this message when I open the url http://trondheimkunsthall.com/temp/tekster/kommer-snart: tekster.php is not a valid getRating() context.
In the page under pages I only get a blank page: http://trondheimkunsthall.com/temp/sider/Om-oss. Have I done a error in .htaccess maybe?
I edited the "link back to your main site" to http://trondheimkunsthall.com/temp/sider and now both the pages and news works. Both returns "is not a valid getRating() context" though and nothing of the normal layout like the sidebar.
I found the problem: If you have to raitings plugin installed you must edit functions-raiting.php in plugins/raiting and change news and pages to the renamed .php. I wonder how many other plugins which points to news.php and pages.php? There should be a warning on the admin page that if you have this or that plugin you also have to edit those files.