Page 1 of 1

Zend Optimizer

Posted: Fri Sep 29, 2006 6:54 pm
by kenttubman
Script URL: Gbook
Version of script: 1.43
Hosting company: www.SmilingHost.com
php version: 4.3.10

URL of phpinfo.php:
http://www.myfmradio.ca/supportourtroops/phpinfo.php

URL of session_test.php:
http://www.myfmradio.ca/supportourtroops/gbook.php

What terms did you try when SEARCHING for a solution:
Google: gbook sessions
Google: gbook zend optimizer

Write your message below:

Your script is great. Thank you for making it available. We are using it to send messages of support to our troops abroad.

I installed it without any issues and it has been working flawlessly since August 13th.

On September 22nd, we upgraded the Zend Optimizer to 2.5.7 to permit a calendar script to run.

It seems that Gbook stopped taking entries on the 22nd.

Any ideas on what it's going to take to Gbook working again?

Thank you,

Kent

Posted: Sat Sep 30, 2006 1:26 pm
by kenttubman
I have just run session_test.php and received
$_SESSION['test'] is set to: TRUE

I assume this is good news, however, Gbook still does not function.

Any guidance you can provide would be appreciated.

Thanks,

Kent

Posted: Fri Oct 06, 2006 7:52 pm
by Klemen
Hi,

Sorry for late reply, was out of the country.

Not sure what could be wrong and I don't know if upgrading Zend could effect gbook. Can you try installing a clean version of GBook (don't edit anything except settings) in a test folder (http://www.myfmradio.ca/supportourtroops/test/gbook.php ) and see if it works there?

Posted: Fri Oct 06, 2006 8:46 pm
by kenttubman
Klemen,

Thanks for getting back to me.

I will compete a new installation over the weekend and let you know how I make out.

Happy Turkey Weekend,

Kent

New install - posting fails

Posted: Fri Oct 20, 2006 4:24 pm
by kenttubman
Hello,

I have just finished a complete reinstallation of 1.43

URL: http://www.myfmradio.ca/supportourtroops/gbook.php

PHP Info URL: http://www.myfmradio.ca/supportourtroops/php_info.php

After submitting a new post, I am presented with a blank page and the entires file is not updated. There are no page errors presented

The file that collects my entries has 666 permissions

Do you have any suggestions on what might be causing this issue?

Thank you,

Kent

Posted: Fri Oct 20, 2006 5:10 pm
by Klemen
Not really sure, upload this file to the guestbook folder so I can see where it gets stuck:
http://www.phpjunkyard.com/extras/gbook_debug.zip

gbook_debug.php installed

Posted: Sat Oct 21, 2006 11:23 am
by kenttubman
Good Morning,

Thank you for helping.

I have uploaded the file you provided to
http://myfmradio.ca/supportourtroops/gbook_debug.php

Now, when I try to post the following appears on what used to be the blank page:

DEBUG INFO: We are inside add
DEBUG INFO: Inputs passed
DEBUG INFO: Autosubmit passed

Please let me know what I have to change to make things work.

Thank you again for your help.

Kent

Posted: Sun Oct 22, 2006 11:00 am
by Klemen
I think I know what's the problem, contact your host and ask them if they can enable Zlib for PHP on your server:
http://php.net/manual/en/ref.zlib.php

Zlib

Posted: Sun Oct 22, 2006 2:24 pm
by kenttubman
Good Morning,

I asked SmilingHost.com to enable Zlib and got he follwing reply:

"We do support Zlib feature for PHP and it is enabled on our server. Please notice, that we run 1.2.3 version of Zlib."

Any other thoughts or sultions would be appreciated.

Thank you,

Kent

Posted: Sun Oct 22, 2006 3:00 pm
by Klemen
Hi,

From the PHP info file it doesn't seem like zlib is enabled, PHP must be compiled with '--with-zlib' for that.

Here's another test file that should check if it is working or not:
http://www.phpjunkyard.com/extras/gztest.zip

Upload it to your server and open the URL in browser. If you get something like this:

Code: Select all

Output of gzdeflate: óHÍÉÉW 

Output of gzinflate: Hello! 
then it's working ok.

If you don't get the "Hello!" at the end then it's obviously not working, point your host to this simple test file so they can check it out.

Anyway, after testing come back here and tell how it went.