Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Aug 2009
    Posts
    2
    Plugin Contributions
    0

    Default <B>HELP</B>Can not find my error

    I was looking for the place to change the MY Card on the shopping cart to a PayPa/lMC/DISc I put in the html and it did not work. Now I tried to go back to the origianl and the page comes up blank. Below is the page and I was working where it says:
    <?php
    if (SHOW_ACCEPTED_CREDIT_CARDS == '1') {
    echo TEXT_ACCEPTED_CREDIT_CARDS . zen_get_cc_enabled);
    }
    if (SHOW_ACCEPTED_CREDIT_CARDS == '2') {
    echo TEXT_ACCEPTED_CREDIT_CARDS . zen_get_cc_enabled)('IMAGE');


    <snip -- huge amount of PHP code removed by moderator>

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: <B>HELP</B>Can not find my error

    No need to change code.

    Just upload the appropriate image to the appropriate location: https://www.zen-cart.com/tutorials/index.php?article=72
    .

    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
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: <B>HELP</B>Can not find my error

    (And I would add, as an aside, that a subject of "<B>HELP</B>Can not find my error" really doesn't tell us anything about the specific nature of your post. I would recommend in future to make the subject/title more relevant.)
    .

    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.

  4. #4
    Join Date
    Aug 2009
    Posts
    2
    Plugin Contributions
    0

    Default Re: <B>HELP</B>Can not find my error

    Sorry I am new at this! My problem is that when I tried to insert the image I did something wrong. I put the information in and it did not work. So I removed it and I THOUGHT I put it back as it was. Now when my cart site opens it is a blank page. I feel really stupid because I am not the best at this so I ALWAYS copy the whole page of html to word just so if I do mess it up I can just copy and paste it back. Well ALWAYS excecpt this time.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: <B>HELP</B>Can not find my error

    MS Word is probably the *worst* program you could use when editing PHP files.

    Better to use something like the free Notepad++ (http://notepad-plus.sf.net) instead.

    As to finding out the cause of your blank page, I suspect it's in whatever you did to that file. Restoring that file from backup is likely the fastest fix.
    Next best choice is to use the Debug Logging utility mentioned in this article: https://www.zen-cart.com/tutorials/index.php?article=82 and taking steps to correct once you see the exact error that's happening. The FAQ section may help you find out what the errors mean and how to fix, or post the details here.
    .

    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. v139h Can't Find This Validation Error
    By traytray in forum General Questions
    Replies: 2
    Last Post: 20 Aug 2013, 10:13 AM
  2. Can't seem to find the error... help please?
    By alana1223 in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 9 Jan 2010, 05:27 PM
  3. Replies: 1
    Last Post: 24 Nov 2009, 01:44 PM
  4. Replies: 7
    Last Post: 12 Apr 2008, 06:24 AM
  5. Need help with coding - can't find the file were the error is coming from
    By cowlickdesign in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 23 Aug 2006, 04:11 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