Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Rabarbervin

Pioneers
  • Posts

    6
  • Joined

  • Last visited

Profile Information

  • Real Name
    Brottarbralla

Rabarbervin's Achievements

  1. Oh... and i didnt edit that file in anyway, its untouched, i only edited the files that the instruction told me to.
  2. Thx for your help! But i cant find it in line 30, it´s only on line 18 as you can see highlited below: <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2010 osCommerce Released under the GNU General Public License */ //// // Recursively handle magic_quotes_gpc turned off. // This is due to the possibility of have an array in // $HTTP_xxx_VARS // Ie, products attributes function do_magic_quotes_gpc(&$ar) { if (!is_array($ar)) return false; reset($ar); while (list($key, $value) = each($ar)) { if (is_array($ar[$key])) { do_magic_quotes_gpc($ar[$key]); } else { $ar[$key] = addslashes($value); } } reset($ar); } if (PHP_VERSION >= 4.1) { $HTTP_GET_VARS =& $_GET; $HTTP_POST_VARS =& $_POST; $HTTP_COOKIE_VARS =& $_COOKIE; Does it mean that it wants it to be written ones again in to line 30?? Rabarbervin
  3. I defined it in the names.php as you can see highlighted: define('FILENAME_COOKIE_USAGE', 'cookie_usage.php'); define('FILENAME_CREATE_ACCOUNT', 'create_account.php'); define('FILENAME_CREATE_ACCOUNT_SUCCESS', 'create_account_success.php'); define('FILENAME_DEFAULT', 'index.php'); define('FILENAME_DOWNLOAD', 'download.php'); define('FILENAME_INDEX_MAINTENANCE', 'index_maintenance.php'); define('FILENAME_INFO_SHOPPING_CART', 'info_shopping_cart.php'); define('FILENAME_LOGIN', 'login.php'); define('FILENAME_LOGOFF', 'logoff.php'); define('FILENAME_NEW_PRODUCTS', 'new_products.php'); define('FILENAME_PASSWORD_FORGOTTEN', 'password_forgotten.php'); Is this properly done? Rabarbervin
  4. I get this message when i set the store to Maintenance: Fatal error: Cannot redeclare do_magic_quotes_gpc() (previously declared in /customers/mysite.se/mysite.se/httpd.www/includes/functions/compatibility.php:18) in /customers/mysite.se/mysite.se/httpd.www/includes/functions/compatibility.php on line 30 I dont understand what to fix, so any help would make me happy! thx in advance... Rabarbervin
×
×
  • Create New...