Forums / Templates, Stylesheets, Page Layout / <B>HELP</B>Can not find my error

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

Locked

Started by fishinphil on 22 Aug 2009, 7:54 PM · Views: 775

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
22 Aug 2009, 7:54 PM
#1
fishinphil avatar

fishinphil

New Zenner

Join Date:
Aug 2009
Posts:
2
Plugin Contributions:
0

<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>*
22 Aug 2009, 8:30 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

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.

22 Aug 2009, 8:32 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

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.

22 Aug 2009, 8:38 PM
#4
fishinphil avatar

fishinphil

New Zenner

Join Date:
Aug 2009
Posts:
2
Plugin Contributions:
0

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.

22 Aug 2009, 10:17 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

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.