Forums / General Questions / Need help of Cross Sell module

Need help of Cross Sell module

Locked

Views: 1,768

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
4 Sep 2006, 3:46 PM
#1
joshuayang avatar

joshuayang

New Zenner

Join Date:
Nov 2005
Posts:
27
Plugin Contributions:
0

Need help of Cross Sell module

i have biulded a site with zencart 1.3.0.2 and cross sell modules.
but this a bug?
At the CrossSell admin page, in the administrator interface, i can not reach the
page 2 when i click the link page2 or select Dropdown pages chooser.
any one have the same questions? how to....

waiting for anyone help me.
pre-thank you

joshua

18 Oct 2006, 6:10 AM
#2
rnet avatar

rnet

Zen Follower

Join Date:
Jun 2005
Location:
Pittsburgh
Posts:
99
Plugin Contributions:
0

Re: Need help of Cross Sell module

I have the same issue, any solutions?

19 Oct 2006, 12:29 AM
#3
rnet avatar

rnet

Zen Follower

Join Date:
Jun 2005
Location:
Pittsburgh
Posts:
99
Plugin Contributions:
0

Re: Need help of Cross Sell module

Solved -- The code depends upon what version of PHP you are using.

Older versions of php (4.1.0 and prior) use "$HTTP_GET_VARS['page']" and newer versions use "$_GET['page']"

There is a file in admin, I think called xsell.php that must be changed if using the newer PHP version.

19 Oct 2006, 12:35 AM
#4
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Need help of Cross Sell module

rnet, thanks for sharing as I'm sure your work will be appreciated by others with the same problem.

Can you also share as to whether the change applies to just later versions of PHP 4 or does it apply to PHP 5.x as well?

The learning is in the doing.

Potent Products

19 Oct 2006, 12:42 AM
#5
rnet avatar

rnet

Zen Follower

Join Date:
Jun 2005
Location:
Pittsburgh
Posts:
99
Plugin Contributions:
0

Re: Need help of Cross Sell module

This would be true for versions after 4.1.0 thru 5.1.4.

I think PHP is up to 5.1.6 but have not tested.

Ken

29 Oct 2006, 6:06 PM
#6
graper avatar

graper

New Zenner

Join Date:
Jul 2006
Posts:
50
Plugin Contributions:
0

Re: Need help of Cross Sell module

rnet:

Solved -- The code depends upon what version of PHP you are using.

Older versions of php (4.1.0 and prior) use "$HTTP_GET_VARS['page']" and newer versions use "$_GET['page']"

There is a file in admin, I think called xsell.php that must be changed if using the newer PHP version.

technically, this is not an issue with what version of php zen cart is running on, it's a matter of what settings you have in php.ini.

register_globals was changed to false as the default at a particular version and later. It can be changed back to true if you want, but it is not recommended because it means decreased security with your php installation. If your site is being hosted, then it depends on what they set. they could be using a lesser version but have register_globals turned off, which would cause the same issue.

I wish I had found your post before I wracked my brain for 3 :censored: hours trying to figure out what the hell was going on. sigh at least it's fixed now. :laugh:

Granville [granville (at) kirkhamsystems.com]
Kirkham Systems, Inc.