Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / define('TEXT_SUCCESS', ''); appears at top of page

define('TEXT_SUCCESS', ''); appears at top of page

Locked

Started by pchelp2u on 31 Jul 2010, 10:02 PM · Views: 557

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
31 Jul 2010, 10:02 PM
#1
pchelp2u avatar

pchelp2u

New Zenner

Join Date:
Dec 2008
Posts:
4
Plugin Contributions:
0

Post #1 by pchelp2u

When placing an order, the very top of the Order Confirmation page displays "define('TEXT_SUCCESS', '');" then the rest of the page appears as normal. I'm not completely familiar with php, but I know enough to poke around a bit. I'm just not sure where I should look to fix this error.

This is the top of the page source, as it displays:

define('TEXT_SUCCESS', '');<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">

I'm just about banging my head against the wall, because of course I'm on a time limit....
Thanks in advance for anyone's help.

31 Jul 2010, 11:03 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,915
Plugin Contributions:
24

Post #2 by dbltoe

Use the Developer's Tool Kit in the Admin >> Tools to search for TEXT_SUCCESS. One of them will be in a file that it shouldn't be in.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

31 Jul 2010, 11:59 PM
#3
pchelp2u avatar

pchelp2u

New Zenner

Join Date:
Dec 2008
Posts:
4
Plugin Contributions:
0

Post #3 by pchelp2u

That was AWESOME, THANK YOU! I will have to remember that very simple solution for search. It was languages/english/checkout_confirmation.php on the very first line.
(head-scratcher - how did it get there?) :wink: I guess I could blame the guy I inherited the site from....

1 Aug 2010, 4:17 AM
#4
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,915
Plugin Contributions:
24

Post #4 by dbltoe

Glad you got it going:clap:

You never know when an errant keystroke can paste data out of the cache.:oops:

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com