Zend Optimizer

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
kenttubman
Posts: 6
Joined: Fri Sep 29, 2006 6:19 pm

Zend Optimizer

Post 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
kenttubman
Posts: 6
Joined: Fri Sep 29, 2006 6:19 pm

Post 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
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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?
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
kenttubman
Posts: 6
Joined: Fri Sep 29, 2006 6:19 pm

Post 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
kenttubman
Posts: 6
Joined: Fri Sep 29, 2006 6:19 pm

New install - posting fails

Post 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
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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
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
kenttubman
Posts: 6
Joined: Fri Sep 29, 2006 6:19 pm

gbook_debug.php installed

Post 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
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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
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
kenttubman
Posts: 6
Joined: Fri Sep 29, 2006 6:19 pm

Zlib

Post 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
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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.
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