Unable to work from localhost

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
newsmedia
Posts: 4
Joined: Sat Feb 14, 2009 1:49 pm

Unable to work from localhost

Post by newsmedia »

Script URL: www.thetruth.ie/hotel/gbook.php
Version of script:1.6 from 14th Feb 2008
Hosting company: none (localhost)
URL of phpinfo.php: www.thetruth.ie/phpinfo.php
URL of session_test.php: www.thetruth.ie/session_test.php

What terms did you try when SEARCHING for a solution: localhost

Write your message below:

Hi

Very strange. I am hosting the website locally using Apache web server, with the latest releases of PHP and Perl.

PHP is working fine on the system. I can post OK to the guestbook by going to the localhost url.

However when someone attempts to log on from the Internet through www.thetruth.ie (which points to my own machine and IP) they are unable to sign the guestbook.

I have tried everything I know and do have some experience but cannot fathom this.

Have I missed something simple?

Would be very grateful for your response.

Best Wishes
Keith Harris
www.thetruth.ie
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

Disable session.auto_start in your PHP installation.
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
newsmedia
Posts: 4
Joined: Sat Feb 14, 2009 1:49 pm

session.auto_start

Post by newsmedia »

Hi

I have tried with both settings, session.auto_start enabled and disabled. Neither makes any difference. It is now disabled, though it was enabled when you visited the page.

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

Post by Klemen »

It's still on and that's the main problem:
http://www.thetruth.ie/phpinfo.php

If there are any other problems we can't be sure until the sessions aren't working as they should.
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
newsmedia
Posts: 4
Joined: Sat Feb 14, 2009 1:49 pm

sessions off

Post by newsmedia »

Sorry - forgot to reboot apache. They are off now

Thanks for your prompt responses!
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

I was able to add a message now without problems.
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
newsmedia
Posts: 4
Joined: Sat Feb 14, 2009 1:49 pm

Post by newsmedia »

Great - thanks for your help - and I saw your entry now.

'Luck
Keith
Post Reply