Hi clicked on retrive cart message and the following message appeared
Notice: Use of undefined constant CART_NAME_MSG - assumed 'CART_NAME_MSG' in /usr/......./blocks/block_cart_retrieve.php on line 36
is anybody else getting the same ?
I have looked in static messages and CART_NAME_MSG is not present
Regards
Dave
jty (Guest)
13 Jun 2008 1:00 PM
I manually added it in under Cart Mesages in static tables
epicurean
8 Jun 2009 5:49 PM
I had the same problem. I'm just confused about what it's *supposed* to be. Like... what happened? Did there used to be a message called CART_NAME_MSG?
Also, I couldn't find anywhere that it was displaying 'CART_NAME_MSG' so I'm not sure what exactly the error is affecting, if anything. Would be nice if it weren't there though. I just added a definition to messages/en/cart_messages.php - basically the same as adding it to the static table I guess? My static tables were read only, probably because I didn't set the permissions so that everyone and their mother's web server can access them :)
So... I'm assuming that worked, but I don't know what I've fixed, other than a random error showing up in the error log.
alejo139
21 Sep 2009 8:22 PM
I solve the problem by editing a file error block_cart_retrieve try doing the following, remember to keep a copy of the original file to avoid problems. That if you are equal to mine in version 3.5
Locate the following line of code:
$ r-> add_textbox (cart_name ", TEXT, CART_NAME_MSG);
Make the change for this:
$ r-> add_textbox (cart_name ", TEXT, CART_NAME_FIELD);
I hope might help but perhaps already too late and already solved it