Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help Solving Issue


inet4u

Recommended Posts

Please help me solve this issue! I am new to the OSC and have a little knowledge on designs. I play around on OSC by installing it on my local server and found the same problem on my hosting server. Warning: I am able to write to the configuration file: C:/xampp/htdocs/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file. I foolow where the root of the error on the configure.php and i have no clue where to find that error. Please help me solve this issue :(

Link to comment
Share on other sites

Simply go into your hosting panel (such as CpanelX if you use it) and go to your file manager. Navigate to the folder it just told you to go to which is /xampp/htdocs/catalog/includes/ then go to the configure.php file and change it's permissions. Remove the write access permissions. You're not changing the file in any way, just it's permissions.

RC2.2a

Link to comment
Share on other sites

My problem is i do not know where is the permission in this code. It does not say anything about it or any comment that this is a persmission or something.

 

Maybe you can help me here:

<?php

define('HTTP_SERVER', 'http://localhost');

define('HTTPS_SERVER', 'http://localhost');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'localhost');

define('HTTPS_COOKIE_DOMAIN', 'localhost');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '/catalog/');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/catalog/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', 'C:/xampp/htdocs/catalog//');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'shopon');

define('DB_SERVER_PASSWORD', 'shopon');

define('DB_DATABASE', 'shopon');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...