Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2005
    Posts
    28
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Jun 2005
    Location
    Pittsburgh
    Posts
    174
    Plugin Contributions
    0

    Re: Need help of Cross Sell module

    I have the same issue, any solutions?

  3. #3
    Join Date
    Jun 2005
    Location
    Pittsburgh
    Posts
    174
    Plugin Contributions
    0

    Idea or Suggestion 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.

  4. #4
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default 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?

  5. #5
    Join Date
    Jun 2005
    Location
    Pittsburgh
    Posts
    174
    Plugin Contributions
    0

    Default 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

  6. #6
    Join Date
    Jul 2006
    Posts
    50
    Plugin Contributions
    2

    Default Re: Need help of Cross Sell module

    Quote Originally Posted by rnet View Post
    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 hours trying to figure out what the hell was going on. *sigh* at least it's fixed now.

 

 

Similar Threads

  1. Which one? Multi Cross Sell vs Ultimate Cross Sell?
    By Renz in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 3 Jul 2013, 08:30 AM
  2. Fatal Error After installing Cross Sell - Just Another Cross Sell Mod
    By kconklin in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 9 Jul 2010, 02:38 PM
  3. Cross Sell module installation problem - help!
    By dazed88 in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 4 Mar 2008, 08:45 AM
  4. Zen Experts... need help with modifying Cross Sell page...
    By jettrue in forum General Questions
    Replies: 7
    Last Post: 31 Mar 2007, 02:27 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR