arton Posted January 21, 2009 Share Posted January 21, 2009 Can someone please help me with removal of the double slash on my website? When I go to my website URL: http://mystore.com//index.php instead of having just one single slash after mystore.com, I got two slashes, I don't know why........ :( Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted January 21, 2009 Share Posted January 21, 2009 look at the settings in your configuration files. /admin/includes/configure.php /includes/configure.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 ======>>>>>. Link to comment Share on other sites More sharing options...
arton Posted January 21, 2009 Author Share Posted January 21, 2009 I really don't know what's wrong, I checked both of the configuration files that you mentioned, and I don't have anything that has double slashes //...........what am I missing? Thank you for your time! Link to comment Share on other sites More sharing options...
roya.k Posted January 21, 2009 Share Posted January 21, 2009 If you have something like this in your configuration files: define('HTTP_SERVER', 'http://yourstore.com/'); replace it with this one: define('HTTP_SERVER', 'http://yourstore.com'); Open source n'est pas un échange à sens unique ... La plupart du temps un simple merci ou quelques mots d'encouragement suffisent... Link to comment Share on other sites More sharing options...
arton Posted January 21, 2009 Author Share Posted January 21, 2009 No, I don't have any slash after mystore.com, just a single quote mark like this ' Here is my website: http://artonbeads.net Also, how do I change the color of the header corners to the red that I want to match with my logo? Thank you!! Link to comment Share on other sites More sharing options...
arton Posted January 21, 2009 Author Share Posted January 21, 2009 I have fixed the corner colors by uploading images with correct colors! :) Link to comment Share on other sites More sharing options...
roya.k Posted January 21, 2009 Share Posted January 21, 2009 you have also an "Unable to determine the page link" error. Please go to admin => configuration => My store , and set "Use Search-Engine Safe URLs" to false. Open source n'est pas un échange à sens unique ... La plupart du temps un simple merci ou quelques mots d'encouragement suffisent... Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted January 21, 2009 Share Posted January 21, 2009 define('HTTP_SERVER', 'http://artonbeads.net'); define('HTTPS_SERVER', 'https://artonbeads.net'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'artonbeads.net'); define('HTTPS_COOKIE_DOMAIN', 'artonbeads.net'); 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/'); // BEGIN newdesk define('DIR_WS_RSS', DIR_WS_INCLUDES . 'modules/newsdesk/rss/'); // END newsdesk //USAGE - call the url /rss.php?box=categories or /rss.php?box=whats_new or /rss.php?box=newsdesk_latest.php define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/httpd/vhosts/artonbeads.net/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Should be along the lines of the above. Some entries are for contributions so do not expect it to be exactly the same. Do you have any defines that start and end with /? Such as define('DIR_WS_HTTPS_CATALOG', '//'); define('DIR_WS_ICONS', DIR_WS_IMAGES . '/icons/'); 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 ======>>>>>. Link to comment Share on other sites More sharing options...
arton Posted January 22, 2009 Author Share Posted January 22, 2009 I edited my configure.php file, and removed any slash before or at the end of any defines, and now I can't get in to my admin page anymore......... :( Help!! When I try to refresh my login page at http://artonbeads.net/admin I get this error message below: Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/www/artonbeads.net/admin/includes/functions/database.php on line 19 Unable to connect to database server! HELP!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.