Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2005
    Posts
    28
    Plugin Contributions
    0

    Default Error Adding To Cart, and Creating New Item in admin

    Hi,
    Just hours ago a was able to add to cart and through admin create new products, but suddenly a customer contacted me saying that they can't add some items to their cart. I did try it my self for some reason its not adding and it takes me to a 404 not found page. Also i tried to create new items in through admin and had the same error it would take me to a 404 not found page. I have tried many of the threads but with no luck I uploaded new files to Classes folder and all the other files as mentioned in other posts but didn't work.

    any help would be appreciated link is http://awwadone.com/store

  2. #2
    Join Date
    Apr 2005
    Posts
    28
    Plugin Contributions
    0

    Default Re: Error Adding To Cart, and Creating New Item in admin

    Anyone please !!

  3. #3
    Join Date
    Apr 2005
    Posts
    28
    Plugin Contributions
    0

    Default Re: Error Adding To Cart, and Creating New Item in admin

    I have managed to fix this by checking all the language files and one (product_info.php) had a space at the end which fixed the whole thing.


    define('TEXT_ATTRIBUTES_PRICE_WAS',' [was: ');
    define('TEXT_ATTRIBUTE_IS_FREE',' now is: Free]');
    define('TEXT_ONETIME_CHARGE_SYMBOL', ' *');
    define('TEXT_ONETIME_CHARGE_DESCRIPTION', ' One time charges may apply');
    define('TEXT_ATTRIBUTES_QTY_PRICE_HELP_LINK','Quantity Discounts Available');
    define('ATTRIBUTES_QTY_PRICE_SYMBOL', zen_image(DIR_WS_TEMPLATE_ICONS . 'icon_status_green.gif', TEXT_ATTRIBUTES_QTY_PRICE_HELP_LINK, 10, 10) . ' ');
    ?>
    /had an extra line here

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Error Adding To Cart, and Creating New Item in admin

    Thanks for the update and the solution ...

    php hates those little space(s) and blank line(s) at the end of a file after the last closing php tag ?>

    Does look horrible when it trips that error ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Apr 2005
    Posts
    28
    Plugin Contributions
    0

    Default Re: Error Adding To Cart, and Creating New Item in admin

    Thanx for the reply I knew someone would check out the problem.

 

 

Similar Threads

  1. Replies: 3
    Last Post: 17 Oct 2013, 06:37 PM
  2. "Your shopping cart is empty!" error after adding item to cart...
    By pappaj333 in forum Installing on a Linux/Unix Server
    Replies: 12
    Last Post: 14 Aug 2010, 04:58 PM
  3. Error when adding item to cart
    By Sabine_in_MG in forum General Questions
    Replies: 1
    Last Post: 29 Apr 2008, 11:26 PM
  4. Adding data entry fields and creating a new page
    By ericny in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 23 May 2007, 08:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR