Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Feb 2009
    Posts
    354
    Plugin Contributions
    0

    Default overwritten by mistake

    Can anyone help? I accidentally over-wrote define_main_page in:

    includes,
    languages,
    english,
    html_includes,
    classic.

    Can anyone just copy this page for me - it will really help me out.

    _Thanks{

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: overwritten by mistake

    Um ... the original version of the file is in the folder "above" the "classic" folder which you mentioned.

    Or, you can always get all the original Zen Cart files by following the download link and getting another copy of the distribution zip file ... https://www.zen-cart.com/tutorials/i...hp?article=323
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

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

    Default Re: overwritten by mistake

    well they were both over written. A copy and paste would be really handy..

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: overwritten by mistake

    The files in the html_includes folder and subfolders simply contain HTML content, but the files have a .php extension.

    So ... if you want to start fresh, just empty them out and start with new HTML. I could tell you to copy and paste a blank space if you like, but some people would find that insulting, so I try not to do that .
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

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

    Default Re: overwritten by mistake

    I just downloaded another zen cart on my server - I can now use it to refer to when needed_ thanks

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: overwritten by mistake

    Remember it's always wise to have a copy of all the files on your PC. And to regularly make backups (of all your files AND your database) from your server TO your PC (usually via FTP) for safekeeping.



    https://www.zen-cart.com/tutorials/i...hp?article=103
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Dimensions being overwritten.
    By phlipper in forum All Other Contributions/Addons
    Replies: 12
    Last Post: 21 Jul 2011, 12:43 PM
  2. 1.3.8 --> 1.3.8a Content overwritten?
    By mike_9000 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 16
    Last Post: 8 Aug 2009, 01:42 AM
  3. Text being overwritten in FF but not IE??
    By rsloan in forum General Questions
    Replies: 0
    Last Post: 9 Feb 2009, 03:09 AM
  4. Overwritten index.html
    By actorxfactor in forum General Questions
    Replies: 2
    Last Post: 1 Oct 2007, 07:54 PM
  5. overwritten admin config
    By tenerifetom in forum Upgrading from 1.3.x to 1.3.9
    Replies: 4
    Last Post: 18 Jan 2007, 02:07 PM

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