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.

1 Attachment

Type: Ticket
Status: In Progress
perceptivecreative
View Replies:
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Have you by any chance moved your cart to another location in your site? Or removed the cart single page through the dashboard sitemap?
perceptivecreative replied on at Permalink Reply
perceptivecreative
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.
andrew replied on at Permalink Reply
andrew
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?
perceptivecreative replied on at Permalink Reply 1 Attachment
perceptivecreative
I've attached a picture of my sitemap
andrew replied on at Permalink Reply
andrew
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.
perceptivecreative replied on at Permalink Reply 1 Attachment
perceptivecreative
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.
andrew replied on at Permalink Reply
andrew
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.
perceptivecreative replied on at Permalink Reply
perceptivecreative
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.
andrew replied on at Permalink Reply
andrew
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.
perceptivecreative replied on at Permalink Reply
perceptivecreative
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!

concrete5 Environment Information

# concrete5 Version
5.6.3.4

# concrete5 Packages
AddThis (1.0), Designer Content (3.1.1), eCommerce (2.8.16), Login (1.1.1), MindNet Browser Update Notification (1.1), Reviews (1.4.1), SuperMint Theme (2.0.7.2), tnSpacer (1.3).

# concrete5 Overrides
languages/es_MX, languages/fi_FI, languages/ja_JP, languages/el_GR, languages/da_DK, languages/vi_VN, languages/it_IT, languages/fr_FR, languages/zh_TW, languages/tr_TR, languages/nb_NO, languages/sl_SI, languages/fa_IR, languages/ro_RO, languages/nl_NL, languages/ar, languages/ru_RU, languages/sv_SE, languages/cs_CZ, languages/es_AR, languages/pt_BR, languages/pt_PT, languages/pl_PL, languages/de_DE, languages/sk_SK, languages/es_ES, languages/es_PE

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
5.5.30

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, ionCube Loader, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, readline, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Guard Loader, Zend OPcache, zip, zlib.

# PHP Settings
max_execution_time - 300
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - -1
max_input_vars - 10000
memory_limit - 256M
post_max_size - 128M
sql.safe_mode - Off
upload_max_filesize - 128M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
opcache.max_accelerated_files - 2000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5
zend_optimizerplus.max_accelerated_files - 2000
zend_optimizerplus.max_file_size - 0
zend_optimizerplus.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.71 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.