Page 1 of 1

PHP 5.3 with Zend Guard Loader

Posted: Wed Aug 03, 2011 11:34 pm
by sirsonic
I have updated our server PHP version and was forced to updated Zend to Zend Loader vs Optimizer due to incompatibilities. The version I have no longer works! How do I make it work with this new configuration?

Re: PHP 5.3 with Zend Guard Loader

Posted: Thu Aug 04, 2011 10:20 am
by inveo
PHP 5.3 and Zend Guard Loader is supported since 3.x Series.

Re: PHP 5.3 with Zend Guard Loader

Posted: Sat Aug 06, 2011 2:57 pm
by sirsonic
I have updated to the new version and it works perfectly on all pages but when it is activated and a customer checks out, the order isn't recorded in the backend and shows an order number of zero. Is there something I'm missing in the setup?

Re: PHP 5.3 with Zend Guard Loader

Posted: Sat Aug 06, 2011 5:03 pm
by inveo
If it worked fine with 1.x or 2.x Series, I don't think it is related to Magic SEO URLs. I would suggest you to disable/uninstall Magic SEO URLs and then try to reproduce the problem again. I believe it will still persists.

Re: PHP 5.3 with Zend Guard Loader

Posted: Sat Aug 06, 2011 9:40 pm
by sirsonic
The problem only occurs when magic seo url is included/enabled. Once commented out of application_top (turned off) everything is fine. We have been using this module for years and are starting to see negative serp changes now that it hasn't been working for awhile.

Do you have any other debugging suggestions?

Re: PHP 5.3 with Zend Guard Loader

Posted: Sun Aug 07, 2011 7:48 am
by inveo
Try to disable MSU for checkout process. Please take a look to FAQ in manual for how to do it.

Re: PHP 5.3 with Zend Guard Loader

Posted: Sun Aug 07, 2011 4:09 pm
by sirsonic
The steps aren't clear. How would I do this? Do I just remove some lines from htaccess?

How can I disable Inveo Magic SEO URLs for a specified file?

You can do so by altering installation line to e.g.:
if(!in_array(basename($_SERVER['SCRIPT_NAME']), array('file1.php', 'file2.php'))) include(DIR_WS_INCLUDES . 'magic_seo_url.php');
where file1.php and file2.php are disabled files for Inveo Magic SEO URLs.

Re: PHP 5.3 with Zend Guard Loader

Posted: Sun Aug 07, 2011 5:09 pm
by sirsonic
I have tested with the following line in application_top.php. It stops those pages from being rewritten by magic seo url but the error still occurs. Comment out the line completely and the error does not occur.

Code: Select all

if(!in_array(basename($_SERVER['SCRIPT_NAME']), array('shopping_cart.php', 'login.php', 'create_account.php', 'checkout_shipping.php', 'checkout_payment.php', 'checkout_confirmation.php', 'checkout_success.php'))) include(DIR_WS_INCLUDES . 'magic_seo_url.php');

Re: PHP 5.3 with Zend Guard Loader

Posted: Mon Aug 08, 2011 10:19 am
by inveo
Try to disable MSU only for payment gateway confirmation file (I do not remember exact file name - btw you did not post what cart you are using - but I mean the file which is called when payment succeed).

Re: PHP 5.3 with Zend Guard Loader

Posted: Tue Aug 09, 2011 12:46 pm
by sirsonic
We are on oscmax using the oscommerce version of MSU. We fixed the issue by adding an SSL condition. Here is the code that worked:

Code: Select all

if ($request_type != 'SSL') {

if(!in_array(basename($_SERVER['SCRIPT_NAME']), array('shopping_cart.php', 'login.php', 'create_account.php', 'checkout_shipping.php', 'checkout_payment.php', 'checkout_confirmation.php', 'checkout_success.php'))) include(DIR_WS_INCLUDES . 'magic_seo_url.php');

}

Cart  
(empty)

Cart Check out  »

Prices are tax inclusive.

The VAT rate for your country (US) * is 0,0 % because it is not a member of the European Union (EU).

* Please create an account if your country does not match.

Community feed
  • [Zen Cart] Can't execute Magic SEO URLs sitemaps
    I installed Magic SEO URLs Sitemaps Add-On for ZenCart MSU4.x/MSU5.x 2.0 on my server, when I try to generate sitemaps using: https://www.pechesudv155.owally.com/sitemaps.php I received :...
    by peter@pechesud.com
  • [phpBB3] Sharing users between phpBB / PrestaShop
    Hi i have 2 question 1- prestashop module support phpBB 3.3 ? 2- why we can not login in prestashop and phpbb with same user?
    by zohall
  • [phpBB3] AJAX Userinfo Extension
    Hi! I'm having trouble with this extension: https://www.phpbb.com/customise/db/exte ... _userinfo/ I tried asking support from the author but for no avail, since now. My request for support...
    by Lord Phobos
  • [phpBB3] Upgrade to phpBB 3.2.3
    Hello.. after Upgrade to phpBB 3.2.3 I am getting this message.. How can I solve this issue..? Thank you
    by ingbrzy
  • [phpBB3] URL path changed
    Hello.. I have changed my site path after moving to new hosting and now can not activate SEO module.. new path http://www.miuios.cz/domains/miuios.cz/ could you help me? thank you
    by ingbrzy2
Join our support forum » Pre-Sales Questions »
Featured Testimonials

Thank you very much, the loading times of both the web and the back office have been considerably reduced.

Manuel, the owner of Motos Manu

The Inveo team provided the best service and support that we have received from any vendors we have ever used. They did work that was far beyond the scope of the purchase, and for this we are grateful and can certainly highly recommend them to anyone else.

Allen, the owner of Zele Private Investigator Philippines

More Testimonials »