Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2009
    Posts
    44
    Plugin Contributions
    0

    Default I keep creating errors in shopping cart file

    Hello,

    I'm using 1.3.8 with a few addons.

    I keep creating an error (with creates all kind of trouble with the cart) when editing the includes/languages/english/shopping_cart.php file. I just want to add a few "instruction" lines of text. Is it the period after the sentences in my copy? I know to stay within the ' ', but not sure what I'm doing wrong.

    I also want to add a few short sentences to the processing and delivered emails. Again I keep creating errors when I edit these.

    Thanks for the help.....

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    18,031
    Plugin Contributions
    1

    Default Re: I keep creating errors in shopping cart file

    What errors are you getting?

    Are there any special characters (apostrophe, etc.) in your text?

  3. #3
    Join Date
    Feb 2009
    Posts
    44
    Plugin Contributions
    0

    Default Re: I keep creating errors in shopping cart file

    Hey stevesh,

    The error is: once you've made your selections (I sell t-shirts so select design, size and color) and click "add to cart" a blank page appears. Using the Debug Logging Tool, I know I'm doing something in the includes/languages/english/shopping_cart.php file. I did have a apostrophe and period in the sentences. Is this the problem? Can it only be one sentence in this file?

    Thanks for the help.

  4. #4
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    3,943
    Plugin Contributions
    1

    Default Re: I keep creating errors in shopping cart file

    Quote Originally Posted by fishface View Post
    Hey stevesh,

    The error is: once you've made your selections (I sell t-shirts so select design, size and color) and click "add to cart" a blank page appears. Using the Debug Logging Tool, I know I'm doing something in the includes/languages/english/shopping_cart.php file. I did have a apostrophe and period in the sentences. Is this the problem? Can it only be one sentence in this file?

    Thanks for the help.
    Yes, an apostrophe can cause problems as they will effectively 'de quote' a text string. Periods don't tend to cause any issues.

    Another common 'gotcha' is having a blank line after the closing php> tag at the end of the file. This is often an unintended addition created by some text editors.

    Cheers
    Rod

  5. #5
    Join Date
    Feb 2009
    Posts
    44
    Plugin Contributions
    0

    Default Re: I keep creating errors in shopping cart file

    thanks for the info!

 

 

Similar Threads

  1. Shopping cart page producing 500 errors
    By orchidlake in forum Managing Customers and Orders
    Replies: 10
    Last Post: 21 May 2009, 08:09 PM
  2. Errors reported. Shopping cart no longer functioning
    By Stormshade in forum General Questions
    Replies: 11
    Last Post: 20 Nov 2007, 07:50 PM
  3. Where to update shopping cart file
    By ruthnis in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 21 Oct 2007, 08:17 AM
  4. experiencing a problem creating new products for my shopping cart.
    By ialwaahid in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 24 Dec 2006, 01:27 AM
  5. Replies: 3
    Last Post: 16 Nov 2006, 07:53 AM

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
  •