[Zen Cart] Error "Undefined index: host"

Magic SEO URLs for Zen Cart.
b-h
Posts: 3
Joined: Tue Jul 13, 2010 5:13 am

[Zen Cart] Error "Undefined index: host"

Postby b-h » Tue Jul 13, 2010 6:21 am

Having a problem trying to get MSU to work with Zen Cart. Just getting a blank page with the following errors:

Code: Select all

Notice: Undefined index: host in /path/to/my/site/includes/magic_seo_url.php  on line 0

Notice: Undefined index: host in /path/to/my/site/includes/magic_seo_url.php on line 0

Notice: Object of class queryFactoryResult could not be converted to int in Unknown on line 0


It is getting as far as generating the .htaccess file, but nothing more.

By the way, I also had to set 'register_long_arrays' PHP config variable to 'on' even to get this far. Was getting an error about $HTTP_GET_VARS being undefined otherwise. You should probably mention that this config setting is required to be on (or fix whatever is trying to use it), as this feature is now deprecated on PHP 5.3.

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

Re: [Zen Cart] Error "Undefined index: host"

Postby inveo » Tue Jul 13, 2010 10:52 am

It does not work, because Zend Optimizer (which is required by MSU) does not support PHP 5.3 yet (currently only PHP 4.2.x through PHP 5.2.x versions are supported).

What is your web site URL?

b-h
Posts: 3
Joined: Tue Jul 13, 2010 5:13 am

Re: [Zen Cart] Error "Undefined index: host"

Postby b-h » Wed Jul 14, 2010 1:57 am

Oh, we are not actually using PHP 5.3. The version we are using is 5.2.13, with Zend Optimizer 3.3.9.

Sorry, it serves no purpose to give you the URL for the site, as it is only on a locally-accessible testing server at the moment.

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

Re: [Zen Cart] Error "Undefined index: host"

Postby inveo » Wed Jul 14, 2010 3:48 am

It doesn't matter.

Please post your local test server URL or live URL where you are going to use MSU.

b-h
Posts: 3
Joined: Tue Jul 13, 2010 5:13 am

Re: [Zen Cart] Error "Undefined index: host"

Postby b-h » Wed Jul 14, 2010 3:54 am

The URL of our local test server is http://argo.linux.local.