Jump to content


  • Content count

  • Joined

  • Last visited

Profile Information

  • Real Name
    dave austin
  • Gender
  1. davea0511

    Force Register Globals On

    My Host switched secure servers which of course wreaked havoc with my sites. One of the problems was that I was getting the dreaded "FATAL ERROR: register_globals is disabled in php.ini" on all my stores whenever I tried to administer changes. There already exists a "Register Globals Patch" that is supposed to solve this problem but as I read it it became obvious that if youy have a lot of contributions installed then the patch may not be the best solution - or at least the easiest solution. As it turned out the easiest solution was to copy the PHP.INI file to every subdirectory in the store that uses PHP. That's all this contribution does. It does it with all the standard subdirectories, but if you come accross this error and want to run the patch you might want to make sure that any additional subdirectories created by other contributions also get the PHP.INI copied to them. Also, please note that there is a possibility that some of these directories contained in my little php file don't exist in the standard 2.2 distribution (they might be part of a contribution I've installed... I don't know... I'm contirbution happy). If so, they should generate some errors when you run the php file but you may ignore those errors. Here it is: http://www.oscommerce.com/community/contri...ns,4541/page,12
  2. davea0511


    First I'd go to your storefront and copy the links under "Affiliate Program" - you'll want to put them on a different page to send the Affiliates you want. Then, just comment out the following from catalog/includes/column_left.php: from: require(DIR_WS_BOXES . 'affiliate.php'); to: // require(DIR_WS_BOXES . 'affiliate.php'); You can then create a seperate webpage that that includes the links you previously copied from your storefront. ... affiliate_contact.php ... affiliate_faq.php ... affiliate_info.php and your secure link for affiliates to log in or create their own accounts (blah, blah ... affiliate_affiliate.php)