djcaseanova Posted November 27, 2013 Share Posted November 27, 2013 Okay, so I downloaded the trial of the latest cubecart. It's been quite a while since I have had cubecart. I installed the cart in /demo/ of my site to try it out, adjust the templates, etc. I am about ready to purchase, however, I do NOT want my store to be at /demo/ can I rename the directory of the cart and have everything work, or do I physically have to reinstall the cart software again? I had some install trouble due to the zend guard/zend optimizer issues with PHP. I did find a script to install ioncube for me so I got it working, I would just hate to mess all that up and start over. Anyone? Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted November 27, 2013 Share Posted November 27, 2013 You won't have to start over, and I'm pretty sure I know what you need to do. But this is too important, and I would hate to tell you wrong. Someone should be along who can tell you for certain how to accomplish this. Quote Link to comment Share on other sites More sharing options...
djcaseanova Posted November 27, 2013 Author Share Posted November 27, 2013 Shoot me your idea if you don't mind. I would kind of like to know all options. If I absolutely have to reinstall, it won't be an issue but it does mean reworking everything in the cart from scratch which could take another weekend. BLEH! Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted November 27, 2013 Share Posted November 27, 2013 Look in your includes/global.inc.php file. Here are my entries: $glob['rootRel'] = '/plushcatalog/'; $glob['storeURL'] = 'http://dirtybutter.com/plushcatalog'; Changing those should fix it, once you've renamed demo. I'm just not positive that's the only place that needs changing. Quote Link to comment Share on other sites More sharing options...
bsmither Posted November 27, 2013 Share Posted November 27, 2013 CC5 does a very good job of figuring out where it is. Those settings in the globals.inc.php file will be used if they are there, but if not, CC5 will figure out where it is. If you enabled SSL mode (and for a trial, I see no reason to do so), be sure to disable it because there are URL and path specific settings for SSL. Feel free to move the code. Quote Link to comment Share on other sites More sharing options...
djcaseanova Posted November 27, 2013 Author Share Posted November 27, 2013 Awesome thanks! Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted November 28, 2013 Share Posted November 28, 2013 Thats right. You should literally be able to move it without making any changes. You may need to clear the cache afterwards from the maintenance section of the admin control panel to make sure no old links are cached. If you use the move function in your FTP client this shouldn't take more than say 20 seconds max. Quote Link to comment Share on other sites More sharing options...
Nikki72 Posted January 9, 2014 Share Posted January 9, 2014 I was litterally about to ask the same question and would like to go from /dev/ to /shop/. Is it best to create the /shop/ directory and move everything or can i simply rename "dev" to "shop"? Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 9, 2014 Share Posted January 9, 2014 Change the SSL settings if necessary. Clear all four caches. Logout. Rename the folder. Login. Clear cache again (just to make sure). Quote Link to comment Share on other sites More sharing options...
Nikki72 Posted January 9, 2014 Share Posted January 9, 2014 Change the SSL settings if necessary. Clear all four caches. Logout. Rename the folder. Login. Clear cache again (just to make sure). Brilliant, thank you very much 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.