Wishlist error
Permalink Browser Info Environment
I get this error when trying to access the wishlist: Fatal error: Class 'CartController' not found in /home/setforev/public_html/development/packages/core_commerce/controllers/page_types/wish_list.php on line 7
I've attached a screenshot of the line in question for more info.
I am using the SuperMint theme. I've disabled the wish list for now, but it would be a nice feature for the jewelry site I am developing.
I've attached a screenshot of the line in question for more info.
I am using the SuperMint theme. I've disabled the wish list for now, but it would be a nice feature for the jewelry site I am developing.
Type: | Ticket |
---|---|
Status: | In Progress |
Have you by any chance moved your cart to another location in your site? Or removed the cart single page through the dashboard sitemap?
The Default Wishlist page is in the sitemap.
I moved the site from the public_html root to a subfolder, but I can't remember if I did that before or after I installed the core-commerce addon.
I moved the site from the public_html root to a subfolder, but I can't remember if I did that before or after I installed the core-commerce addon.
This actually wouldn't have anything to do with where the site is on the web server itself, but where the "cart" page is within the concrete5 sitemap. The cart page is required at the root of your concrete5 site. Have you moved that page within the concrete5 sitemap by any chance?
I've attached a picture of my sitemap
That certainly looks like it should be the correct place for the cart. Can you post a link to the wishlist that's causing problems? Even if it's not publicly accessible, having the link will make it easier to determine which view/controller is failing.
Additionally, can you post a screenshot the packages/core_commerce/ directory, and the files inside it? Maybe cart.php doesn't exist or didn't get transferred properly.
Additionally, can you post a screenshot the packages/core_commerce/ directory, and the files inside it? Maybe cart.php doesn't exist or didn't get transferred properly.
Link to wishlist error:http://setforeverjewelry.com/development/index.php/wishlists/1/wish...
Thank you so much for your help!
I looked around, and it looks like cart.php is in a few places
'models'
'controllers'
'single pages'
I also have a bunch of e-commerce files in the trash under files. Not sure if those are causing a problem either.
Thank you so much for your help!
I looked around, and it looks like cart.php is in a few places
'models'
'controllers'
'single pages'
I also have a bunch of e-commerce files in the trash under files. Not sure if those are causing a problem either.
Sadly this doesn't tell me what I was hoping it would. Do you have FTP access to this site handy? Would you be able to send me a private message with that information? I believe I need to take a look at the code itself, and possibly make some minor changes if necessary.
I have been meaning to create a login for the development site, but I haven't yet, so you can access the full site, or even make an account. Not sure how involved you get in troubleshooting, haha.
It looks like the Shopping Cart page that shipped with eCommerce had been deleted, and in its place a blank "Shopping Cart" page made with the full page type. This will not work. The eCommerce add-on relies on a page at the root of your site with the path "/cart" – and it must be the special single page "cart" that comes with the eCommerce add-on. I have re-added this page, renamed the old page to "Shopping Cart (Old)", and renamed the cart page that comes with the add-on to "Shopping Cart." The cart functionality now works, as does wishlists.
Thank you so much! I was wondering why the cart wasn't working, but wasn't ready to tackle it yet. I have no idea how that happened. Thank you again!