Script URL: http://www.apperloo.net/gastboek/gbook.php
Version of script: 1.7
Hosting company: WEB-OK
URL of phpinfo.php:?
URL of session_test.php:?
What terms did you try when SEARCHING for a solution:
admin and ip
Write your message below:
Guestbook is running fine, but when I try to view an IP adress of a post ( after entering my admin pass), I return to the mainpage. No IP information is showed. The same for the e-mail adress.
admin reply to a post works fine
I adapted the php.settings file to see error messages, but only when writing a post an error message is showed.
Warning: session_regenerate_id() [function.session-regenerate-id]: Cannot
regenerate session id - headers already sent in
/home/w8908591/domains/apperloo.net/public_html/gastboek/gbook.php on line
1324
No error message when viewing IP info.
It is not a huge problem, but nice to solve. Any suggestions to try?
Thanks ...
IP-adress and e-mail not shown after admin logon
Hello appie1000,
I just posted a message to test in your guestbook. You can remove the message now.
The link seems okay to me.
Maybe the problem is that you were expecting a separate page with the e-mail or IP-address after sending the link. This has changed in the new version. You are now returned to the messages page and above the messages (but below the navigation) a message is shown which shows the IP or e-mail address.
But you have changed the top of the guestbook to remove the "add message" link.
But you have removed to much i think. You also removed the "view guestbook" link. So when i clicked on the new add message image, i can not get back to viewing the guestbook unless i post a message. but that is not so big a problem.
The bigger problem is that you have also removed the guestbook navigation i think. Because normally when the first message is shown, it say in the top of the guestbook "Number of entries: 1" This message is not shown on your guestbook.
So i think the e-mail and IP-address is not shown because you removed to much of the content in the overal_header.php file.
In <!--HEADER --> section you should only have removed: and to achieve what you want and nothing more.
Greetings,
Henrie
I just posted a message to test in your guestbook. You can remove the message now.
The link seems okay to me.
Maybe the problem is that you were expecting a separate page with the e-mail or IP-address after sending the link. This has changed in the new version. You are now returned to the messages page and above the messages (but below the navigation) a message is shown which shows the IP or e-mail address.
But you have changed the top of the guestbook to remove the "add message" link.
But you have removed to much i think. You also removed the "view guestbook" link. So when i clicked on the new add message image, i can not get back to viewing the guestbook unless i post a message. but that is not so big a problem.
The bigger problem is that you have also removed the guestbook navigation i think. Because normally when the first message is shown, it say in the top of the guestbook "Number of entries: 1" This message is not shown on your guestbook.
So i think the e-mail and IP-address is not shown because you removed to much of the content in the overal_header.php file.
In <!--HEADER --> section you should only have removed:
Code: Select all
<h1 align="center"><?php echo $settings['gbook_title']; ?></h1>
Code: Select all
<a href="<?php echo $settings['website_url']; ?>"><?php echo $settings['website_title']; ?></a> |
<a href="gbook.php"><?php echo $lang['t60']; ?></a> |
<a href="gbook.php?a=sign"><?php echo $lang['t48']; ?></a>
<br class="clear" />
Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
re
Hi Henrie
That should be the reason and also the reason why I don't see any error messsage. You are right, I expected a seperate page, but I could know there is no page for this purpose defined
.
I will adapt the lay-out to change this.
Thanks for your feedback!
Martin
That should be the reason and also the reason why I don't see any error messsage. You are right, I expected a seperate page, but I could know there is no page for this purpose defined

I will adapt the lay-out to change this.
Thanks for your feedback!
Martin
re
Works!
It was this part of the script:
Regards
Martin
It was this part of the script:
Code: Select all
<!--NOTICE -->
<?php
if (isset($settings['notice']) && !empty($settings['notice']))
{
echo '<div class="gbook_sign_notice">'.$settings['notice'].'</div>';
}
?>
<!--NOTICE END -->
Martin