Guest Baker Hosting Posted September 5, 2006 Share Posted September 5, 2006 Ok so i want to move cubecart to another directory with damaging it and losing everything i have put on ect. currently it is in the main directory (www.fiddyparts.co.uk) and i want to move it to /shop so i can put a site in the main directory and link it to my shop. Any ideas? Thanks alot guys Nick Quote Link to comment Share on other sites More sharing options...
Guest peppy Posted September 5, 2006 Share Posted September 5, 2006 place everything in /shop, go to global.inc.php and edit the url in there. then you're done but... for to be sure, make a backup of your shop and of your database (do that regular) Quote Link to comment Share on other sites More sharing options...
roban Posted September 5, 2006 Share Posted September 5, 2006 In your includes/global.inc file add these values: <?php $glob['dbdatabase'] = ''; $glob['dbhost'] = ''; $glob['dbpassword'] = ''; $glob['dbprefix'] = ''; $glob['dbusername'] = ''; $glob['installed'] = '0'; $glob['rootDir'] = 'here you'll add /shop to existing value'; $glob['rootRel'] = '/shop/'; $glob['storeURL'] = 'www.fiddyparts.co.uk/shop/'; ?> Also if you've added any links to your store, you'll have to edit them as well Quote Link to comment Share on other sites More sharing options...
Guest Baker Hosting Posted September 5, 2006 Share Posted September 5, 2006 Thanks alot guys, Big help Quote Link to comment Share on other sites More sharing options...
Guest vrakas Posted September 5, 2006 Share Posted September 5, 2006 Simple question and simple replys, added here :P Quote Link to comment Share on other sites More sharing options...
Guest PaulD Posted January 3, 2007 Share Posted January 3, 2007 :D I love Cube Cart. (So far.... ) Thank you for great support forum. Paul Quote Link to comment Share on other sites More sharing options...
Guest fch Posted March 10, 2007 Share Posted March 10, 2007 My situation is: i first put the store in: www.myname.com/cubecart, everything works fine; but, after i change the directory to "store" , it is broken, then I tried to change it back to "Cubecart", it could not be fixed. What value should I change? Do i have to change Global.inc file only? Is there a possibility the database has something wrong? Thank you very much!!!! edited: I changed according to above instructions, it worked!!!! The one thing I missed in the first time was Cube, i should wrote it as cube , i did not realized it was case sentative. Quote Link to comment Share on other sites More sharing options...
Guest ABDC Posted March 13, 2007 Share Posted March 13, 2007 I recently changed the URL of my shop from /store to / (root). But now the admin directory is broken! The shop works fine, but /admin throws up a 404. I did change and check the global.inc. Anybody ever seen that before/ an idea what is going on? Quote Link to comment Share on other sites More sharing options...
Guest littlered Posted March 21, 2007 Share Posted March 21, 2007 I recently changed the URL of my shop from /store to / (root). But now the admin directory is broken! The shop works fine, but /admin throws up a 404. I did change and check the global.inc. Anybody ever seen that before/ an idea what is going on? i'm having that problem too!! i'm guessing the config field in the database is the problem since i copied the tables into another cc installation. help!?! how do i get my admin back? it redirects to the other admin store (that i copied from). Quote Link to comment Share on other sites More sharing options...
Guest tonyg Posted November 2, 2007 Share Posted November 2, 2007 I recently changed the URL of my shop from /store to / (root). But now the admin directory is broken! The shop works fine, but /admin throws up a 404. I did change and check the global.inc. Anybody ever seen that before/ an idea what is going on? i'm having that problem too!! i'm guessing the config field in the database is the problem since i copied the tables into another cc installation. help!?! how do i get my admin back? it redirects to the other admin store (that i copied from). Did you ever get this working as I am also with the same problem. I have also lost my admin in the same way. Thanks Quote Link to comment Share on other sites More sharing options...
Guest IzzyTees Posted November 19, 2007 Share Posted November 19, 2007 I moved everything FROM /shop to the root directory and followed the instructions to change the global.inc.php file and the site is now broken. Any thoughts? Here is my Global.inc.php <?php $glob['dbdatabase'] = 'xxx'; $glob['dbhost'] = 'xxx'; $glob['dbpassword'] = 'xxx'; $glob['dbprefix'] = ''; $glob['dbusername'] = 'xxx'; $glob['installed'] = '1'; $glob['rootDir'] = 'c:\\hosting\\webhost4life\\member\\izzytees\\'; $glob['rootRel'] = '/'; $glob['storeURL'] = 'http://www.izzytees.com'; ?> Error is: Fatal error: Call to undefined function: fetchdbconfig() in c:\hosting\webhost4life\member\izzytees\index.php on line 53 Quote Link to comment Share on other sites More sharing options...
Guest Exploit Posted January 1, 2008 Share Posted January 1, 2008 I recently changed the URL of my shop from /store to / (root). But now the admin directory is broken! The shop works fine, but /admin throws up a 404. I did change and check the global.inc. Anybody ever seen that before/ an idea what is going on? i'm having that problem too!! i'm guessing the config field in the database is the problem since i copied the tables into another cc installation. help!?! how do i get my admin back? it redirects to the other admin store (that i copied from). Did you ever get this working as I am also with the same problem. I have also lost my admin in the same way. Thanks Hi me too have the same problems! did you fix it? Quote Link to comment Share on other sites More sharing options...
Guest Klutzys Posted December 26, 2008 Share Posted December 26, 2008 Basically, moving the store and editing the file necessary was easy. However, like everyone else I CAN NOT logon to the admin area to use cubecart. I too moved one store over another. Anyone get this fixed?? Tammy Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 26, 2008 Share Posted December 26, 2008 If you have a SSL cert, be sure to switch OFF the SSL setting before moving the site. Then you can adjust the SSL URLs before switching it back on. Then delete any and all cookies for your store's URL you may have in your browser. Quote Link to comment Share on other sites More sharing options...
Guest Crystal Dragon Posted June 11, 2009 Share Posted June 11, 2009 Hi Guys I have a membership site and I was not happy with my membership script so I purchased another one and put my shopping cart into the new area. I was having the same problem not being able to access the admin panel all I did was go in and change the path here is my "global.inc.php" <?php $glob['dbdatabase'] = 'crystalv_memberscart'; $glob['dbhost'] = 'localhost'; $glob['dbpassword'] = 'xxxxx; $glob['dbprefix'] = ''; $glob['dbusername'] = 'xxxxxxxx'; $glob['installed'] = '1'; $glob['rootDir'] = '/home/crystalv/public_html/domain name/membersonly/member/cart'; $glob['rootRel'] = '/membersonly/member/cart/'; $glob['storeURL'] = 'http://xxxxxxxxxxxxxxxx.com/membersonly/member/cart'; ?> I then went into my membership site and typed into the address bar http://www.xxxxxxxxxx.com/me...mber/cart/admin and up popped my admin panel. you could try this and see if it works. It worked for me so lets hope it works for you. Love and Light Colleen The Crystal Dragon Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.