guestbook.html does not generate

Creating and modifying plugins.
ed587
Regular
Posts: 75
Joined: Thu Feb 12, 2009 3:26 pm

guestbook.html does not generate

Post 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!
The best,

~Ed
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: guestbook.html does not generate

Post 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?
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
ed587
Regular
Posts: 75
Joined: Thu Feb 12, 2009 3:26 pm

Re: guestbook.html does not generate

Post 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/
The best,

~Ed
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: guestbook.html does not generate

Post 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?
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
ed587
Regular
Posts: 75
Joined: Thu Feb 12, 2009 3:26 pm

Re: guestbook.html does not generate

Post 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
The best,

~Ed
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: guestbook.html does not generate

Post 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...
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
kleinerChemiker
Regular
Posts: 765
Joined: Tue Oct 17, 2006 2:36 pm
Location: Vienna/Austria
Contact:

Re: guestbook.html does not generate

Post 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.
ed587
Regular
Posts: 75
Joined: Thu Feb 12, 2009 3:26 pm

Re: guestbook.html does not generate

Post by ed587 »

Thanks kleinerChemiker,

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

~Ed
kleinerChemiker
Regular
Posts: 765
Joined: Tue Oct 17, 2006 2:36 pm
Location: Vienna/Austria
Contact:

Re: guestbook.html does not generate

Post 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.
ed587
Regular
Posts: 75
Joined: Thu Feb 12, 2009 3:26 pm

Re: guestbook.html does not generate

Post 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.
The best,

~Ed
kleinerChemiker
Regular
Posts: 765
Joined: Tue Oct 17, 2006 2:36 pm
Location: Vienna/Austria
Contact:

Re: guestbook.html does not generate

Post 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.
ed587
Regular
Posts: 75
Joined: Thu Feb 12, 2009 3:26 pm

Re: guestbook.html does not generate

Post 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.
The best,

~Ed
ed587
Regular
Posts: 75
Joined: Thu Feb 12, 2009 3:26 pm

Re: guestbook.html does not generate

Post 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.
The best,

~Ed
kleinerChemiker
Regular
Posts: 765
Joined: Tue Oct 17, 2006 2:36 pm
Location: Vienna/Austria
Contact:

Re: guestbook.html does not generate

Post by kleinerChemiker »

I'm sorry, I cannot help you there. Maybe try pages/guestbook.html
ed587
Regular
Posts: 75
Joined: Thu Feb 12, 2009 3:26 pm

Re: guestbook.html does not generate

Post 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
The best,

~Ed
Post Reply