dominavi Posted May 14, 2008 Posted May 14, 2008 So I decided to be smart and make a development server before moving everything to the full production server. The only problem is the links on the catalog (product listing) is still linked to the home site (www) instead of development (development). I have edited the includes/configure.php and admin/includes/configure.php, yet the links on the products are still pointed at the main server (I copied the www folder to the development folder, so I'm assuming there's something other than configure.php I need to change). Thanks!
dominavi Posted May 15, 2008 Author Posted May 15, 2008 If anyone cares to help, you can see the problem by looking at: http://development.onixarmor.com
germ Posted May 17, 2008 Posted May 17, 2008 Look in the includes folder where your configure.php file is. In there is a folder named local Check this includes/local folder to see if there is a configure.php file there. If it's there, be sure it contains correct data. osC will use data from that configure file if it's present. 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 >
dominavi Posted May 17, 2008 Author Posted May 17, 2008 Look in the includes folder where your configure.php file is. In there is a folder named local Check this includes/local folder to see if there is a configure.php file there. If it's there, be sure it contains correct data. osC will use data from that configure file if it's present. Thanks for the help, although nothing is there. Any other suggestions?
germ Posted May 17, 2008 Posted May 17, 2008 Check your .htacces file for rewrites 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 >
germ Posted May 18, 2008 Posted May 18, 2008 Another thing to do would be to set "Use Cache" to false in your Admin. I pinged the two sites and they both resolve to the same IP address, so it's probable they share the same cache, and what you're seeing is the cache that was created before you altered the URL in the config files. 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 >
dominavi Posted May 23, 2008 Author Posted May 23, 2008 Another thing to do would be to set "Use Cache" to false in your Admin. I pinged the two sites and they both resolve to the same IP address, so it's probable they share the same cache, and what you're seeing is the cache that was created before you altered the URL in the config files. It is already set to false. I don't know how else to fix this problem.
germ Posted May 23, 2008 Posted May 23, 2008 Post the code from the <head> section of your index.php where it sets the <base href="..."> value. Looks something like this: <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> 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 >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.