bbtil Posted July 6, 2017 Share Posted July 6, 2017 Hi! I built the store in a test folder and now am ready to change that folder name to the proper name. I have changed it from "storetest" to "store" and I changed it in the "store settings ssl" area but the links from the menu do not work. The store front appears but when I click on a menu options I get a "404 Not Found The requested document was not found on this server." Any suggestions as to what I'm missing? I feel like its probably obvious but for some reason I'm drawing a blank. Thanks! Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 6, 2017 Share Posted July 6, 2017 Please examine the file /includes/global.inc.php, and determine if there is a $glob array variable named 'rootRel'. If it is there, that statement may need to be updated. Also, examine the file .htaccess, and find the directive named RewriteBase (or something like that). That may need to be updated. Quote Link to comment Share on other sites More sharing options...
bbtil Posted July 6, 2017 Author Share Posted July 6, 2017 Hi, thanks! There was no 'rootRel' in the global file and I just looked at the .htaccess and there is a RewriteBase there. I'm not sure what to update though. Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 6, 2017 Share Posted July 6, 2017 OK, no 'rootRel' - we will let that go and revisit later if necessary. Please edit the .htaccess file (easiest done using the editor tool in the hosting account's control panel) and change the RewriteBase value from storetest to store. Quote Link to comment Share on other sites More sharing options...
bbtil Posted July 6, 2017 Author Share Posted July 6, 2017 there is no value it says RewriteBase / Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 7, 2017 Share Posted July 7, 2017 I would say that the directive is necessary - and am wondering how it worked at all without the name of the folder. But try having this in the .htaccess file. RewriteBase /store Then, in admin, Maintenance, Rebuild tab, check Clear Cache and submit. CubeCart caches the HTML that is the store's Navigation links (aka, Category Menu). So, even when the store's address changes, the cached menu does not. (This bug may be fixed in a later version.) Quote Link to comment Share on other sites More sharing options...
keat Posted July 7, 2017 Share Posted July 7, 2017 Mine just says RewriteBase / maybe because my store is in the root of the public_html folder. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted July 7, 2017 Share Posted July 7, 2017 Mine says RewriteBase /plushcatalog/ on the store that is not at the root. 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.