ChrisColeman Posted June 13, 2019 Share Posted June 13, 2019 Hi, when upgrading from V4 store(s), which do not have a built in contact form I have experienced the following problem .. The migration also migrates the old contact form, but I want to use the new one so i delete the old one and activate the new one. then the new one will not show .. I can get around it by doing something likethis in my .htaccess, but I'm pretty certain that should not be necessary ? ## Could not get contact form to work without this - RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule contact-us.html?$ index.php?_a=contact [NC] Help .. Regards, ChrisColeman. Link to comment Share on other sites More sharing options...
bsmither Posted June 13, 2019 Share Posted June 13, 2019 That should not be necessary. Please describe what CubeCart actually does show when the CC6 Contact Us "will not show". Link to comment Share on other sites More sharing options...
ChrisColeman Posted June 17, 2019 Author Share Posted June 17, 2019 Hi, I get a 404 error, look here on a test site - https://www.herefordcomputers.com/janetgoodrickminiatures/contact-us.html Chris. Link to comment Share on other sites More sharing options...
bsmither Posted June 18, 2019 Share Posted June 18, 2019 Somehow, janetgoodrickminiatures is becoming part of the URL. That's a bad thing. Even though CubeCart does a very good job of figuring out where it is, the web server doesn't do as well. So, in the site's folder (the subfolder janetgoodrickminiatures), the .htaccess file, make sure there is this: ### Rewrite rules for SEO functionality ### <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /janetgoodrickminiatures/ Link to comment Share on other sites More sharing options...
ChrisColeman Posted June 18, 2019 Author Share Posted June 18, 2019 Hi, I already have rewritebase set correctly - Cannot see anything in any logs. Since this is just a test system I'm not too bothered but will try on a production system probably tomorrow. One thing strange is that it worked as it should before I removed the old V3 contact plugin. I don't know if this is correct - In the seo-urls table I have path( contact-us ), type(doc), item-id(2), could that have incorrectly migrated from the old system ? Thanks. Link to comment Share on other sites More sharing options...
bsmither Posted June 18, 2019 Share Posted June 18, 2019 I think that is likely. The CC6 seo path for the Contact Us is a type contact and an item_id of zero (0). But CubeCart would see that 'contact-us' already exists and would try to create another seo path for the type contact. Link to comment Share on other sites More sharing options...
ChrisColeman Posted June 19, 2019 Author Share Posted June 19, 2019 Hi - possibly following a cache refresh or site map regeneration I found the DB had changed but the contact path had become 'contact-us-c', which I edited to 'contact-us'' and now all good. Many Thanks. Link to comment Share on other sites More sharing options...
cuser1 Posted December 7, 2019 Share Posted December 7, 2019 Hi Have the same issue. How do you regenerate sitemap or refresh the sitemap? Thank you SN Link to comment Share on other sites More sharing options...
bsmither Posted December 7, 2019 Share Posted December 7, 2019 In admin, Maintenance, Rebuild tab, check the box for Rebuild Sitemap. (Google will be contacted to say a new sitemap is available.) Link to comment Share on other sites More sharing options...
cuser1 Posted December 8, 2019 Share Posted December 8, 2019 I have the issue with contact form after upgrading from v4. It is not working when I try to go to site.com/contact-us OR site.com/contact I am getting 404 errors And content form in admin is blank. Please let me know what I can do Thank you Link to comment Share on other sites More sharing options...
bsmither Posted December 8, 2019 Share Posted December 8, 2019 CubeCart 5/6 uses a complete friendly URL. So, try www.site.com/contact-us.html. In the admin Contact Form, additional instruction/information can be added. There is no mandatory page content. Link to comment Share on other sites More sharing options...
cuser1 Posted December 10, 2019 Share Posted December 10, 2019 Hi, I have rebuilt the sitemap but I still get 404 errors when try to access www.site.com/contact-us.html or www.site.com/contact-us or www.site.com/contact I would appreciate if you can let me know how to fix that. Thank you Link to comment Share on other sites More sharing options...
bsmither Posted December 10, 2019 Share Posted December 10, 2019 Is the page a plain 404 message from the browser? Or is the page showing what looks like a standard CubeCart page but has 404 as the main content? When looking at the main storefront homepage, there should be a collection of Site Documents. In this collection, there should be one that says "Contact Us". Hover the mouse cursor over that link and view what the browser says is the URL. If there isn't a link for "Contact Us", then in admin, File Manager section of the left navigation pane, click Contact Form, determine if the Status box is checked. Link to comment Share on other sites More sharing options...
cuser1 Posted December 16, 2019 Share Posted December 16, 2019 Thank you, that worked. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.