PHP 5.3 with Zend Guard Loader

Technical difficulties? Ask for help here.

PHP 5.3 with Zend Guard Loader

Postby sirsonic » Wed Aug 03, 2011 10:34 pm

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?
sirsonic
 
Posts: 7
Joined: Wed Jan 21, 2009 3:37 pm

Re: PHP 5.3 with Zend Guard Loader

Postby ~J~ » Thu Aug 04, 2011 9:20 am

PHP 5.3 and Zend Guard Loader is supported since 3.x Series.
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1056
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe

Re: PHP 5.3 with Zend Guard Loader

Postby sirsonic » Sat Aug 06, 2011 1:57 pm

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?
sirsonic
 
Posts: 7
Joined: Wed Jan 21, 2009 3:37 pm

Re: PHP 5.3 with Zend Guard Loader

Postby ~J~ » Sat Aug 06, 2011 4:03 pm

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.
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1056
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe

Re: PHP 5.3 with Zend Guard Loader

Postby sirsonic » Sat Aug 06, 2011 8:40 pm

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?
sirsonic
 
Posts: 7
Joined: Wed Jan 21, 2009 3:37 pm

Re: PHP 5.3 with Zend Guard Loader

Postby ~J~ » Sun Aug 07, 2011 6:48 am

Try to disable MSU for checkout process. Please take a look to FAQ in manual for how to do it.
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1056
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe

Re: PHP 5.3 with Zend Guard Loader

Postby sirsonic » Sun Aug 07, 2011 3:09 pm

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.
sirsonic
 
Posts: 7
Joined: Wed Jan 21, 2009 3:37 pm

Re: PHP 5.3 with Zend Guard Loader

Postby sirsonic » Sun Aug 07, 2011 4:09 pm

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');
sirsonic
 
Posts: 7
Joined: Wed Jan 21, 2009 3:37 pm

Re: PHP 5.3 with Zend Guard Loader

Postby ~J~ » Mon Aug 08, 2011 9:19 am

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).
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1056
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe

Re: PHP 5.3 with Zend Guard Loader

Postby sirsonic » Tue Aug 09, 2011 11:46 am

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');

}
sirsonic
 
Posts: 7
Joined: Wed Jan 21, 2009 3:37 pm


Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 5 guests