Results 1 to 10 of 10
  1. #1
    Join Date
    Apr 2012
    Posts
    27
    Plugin Contributions
    0

    Default Tried to remove "Congratulations!..." and the whole store disappeared on me! HELP!

    HELP!

    I thought I was starting to get the hang of this stuff after almost eight months of banging away on the store...

    I upgraded from 150 to 151 just before the New Year. All went well, but lost the main page content, and the header... no biggie. So I slapped a note of explanation on the main page, did a partial fix on the header, and went on vacation.

    Tonight I tried to remove the "Congratulations!..." from the top of the main page that appeared with the 151 upgrade, and I goofed somewhere badly, as my whole store has disappeared. I mean it is GONE.

    I have no idea what to even begin doing to fix this one...

    Oh... when I upgraded to 151, the system asked if I wanted to save the backup to the server. I said "yes", but sure can't find it now.

    https://www.survivit.net

  2. #2
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Tried to remove "Congratulations!..." and the whole store disappeared on me! HEL

    look in your log folder for error logs, what is the most recent one, post it here please. Did you by chance remove the ' ' when removing Congratulations...?

  3. #3
    Join Date
    Apr 2012
    Posts
    27
    Plugin Contributions
    0

    Default Re: Tried to remove "Congratulations!..." and the whole store disappeared on me! HEL

    Left the beginning and terminal ' symbols, was very careful to do that, but had two spaces inserted between them so I wouldn't confuse them with a " symbol later on.

    Where do I find the error logs?

  4. #4
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Tried to remove "Congratulations!..." and the whole store disappeared on me! HEL

    Quote Originally Posted by Czar View Post
    Left the beginning and terminal ' symbols, was very careful to do that, but had two spaces inserted between them so I wouldn't confuse them with a " symbol later on.

    Where do I find the error logs?
    In the root of your hosting, usually publicHTML.

  5. #5
    Join Date
    Apr 2012
    Posts
    27
    Plugin Contributions
    0

    Default Re: Tried to remove "Congratulations!..." and the whole store disappeared on me! HEL

    myDEBUG-1357541990-867017.log
    ASCII text
    [07-Jan-2013 06:59:50 UTC] PHP Parse error: syntax error, unexpected T_STRING in /home/surviv31/public_html/includes/languages/english.php on line 547

    Suddenly I'm getting quite a few of these, all from today:

    /public_html/logs/myDEBUG-1357541990-867017.log
    /public_html/logs/myDEBUG-1357541381-877085.log
    /public_html/logs/myDEBUG-1357541098-930192.log
    /public_html/logs/myDEBUG-1357541095-802425.log
    /public_html/logs/myDEBUG-1357540848-168563.log
    /public_html/logs/myDEBUG-1357540787-171105.log
    /public_html/logs/myDEBUG-1357540790-246723.log
    /public_html/logs/myDEBUG-1357540699-696058.log
    /public_html/logs/myDEBUG-1357540692-45727.log
    /public_html/logs/myDEBUG-1357540315-105708.log
    /public_html/logs/myDEBUG-1357539909-869792.log
    /public_html/logs/myDEBUG-1357539803-245416.log
    /public_html/logs/myDEBUG-1357539786-102461.log
    /public_html/logs/myDEBUG-1357539781-825829.log
    /public_html/logs/myDEBUG-1357539384-695163.log
    /public_html/logs/myDEBUG-1357539361-931097.log
    /public_html/logs/myDEBUG-1357539248-228885.log
    /public_html/logs/myDEBUG-1357539097-925682.log
    /public_html/logs/myDEBUG-1357539068-444208.log
    /public_html/logs/myDEBUG-1357539094-786100.log
    /public_html/logs/myDEBUG-1357538701-375692.log
    /public_html/logs/myDEBUG-1357538714-973914.log
    /public_html/logs/myDEBUG-1357538366-648129.log
    /public_html/logs/myDEBUG-1357538181-119222.log
    /public_html/logs/myDEBUG-1357537756-816586.log
    /public_html/logs/myDEBUG-1357537488-954512.log
    /public_html/logs/myDEBUG-1357537434-712473.log
    /public_html/logs/myDEBUG-1357537123-399285.log
    /public_html/logs/myDEBUG-1357536933-695410.log
    /public_html/logs/myDEBUG-1357536866-473817.log
    /public_html/logs/myDEBUG-1357536791-202295.log
    /public_html/logs/myDEBUG-1357536510-910461.log
    /public_html/logs/myDEBUG-1357536471-775635.log
    /public_html/logs/myDEBUG-1357536350-415794.log
    /public_html/logs/myDEBUG-1357536344-431900.log
    /public_html/logs/myDEBUG-1357536324-467045.log

    My text editor doesn't count lines, and getting accurately up to line 574 will be trying. What is a "T-STRING" and will it stand out for any reason?

  6. #6
    Join Date
    Apr 2012
    Posts
    27
    Plugin Contributions
    0

    Default Re: Tried to remove "Congratulations!..." and the whole store disappeared on me! HEL

    Copy of includes/languages/english.php is attachedenglish.zip

  7. #7
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: Tried to remove "Congratulations!..." and the whole store disappeared on me! HEL

    change
    PHP Code:
      define('EMPTY_CART_TEXT_NO_QUOTE''We're SorryYour session has expired ... Please update your shopping cart for Shipping Quote ...'); 
    to
    PHP Code:
      define('EMPTY_CART_TEXT_NO_QUOTE''We\'re Sorry! Your session has expired ... Please update your shopping cart for Shipping Quote ...'); 
    you used a ' in the text, this should be preceded by a \ or php thinks the function is closed

    And you really should get yourselves a better editor like notepad++

  8. #8
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Tried to remove "Congratulations!..." and the whole store disappeared on me! HEL

    Quote Originally Posted by Design75 View Post
    change
    PHP Code:
      define('EMPTY_CART_TEXT_NO_QUOTE''We're SorryYour session has expired ... Please update your shopping cart for Shipping Quote ...'); 
    to
    PHP Code:
      define('EMPTY_CART_TEXT_NO_QUOTE''We\'re Sorry! Your session has expired ... Please update your shopping cart for Shipping Quote ...'); 
    you used a ' in the text, this should be preceded by a \ or php thinks the function is closed

    And you really should get yourselves a better editor like notepad++
    Nice one :-)

  9. #9
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: Tried to remove "Congratulations!..." and the whole store disappeared on me! HEL

    Quote Originally Posted by picandnix View Post
    Nice one :-)
    thanks, but after a while you start to see patterns in these kind of errors. Especially if you have made them yourselves . Oh and notepad++ is a great help to, because it recognises the error and you can see a different/wrong colouring of the code.
    for notepad++

  10. #10
    Join Date
    Apr 2012
    Posts
    27
    Plugin Contributions
    0

    Default Re: Tried to remove "Congratulations!..." and the whole store disappeared on me! HEL

    Quote Originally Posted by Design75 View Post
    change
    PHP Code:
      define('EMPTY_CART_TEXT_NO_QUOTE''We're SorryYour session has expired ... Please update your shopping cart for Shipping Quote ...'); 
    to
    PHP Code:
      define('EMPTY_CART_TEXT_NO_QUOTE''We\'re Sorry! Your session has expired ... Please update your shopping cart for Shipping Quote ...'); 
    you used a ' in the text, this should be preceded by a \ or php thinks the function is closed

    And you really should get yourselves a better editor like notepad++

    It is really amazing how one single keystroke can wipe out a whole store. I'm sure that there are hundreds if not thousands of us users who know just enough about PHP to be really dangerous, and it keeps you pros on your toes quite a bit.

    A million thanks, and a Happy New Year to all!

 

 

Similar Threads

  1. v151 how to remove text "Congratulations! You have..." from the "TEXT_MAIN"?
    By X-youth gone willd in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Dec 2014, 05:33 PM
  2. how can I remove the logo "Computer store the.." from the header and put my own.
    By fkalanda in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Jul 2013, 09:23 PM
  3. Replies: 1
    Last Post: 12 Oct 2011, 06:23 AM
  4. Help me remove "More info...", I've tried everything!
    By dat311 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 24 Jun 2011, 07:06 PM
  5. Replies: 4
    Last Post: 19 Sep 2009, 02:24 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR