Page 1 of 1

Unable to work from localhost

Posted: Sat Feb 14, 2009 2:05 pm
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

Posted: Sat Feb 14, 2009 2:56 pm
by Klemen
Hi,

Disable session.auto_start in your PHP installation.

session.auto_start

Posted: Sat Feb 14, 2009 4:43 pm
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

Posted: Sat Feb 14, 2009 5:35 pm
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.

sessions off

Posted: Sat Feb 14, 2009 7:04 pm
by newsmedia
Sorry - forgot to reboot apache. They are off now

Thanks for your prompt responses!

Posted: Sat Feb 14, 2009 9:20 pm
by Klemen
I was able to add a message now without problems.

Posted: Sat Feb 14, 2009 9:45 pm
by newsmedia
Great - thanks for your help - and I saw your entry now.

'Luck
Keith