Page 1 of 2

guestbook.html does not generate

Posted: Wed Sep 12, 2012 1:46 pm
by ed587
I've searched the forums for an answer to this without luck. I uninstalled and resinstalled the Guestbook (serendipity_event_guestbook) version 3.30 and it still does not render the guestbook.html. I have also placed the guestbook plugin at the top of all the plugins. What might be jamming this up?

Thanks!

Re: guestbook.html does not generate

Posted: Wed Sep 12, 2012 1:54 pm
by Timbalu
ed587 wrote:I have also placed the guestbook plugin at the top of all the plugins.
There is no need to place it on top, as it still needs to be underneath spamblock plugin.

What exactly do you mean by "...does not render...". Is there public host I can have a look?

Re: guestbook.html does not generate

Posted: Wed Sep 12, 2012 2:02 pm
by ed587
Thank you for your reply.

If I understand correctly, the guestbook plugin is supposed to generate a file called guestbook.html in the pages folder. However, the pages folder remains empty when the guestbook is called and the user gets a file not found error. The installation is at http://www.neterm.net/serendipity/

Re: guestbook.html does not generate

Posted: Wed Sep 12, 2012 2:40 pm
by Timbalu
So what does you permalink say in the guestbooks config?
It should be some like /serendipity/pages/guestbook.html

Well there seems to be a general issue, as you even can't reach the archive pages too i.e.
/serendipity/archives/68-The-Byrnes-Family-Crest-and-Coat-of-Arms.html was not found on this server.

Is your .htaccess file created well and readable?

Re: guestbook.html does not generate

Posted: Wed Sep 12, 2012 3:03 pm
by ed587
.htaccess is only:

#SPAMDENY
Deny From 188.143.232.211,216.99.154.34
#/SPAMDENY

permalink is /serendipity/pages/guestbook.html (permissions on the pages folder is 755)

All had been working well until a month ago when I noticed the guestbook gave an error and the guestbook.html file was missing.

~Ed

Re: guestbook.html does not generate

Posted: Wed Sep 12, 2012 3:39 pm
by Timbalu
These denied IPs are not yours, I hope....

I think there should be some more in the htaccess.... I am not really sure how to automate creating the htaccess from scratch..., but I would try this:
  • 1. make it world writable or erase it completely,
    2. reset your serendipity version number in serendipity_config_local.inc.php to '1.6',
    3. reload, and run through the upgrade process again.
This hopefully should create the htaccess file with all needed rules.

The guestbook does not touch the htaccess so that issue should be somewhere else...

Re: guestbook.html does not generate

Posted: Wed Sep 12, 2012 7:08 pm
by kleinerChemiker
First I would try changing the URL-Rewrite to non and back again to .htaccess. This should generate the proper .htaccess file.

The .html files are not generated. Normaly rules in the .htaccess file translate this url's but your .htaccess misses these rules.

Re: guestbook.html does not generate

Posted: Wed Sep 12, 2012 7:16 pm
by ed587
Thanks kleinerChemiker,

I'll try it. What file do I edit to change the URL-Rewrite to non?

Re: guestbook.html does not generate

Posted: Wed Sep 12, 2012 7:20 pm
by kleinerChemiker
You don't have to edit any file. Go to the admin interface to the configuration. There you can change the rul rewrite feature.

Re: guestbook.html does not generate

Posted: Wed Sep 12, 2012 7:40 pm
by ed587
Okay, disabled mod-rewrite and then enabled it. guestbook.html still doesn't appear in the pages folder. Now when I click Guestbook, it takes me to the Home page although the URL is http://www.neterm.net/serendipity/pages/guestbook.html. I may have to try the Upgrade sequence.

Re: guestbook.html does not generate

Posted: Wed Sep 12, 2012 8:05 pm
by kleinerChemiker
As I already said, no .html file will be created. But the .htaccess is working now. Check the config of the gueastbook plugin. I don't use it, but I think there is a field to configure the permalink url.

Re: guestbook.html does not generate

Posted: Wed Sep 12, 2012 8:21 pm
by ed587
Ok, I finally got it...no guestbook.html is generated. So I configure Guestbook making the permalink to be serendipity/pages/guestbook.html and get the following error:

Your browser did not sent a valid HTTP-Referrer string. This may have either been caused by a misconfigured browser/proxy or by a Cross Site Request Forgery (XSRF) aimed at you. The action you requested could not be completed.

Re: guestbook.html does not generate

Posted: Wed Sep 12, 2012 8:23 pm
by ed587
Okay, the guestbook is coming up now as a serendipity page but it is blank.

When I got the error I had /serendipity/pages/guestbook.html...got rid of the leading / and it went through with no error.

Re: guestbook.html does not generate

Posted: Wed Sep 12, 2012 8:28 pm
by kleinerChemiker
I'm sorry, I cannot help you there. Maybe try pages/guestbook.html

Re: guestbook.html does not generate

Posted: Wed Sep 12, 2012 9:53 pm
by ed587
Okay, deleted the .htaccess file. Uploaded 1.62 over the old version saving the serendipity config file. Edited the serendipity config file to reflect 1.62.

Guestbook still gone and archives don't work. Any ideas? Anybody?

.htaccess file was not generated with upgrade

~Ed