Script URL: http://pyner.org.uk/GuestBook/gbook.php
Version of script: 1.7
Hosting company: Supanames (http://www.supanames.co.uk/)
URL of phpinfo.php: http://pyner.org.uk/GuestBook/phpinfo/phpinfo.php
URL of session_test.php: http://pyner.org.uk/GuestBook/session_t ... n_test.php
What terms did you try when SEARCHING for a solution: approval link
Write your message below:
The guest book works correctly if I do not set $settings['notify'] to 1 to allow me to vet each posting. If I set this variable to 1 I get an e-mail with two links and whichever one I click on I am sent to an error page from my ISP, not the one I uploaded to my web site.
This is one link which means nothing to me :-
http://results.ispconnect.co.uk/main?Ad ... archQuery=
I have no idea where the problem might be and hope that someone can help me solve it. I did run phpinfo and this suggests that I am using version 5.2.10 of php, and the session_test script suggests that there is no problem there, (I get the result $_SESSION['test'] is set to: TRUE).
Viv
PS. This new version of the script looks very good.
Cannot get manual approval of new posts to work
Hello Viv,
The mail you get should contain links like this
The only problem i can think of is that the folder apptmp inside your Guestbook folder is not writable (chmod 777) and therefor the message to approve can not be found.
Greetings,
henrie
The mail you get should contain links like this
I don't know any reason why you should have a link like thatHello!
A new guestbook entry is waiting approval.
Name: henrie
From:
E-mail:
Website:
Message (without smileys):
test approval
To APPROVE the entry visit this URL:
http://www.mydomain.com/gbook17/gbook.p ... prove&do=1
To REJECT the entry visit this URL:
http://www.mydomain.com/gbook17/gbook.p ... prove&do=0
End of message
Or is this the resulting link when you have clicked one of the links in the mail?This is one link which means nothing to me :-
http://results.ispconnect.co.uk/main?Ad ... archQuery=
The only problem i can think of is that the folder apptmp inside your Guestbook folder is not writable (chmod 777) and therefor the message to approve can not be found.
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.
You have the wrong URL for $settings['gbook_url'] set in your settings.php file. You probably have:
http://www.pyner.org/GuestBook/gbook.php
but it should be:
http://www.pyner.org.uk/GuestBook/gbook.php
(note that you have ".uk" missing in the domain name)
http://www.pyner.org/GuestBook/gbook.php
but it should be:
http://www.pyner.org.uk/GuestBook/gbook.php
(note that you have ".uk" missing in the domain name)
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
Thanks to Henrie & Klemen for the quick response.
I knew it was probably me doing something silly, and I was right. Amending the $settings['gbook_url'] has solved the problem.
Henrie, the link I posted was what came in the browser when I clicked on the link in the e-mail. My apologies for not making that clear in my post.
I am now very happy.
Viv
I knew it was probably me doing something silly, and I was right. Amending the $settings['gbook_url'] has solved the problem.
Henrie, the link I posted was what came in the browser when I clicked on the link in the e-mail. My apologies for not making that clear in my post.
I am now very happy.
Viv
-
- Posts: 4
- Joined: Thu Nov 12, 2009 4:26 pm
gbook notification
I've got no notification that a new message has been posted though I filled correctly the file "settings.php"
Jean-Claude ARON
-
- Posts: 4
- Joined: Thu Nov 12, 2009 4:26 pm
Mboard
After trying Gbook I tried Mboard, with which I get a message, when I click on the link, the message 1.html is blank
Jean-Claude ARON
New problem-admin approval of new post
Now that I've got my email notification problem worked out, I have a new one. When, as temp administrator, I went to approve a new post, this is the message I received:
Can't open entries file for reading! CHMOD this file to 666 (rw-rw-rw) and make sure your host allows PHP scripts to read from local files!
Can't open entries file for reading! CHMOD this file to 666 (rw-rw-rw) and make sure your host allows PHP scripts to read from local files!
Can you try if you can post a message without manual approval?
And can you post a link to phpinfo.php file?
Read about chmod in http://www.phpjunkyard.com/ftp-chmod-tutorial.php
If you are on a windows server you can not use chmod but must use the windows management software to assign write permissions.
Greetings,
Henrie
And can you post a link to phpinfo.php file?
Read about chmod in http://www.phpjunkyard.com/ftp-chmod-tutorial.php
If you are on a windows server you can not use chmod but must use the windows management software to assign write permissions.
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.
Like Henrie said make sure the entries.txt file is writable by the script (for CHMOD check the tutorial). Check with your host if unsure.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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