Guest Posted July 30, 2007 Posted July 30, 2007 an site can look like http://www.calendaresipromotionale.ro/inde...d0d8ba87283914f (and work) and sometimes when you click the same link it lookes like http://www.calendaresipromotionale.ro/prod...dare_cu_imagini and "The page cannot be found" I really need backup on this guys:))) PS: admin doesn't work so any solution must me php or sql , but not including admin help
Guest Posted July 30, 2007 Posted July 30, 2007 an site can look like http://www.calendaresipromotionale.ro/inde...d0d8ba87283914f (and work) and sometimes when you click the same link it lookes like http://www.calendaresipromotionale.ro/prod...dare_cu_imagini and "The page cannot be found" I really need backup on this guys:))) PS: admin doesn't work so any solution must me php or sql , but not including admin help Check your configure.php files See http://www.oscommerce.com/forums/index.php?sho...=193738&hl=
Guest Posted July 30, 2007 Posted July 30, 2007 my files: includes/configure.php <?php // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.birotica-si-papetarie.ro/'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.birotica-si-papetarie.ro'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection REST OFF IT! ?> admin/includes/configure.php <?php // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.birotica-si-papetarie.ro'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.birotica-si-papetarie.ro'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/birotica-si-papetarie.ro/httpdocs/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN','/birotica-si-papetarie.ro/httpdocs/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', '/birotica-si-papetarie.ro/httpdocs/'); // 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 REST OFF IT ?> Is somethig wrong in it? help pls! why my urls behave like that! PS: I don't have SSL PhpInfo on my server
spax Posted July 30, 2007 Posted July 30, 2007 includes/configure.php define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/'); Try using define('DIR_FS_CATALOG', 'C:/Inetpub/vhosts/birotica-si-papetarie.ro/httpdocs/'); admin/includes/configure.php Use the full paths, as above example define('DIR_FS_DOCUMENT_ROOT', 'C:/Inetpub/vhosts/birotica-si-papetarie.ro/httpdocs/'); define('DIR_FS_ADMIN','C:/Inetpub/vhosts/birotica-si-papetarie.ro/httpdocs/admin/'); define('DIR_FS_CATALOG', 'C:/Inetpub/vhosts/birotica-si-papetarie.ro/httpdocs/'); Backup the originals first!......Backup the originals first!......Backup the originals first!.....Backup the originals first!
Guest Posted July 30, 2007 Posted July 30, 2007 I was thinkig 2 reinstall....and i don't knoe what theme 2 use because this is f* up really bad(recoded by some loosers at an romanian company), really bad coding , and I have 2 make the sites like the previos versions.
Guest Posted July 30, 2007 Posted July 30, 2007 so if anyoane has ideeas on wich theme was used on this site and on this site I would relly be thankfull to him! I think i can modifi the thems 2 look like the sites , i know some html.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.