Page 1 of 1

Issue on posting

Posted: Thu Nov 24, 2005 3:57 pm
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

Posted: Thu Nov 24, 2005 7:33 pm
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

Posted: Thu Nov 24, 2005 7:40 pm
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).

Posted: Fri Nov 25, 2005 8:27 am
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?

Posted: Fri Nov 25, 2005 8:28 am
by Marius
Damn i forgot to put my name on the last post.. sorry! :roll:

Posted: Fri Nov 25, 2005 11:08 am
by Klemen
The 1.33 version is already translated, see here:

viewtopic.php?t=284

Regards