Dangerousbrian Posted November 10, 2010 Posted November 10, 2010 Hey guys. not 100% sure this is something i did, but i did change the font size on my page link bar on my site. now, all the links on the link bar just seem to refresh/re-load/link to the home page, and the links to products in teh new produsct box say no item found. Also, the link bar in my admin seems broekn too, for example i click on my store, and try to edit store name, or go to one of the other options like, store owner, email adress, email from, country etc, and all that does is seem to refresh the page too. was a long time ago i messed with the link bar, and cant remeebr where or what i did. any help on this would be awsome, thx
FIMBLE Posted November 10, 2010 Posted November 10, 2010 Hello Brian, What is your URL please it would be better to view the problem Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
FIMBLE Posted November 10, 2010 Posted November 10, 2010 Thanks for the PM, you have a double / inyour URL i.e www.yoursite.com//index.php You need to check your catalog / includes / configure.php file to correct this Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
Dangerousbrian Posted November 10, 2010 Author Posted November 10, 2010 Thanks for the PM, you have a double / inyour URL i.e www.yoursite.com//index.php You need to check your catalog / includes / configure.php file to correct this Nic Hmmm...cant seem to find that path at all, had a good look and cant seem to find any folder in my public folder (or anywhere else that i can see) called "catalog" can you just double check that path please? thanks alot. DB
multimixer Posted November 10, 2010 Posted November 10, 2010 Hmmm...cant seem to find that path at all, had a good look and cant seem to find any folder in my public folder (or anywhere else that i can see) called "catalog" If your store is in the root ("public folder") then forgett about /catalog/ and go on from there -> includes/configure.php and -> admin/includes/configure.php My community profile | Template system for osCommerce - New: Responsive | Feedback channel
Dangerousbrian Posted November 10, 2010 Author Posted November 10, 2010 If your store is in the root ("public folder") then forgett about /catalog/ and go on from there -> includes/configure.php and -> admin/includes/configure.php ahhh, ok that makes more sense. found both the folders, any ideas on what string of code is the likely cuplrit? thanks
Dangerousbrian Posted November 11, 2010 Author Posted November 11, 2010 If your store is in the root ("public folder") then forgett about /catalog/ and go on from there -> includes/configure.php and -> admin/includes/configure.php had a good look thought the files in thoase places MANY times now, cant see where this extra / is coming from, what part of the file should i be looking at to cause this? the same thing ( the extra / in the web address ) is happening in my admin panel too if that makes any difference
FIMBLE Posted November 11, 2010 Posted November 11, 2010 post your configure file here, minus the database and passwords etc.. We will be able to help you further Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
Dangerousbrian Posted November 11, 2010 Author Posted November 11, 2010 post your configure file here, minus the database and passwords etc.. We will be able to help you further Nic ok, thx, if i have put anything i shouldnt tell me and i'll edit it quick, here goes; <?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://anarchymodels.co.uk'); // 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', 'anarchymodels.co.uk'); 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', '/home/sites/anarchymodels.co.uk/public_html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', '****************'); define('DB_SERVER_PASSWORD', '****************'); define('DB_DATABASE', '******************'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?>
FIMBLE Posted November 11, 2010 Posted November 11, 2010 Try this // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://anarchymodels.co.uk'); // eg, [url="http://localhost/"][color="#284b72"]http://localhost[/color][/url] - should not be empty for productive servers define('HTTPS_SERVER', 'http://anarchymodels.co.uk'); // eg, [url="https://localhost/"][color="#284b72"]https://localhost[/color][/url] - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'anarchymodels.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'anarchymodels.co.uk'); 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', '/home/sites/anarchymodels.co.uk/public_html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', '****************'); define('DB_SERVER_PASSWORD', '****************'); define('DB_DATABASE', '******************'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> Rgds nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
FIMBLE Posted November 11, 2010 Posted November 11, 2010 sure it saved? You configure.php i posted above will not produce that // as i removed it. Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
FIMBLE Posted November 11, 2010 Posted November 11, 2010 looking at it that single / is there by default ie you ask for http://anarchymodels.co.uk and you get http://anarchymodels.co.uk/ so we need to figure out how the / is getting there! any changes in your htaccess? Like rewrites? Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
Dangerousbrian Posted November 11, 2010 Author Posted November 11, 2010 sure it saved? You configure.php i posted above will not produce that // as i removed it. Nic hmm, when i save it, it it says saved, and exits, when i go in again its goner back to how it was, sigh, dam thing. thanks for helping tho. could it be something to do with the cinfig file in the admin folder?
Dangerousbrian Posted November 11, 2010 Author Posted November 11, 2010 .......... any changes in your htaccess? Like rewrites? Nic hmm, im a bit new ( well im sure u know that, heh ) so not sure what you mean and whicj htaccess file should i be looking at ? thx
FIMBLE Posted November 11, 2010 Posted November 11, 2010 no this would impact on Admin pages not catalog side. Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
Dangerousbrian Posted November 11, 2010 Author Posted November 11, 2010 no this would impact on Admin pages not catalog side. Nic well it is happening in both live site and my admin area. kinda points to something that would effect both places?
Dangerousbrian Posted November 11, 2010 Author Posted November 11, 2010 register_long_arrays Hey, sorry but i dont know what that means :-/ thx
Recommended Posts
Archived
This topic is now archived and is closed to further replies.