Still no security image

Dr. GBooky is here to help you with your guestbook problems ...
Jomar
Posts: 50
Joined: Tue May 22, 2007 8:09 pm

Still no security image

Post by Jomar »

Script URL: http://www.technogeeks.tk/#
Version of script: 15
Hosting company: Nitroserve.nl
URL of phpinfo.php: http://www.teramai.info/technogeeks/site/phpinfo.php
URL of session_test.php: http://www.teramai.info/technogeeks/sit ... n_test.php
What terms did you try when SEARCHING for a solution:

Write your message below:

I have this guestbook for an other website working perfectly now, but I want to use it for another site aswell.
Problem is: I can't get the security image.
Whwn I set the option to 2 (text) I keep getting the message "wrong securitynumber".
I've read all the posts about it and while testing the guestbook with the other site on the same server/hoster it was fine, but this one still gives no image.
I don't imagine it has something to do with the .tk forwarding??

gd_test works but I have to use the following url:
http://www.teramai.info/technogeeks/site/gd_test.php

technogeeks site is placed in a folder of teramai on the server, not a subdomein.
Scorpion
Posts: 5
Joined: Mon May 28, 2007 7:31 pm

Post by Scorpion »

I've had the same problem. No image when setting "1" in the settings.php and a message about wrong security number when using the setting "2".

My solution was to lower the cookie level below normal.
Give it a try.

I've posted this behaviour in this forum already.

Greetings,
Scorpion
Jomar
Posts: 50
Joined: Tue May 22, 2007 8:09 pm

Post by Jomar »

My solution was to lower the cookie level below normal.
Give it a try.
How? It should work for everyone.
Jomar
Posts: 50
Joined: Tue May 22, 2007 8:09 pm

Post by Jomar »

Jomar wrote:
My solution was to lower the cookie level below normal.
Give it a try.
How? It should work for everyone.
And two guestbooks on other sites work perfectly.

Or maybe my problem has to do with the fact that the website is build in php and placed in a database?
Scorpion
Posts: 5
Joined: Mon May 28, 2007 7:31 pm

Post by Scorpion »

It should work under the normal level indeed.

As I mentioned above, i've already another post in this forum to discuss this problem.

Did you test the above solution????

I know, it's not a solution, but than i , and others, know there should be a problem with the creation of cookies in the script.
Jomar
Posts: 50
Joined: Tue May 22, 2007 8:09 pm

Post by Jomar »

My solution was to lower the cookie level below normal.
Give it a try.
Tried this at the lowest level, but still no security image
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

If it doesn't work with privacy set to "medium" or "medium-high" then something is wrong with accepting the session cookie.

Try installing GBook in a separate folder, for example
http://www.teramai.info/technogeeks/site/gbook

DON'T EDIT ANYTHING INSIDE gbook.php, just edit the settings, nothing else.

See if that works.
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
Jomar
Posts: 50
Joined: Tue May 22, 2007 8:09 pm

Post by Jomar »

Thats what I did in the first place, but result was a not working site.
I guess thats because the whole site is written in php.

But I tried again and found a line in main.php that I had to change, but now you get a 404 error if you want to write a message.

I'm getting really frustrated about this, would very much like to get it working. At least, it is really importend to some people to get this guestbook working.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Wait a second, if you install GBook in a SEPARETE folder, like
http://www.teramai.info/technogeeks/site/gbook
and try to open it like this:
http://www.teramai.info/technogeeks/sit ... /gbook.php
you get a non-working site??? That makes no sense.
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
Jomar
Posts: 50
Joined: Tue May 22, 2007 8:09 pm

Post by Jomar »

This is the navigation:

<map name="Map">
<area shape="rect" coords="5,3,125,24" href="main.php?titel=Welkom">
<area shape="rect" coords="6,25,125,44" href="main.php?titel=partypics">
<area shape="rect" coords="5,45,125,64" href="main.php?id=reports">
<area shape="rect" coords="5,64,126,83" href="main.php?titel=about">
<area shape="rect" coords="5,85,127,104" href="main.php?titel=contact">
<area shape="rect" coords="5,106,127,124" href="main.php?id=guestbook">
<area shape="rect" coords="5,124,123,146" href="main.php?titel=links">
</map>


And I assume this also is importent:

<?php

require_once("../../config/config.php");

if($id == "guestbook")
include("guestbook.php");

elseif($id == "reports")
include("reports.php");

elseif($titel == "")
{

So I think it is not possible to open the guestbook with:
http://www.teramai.info/technogeeks/sit ... /gbook.php
Or am I mistaking.

But I just don't know enough about php to figure out how to get things done. Sometime I get a result, but that is mostly pure luck and trying and trying over and over again.

The thing is, this is not mine, but made by a guy who is deceaced, but we like to keep the site and the guestbook intact for family and the people who knew him. Sometimes stil people visite the site and talk to the guy in his guestbook, like they are visiting his grave. But for a long time now it was frustrating to go there because of the spam. In the beginning, since I took over the site where the guys site was secretly hosted on the same domein, I did remove all the spam every day. But it became just to much, had to remove about 30 messages from the database manually every day.

Thats why I was thrilled about this guestbook and wanted to give it a try.
After removing about 4000 spam messages I've already got the old messages backinto this new book.
It would really be a good thing to get this one working.

I can say this: there is no more spam in the guestbook!! ;-)
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

It doesn't really matter what your navigation looks like or how the main.php file is written (I think including gbook.php from main.php is the problem in the first place), if you install GBook like it originally comes into a folder you are able to open it by linking directly to gbook.php.

Why don't you try this? Just install gbook in a folder called "gbook", DON'T change any file names or anything except the settings in settings.php file. Then you should be able to open gbook.php directly (without main.php?id=guestbook). Try it and post a link to the folder where you installed gbook here.
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
Jomar
Posts: 50
Joined: Tue May 22, 2007 8:09 pm

Post by Jomar »

Did try this already.

The guestbook is in the folder: gbook15

Changed this line:
<area shape="rect" coords="5,106,127,124" href="main.php?id=guestbook">

into:
<area shape="rect" coords="5,106,127,124" href="main.php?titel=gbook15/gbook">

That gives a message: the page is not present.

I just don't know how to make the navigation in php to work.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Ok, now I know you have GBook installed here:
http://www.teramai.info/technogeeks/sit ... /gbook.php

If you access the above page directly it works fine, like assumed your inclusion in main.php is making the problem.

Use the direct URL and change your navigation to:
<area shape="rect" coords="5,106,127,124" href="gbook15/gbook.php">

(loose the main.php?..., use straight URL to gbook.php)
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
Jomar
Posts: 50
Joined: Tue May 22, 2007 8:09 pm

Post by Jomar »

Still no security image :cry:

ps. I made it open in a new screen ( target="_blank") and now it works fine
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

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