Issue on posting

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
Marius

Issue on posting

Post by Marius »

Script URL: http://www.stiritup.de/gbook/gbook.php
Version of script: 1.34
Version of PHP: >4
Hosting company: evanzo.de
Have you searched THIS FORUM for your problem: yes, indeed
(if not please do before posting)
If so, what terms did you try: session_regenerate_id, problem posting

Write your message below:
Fatal error: Call to undefined function: session_regenerate_id() in /home/www/htdocs/stiritup.de/gbook/gbook.php on line 53
When sb. tries to post a message the quoted message appears. Does anybody know why?

I looked at the source code but i haven't found anything.
What's mysterious.. when i refresh this site, i'll get to the Anti-SPAM site.

It would be wonderful when sb. could help me..

ciao Marius
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Hello Marius,

session_regenerate_id() was introduced with php version 4.3.2 so if you have a php 4 version prior to this version this error will show up.

To see what the exact php version is you have, you can upload this file to your server:
http://www.phpjunkyard.com/extras/phpinfo.zip
(not the Zip file itself but the php file inside).

Then open it in your browser and at the top you will see your exact version. If it is lower than PHP Version 4.3.2 you can not use this version (1.34) of GBook.

I believe this piece of code was added in GBook version 1.3.4 . So I think version 1.3.3 should work.
You can download GBook version 1.33 from the following link http://www.phpjunkyard.com/dnl/gbook133.zip

Greetings,
Henrie
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Henrie is correct, but I would still suggest you update PHP installation on your server to a more recent one (or ask your host to do it).
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Guest

Post by Guest »

Thanx a lot guys.. indeed it was php 4.3. So i downgraded this guestbook and it worked out.

@ admin: are you interested in a german language pack of this (great) guestbook script?
Marius

Post by Marius »

Damn i forgot to put my name on the last post.. sorry! :roll:
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

The 1.33 version is already translated, see here:

viewtopic.php?t=284

Regards
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply