[CubeCart] Issues with Zend Optimizer

Magic SEO URLs for CubeCart.
blindnoob
Posts: 11
Joined: Thu Aug 26, 2010 1:51 pm

[CubeCart] Issues with Zend Optimizer

Postby blindnoob » Fri Aug 27, 2010 10:00 am

Hello, I'm from http://www.misteliquid.co.uk and we recently purchased Magic SEO URL for our e-commerce website. At the time of purchase, I was not aware it was encoded using Zend (which I previously had issues installing on our web host).

In the end, we used IonCube to install CubeCart and this is the encoder we are currently using. As far as I know, I can't install both - I'm having difficulty doing so. I was wondering if, either there was a way one of the staff could help me install Zend Optimizer or if there was a version of your script encoded by IonCube - this would make life much easier!

Thank you in advance.

inveo
Inveo Support
Posts: 1275
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [CubeCart] Issues with Zend Optimizer

Postby inveo » Fri Aug 27, 2010 10:11 am

Zend Optimizer and ionCube Loader can be both installed at the same time. Please see http://www.howtoforge.com/linux_apache2 ... cubeloader

blindnoob
Posts: 11
Joined: Thu Aug 26, 2010 1:51 pm

Re: [CubeCart] Issues with Zend Optimizer

Postby blindnoob » Fri Aug 27, 2010 11:44 am

I have now installed both IonCube and Zend Optimizer onto my server: http://www.misteliquid.co.uk/compat-test.php but whenever I try to change currencyVar.php to include "require_once('magic_seo_url.php');" my website gives the error:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/36/d120821620/htdocs/wee/ini.inc.php on line 210

I uploaded all the files in binary mode to no avail... thanks in advance.

blindnoob
Posts: 11
Joined: Thu Aug 26, 2010 1:51 pm

Re: [CubeCart] Issues with Zend Optimizer

Postby blindnoob » Sun Aug 29, 2010 10:06 am

OK, I've figured out the problem for myself. Our host uses PHP4, but using the .htaccess file, I've changed it to PHP5 using the following:

Code: Select all

AddType x-mapp-php5 .php

This proves to work fine with the CubeCart compatibility check tool: http://www.misteliquid.co.uk/compat-test.php, unfortunately, when I go onto my website, your script attempts to change the .htaccess file causing my hosting to believe it is running PHP4 again (without IonCube or Zend Optimizer).

Is there anyway I could manually edit the .htaccess file myself, so that Magic SEO URL does not cause my website to break down?
Last edited by blindnoob on Thu Sep 09, 2010 8:07 am, edited 1 time in total.

inveo
Inveo Support
Posts: 1275
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [CubeCart] Issues with Zend Optimizer

Postby inveo » Sun Aug 29, 2010 10:12 am

Yes. Please see installation instructions or FAQ section in the Manual.

blindnoob
Posts: 11
Joined: Thu Aug 26, 2010 1:51 pm

Re: [CubeCart] Issues with Zend Optimizer

Postby blindnoob » Sun Aug 29, 2010 2:22 pm

~J~ wrote:Yes. Please see installation instructions or FAQ section in the Manual.

The manual doesn't help at all. Could you please send the PHP4 version of Magic SEO URLs to my e-mail address? I own http://www.misteliquid.co.uk and my PayPal e-mail address is sales@misteliquid.co.uk, thank you.

blindnoob
Posts: 11
Joined: Thu Aug 26, 2010 1:51 pm

Re: [CubeCart] Issues with Zend Optimizer

Postby blindnoob » Wed Sep 01, 2010 5:34 am

oh common...we are still waiting to hear your reply...what is going on...all we need is the PHP4 version emailed to us.

inveo
Inveo Support
Posts: 1275
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [CubeCart] Issues with Zend Optimizer

Postby inveo » Thu Sep 02, 2010 4:46 pm

Have you tried to protect your .htaccess file by following instructions in the Manual?

blindnoob
Posts: 11
Joined: Thu Aug 26, 2010 1:51 pm

Re: [CubeCart] Issues with Zend Optimizer

Postby blindnoob » Thu Sep 09, 2010 8:07 am

I need your script to NOT regenerate my .htaccess file, because it overwrites my current .htaccess file and causes CubeCart to stop working, because I have added a line to the .htaccess file to make my web host compatible with PHP5.

I need your script to stop attempt to regenerate my .htaccess file itself or at least find a way for it to regenerate it including the line:

Code: Select all

AddType x-mapp-php5 .php

This will avoid CubeCart from not working. Is there anyway this is possible? If not, please tell me, because I need to think of what to do next.

inveo
Inveo Support
Posts: 1275
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [CubeCart] Issues with Zend Optimizer

Postby inveo » Thu Sep 09, 2010 8:08 am

Please see installation instructions or FAQ section in the Manual.