suvijoseph Posted September 6, 2008 Posted September 6, 2008 Hello all, I am not able to edit any values inside admin section. What could be the reason? I did everything But I just cant edit any values inside the admin. Here is my admin's configure.php for reference. <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://mysite.co.uk'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://mysite.co.uk'); define('HTTPS_CATALOG_SERVER', 'http://mysite.co.uk'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/data/members/paid/c/9/mysite/htdocs/www/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', '/data/members/paid/c/9/mysite/htdocs/www/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', '/data/members/paid/c/9/mysite/htdocs/www/'); // absolute path required define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); 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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'myuser'); define('DB_SERVER_PASSWORD', ',mypassword'); define('DB_DATABASE', 'mydata'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Thanks in advance. Thanks and regards, Suvi Joseph Create Mobile Website / Corporate team outing
Guest Posted September 6, 2008 Posted September 6, 2008 Hi need more info or screen shot or errors you are getting? the above look to be ok?
germ Posted September 6, 2008 Posted September 6, 2008 Click Me If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
suvijoseph Posted September 6, 2008 Author Posted September 6, 2008 I did the way Jim suggested modifying compatibility.php file but I still not able to update any values. I attach here the screen shots of sequences of changes I am trying to make on the admin section. Whataver new values I am giving is updated with blank. See where I am changing the store name from 'oscommerce' to 'my store' please help me. Thanks and regards, Suvi Joseph Create Mobile Website / Corporate team outing
♥geoffreywalton Posted September 6, 2008 Posted September 6, 2008 Post the do_magic_quotes_gpc code from both catalog/admin/includes/functions/compatibility.php. catalog/includes/functions/compatibility.php. Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
suvijoseph Posted September 6, 2008 Author Posted September 6, 2008 Post the do_magic_quotes_gpc code from both catalog/admin/includes/functions/compatibility.php. catalog/includes/functions/compatibility.php. This is form catalog: function do_magic_quotes_gpc(&$ar) { if (!is_array($ar)) return false; while (list($key, $value) = each($ar)) { if (is_array($ar[$key])) { do_magic_quotes_gpc($ar[$key]); } else { $ar[$key] = addslashes($value); } } reset($ar); } This is form admin: function do_magic_quotes_gpc(&$ar) { if (!is_array($ar)) return false; while (list($key, $value) = each($ar)) { if (is_array($ar[$key])) { do_magic_quotes_gpc($ar[$key]); } else { $ar[$key] = addslashes($value); } } reset($ar); } Thanks and regards, Suvi Joseph Create Mobile Website / Corporate team outing
suvijoseph Posted September 6, 2008 Author Posted September 6, 2008 Anybody has any clue? Thanks and regards, Suvi Joseph Create Mobile Website / Corporate team outing
suvijoseph Posted September 7, 2008 Author Posted September 7, 2008 Hello, Can anyone tell me is it anything to do with the hosting? You can see the php info file here http://www.c9gadgets.co.uk/phpinfo.php My hosting is lycos Please help me. This error is making me crazy. Regards, Suvi Joseph Thanks and regards, Suvi Joseph Create Mobile Website / Corporate team outing
Recommended Posts
Archived
This topic is now archived and is closed to further replies.