Forums / All Other Contributions/Addons / TEXT_FIELD_OPTIONAL appeared in my ZC Admin

TEXT_FIELD_OPTIONAL appeared in my ZC Admin

Locked

Views: 1,346

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
30 Jul 2007, 6:08 PM
#1
maza avatar

maza

New Zenner

Join Date:
Apr 2007
Posts:
98
Plugin Contributions:
0

TEXT_FIELD_OPTIONAL appeared in my ZC Admin

I noticed the above text appeared beside most of my 'fill in the blanks' form.

I think it happened after I installed Clyde's Testimonial Manager.

Anybody knows how to fix this?

30 Jul 2007, 8:17 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: TEXT_FIELD_OPTIONAL appeared in my ZC Admin

That means you're missing a file that contains a statement like:```
define('TEXT_FIELD_OPTIONAL', 'blahblahblahblah');

a) requires that define() statement and your upload somehow missed it;
or
b) while uploading, you somehow overwrote an existing file that "had" the define, but the new file does not;
or
c) you edited a file that contains that define() statement, but made a PHP syntax error somewhere, making the rest of the file no longer work after the syntax error

.
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.

1 Aug 2007, 4:15 PM
#3
maza avatar

maza

New Zenner

Join Date:
Apr 2007
Posts:
98
Plugin Contributions:
0

Re: TEXT_FIELD_OPTIONAL appeared in my ZC Admin

DrByte,

I don't know how to amend it, I can't get it using Developers Tool too.

Here's an example where the text appeared:

1 Aug 2007, 4:21 PM
#4
maza avatar

maza

New Zenner

Join Date:
Apr 2007
Posts:
98
Plugin Contributions:
0

Re: TEXT_FIELD_OPTIONAL appeared in my ZC Admin

Hey, I got it sorted. Clyde suggested to remove a string inside a .php file and it solved my problem.

Thanks for looking.

15 Sep 2007, 7:31 PM
#5
acreativepage avatar

acreativepage

Zen Follower

Join Date:
Sep 2004
Posts:
146
Plugin Contributions:
0

Re: TEXT_FIELD_OPTIONAL appeared in my ZC Admin

I am having the same problem and it happened after the 'Testimonial' installation as well. What was it you removed?

Stacee Edwards

28 Oct 2007, 3:22 PM
#6
maza avatar

maza

New Zenner

Join Date:
Apr 2007
Posts:
98
Plugin Contributions:
0

Re: TEXT_FIELD_OPTIONAL appeared in my ZC Admin

I'm sorry friend, I have forgotten what I did :blush:. Probably Clyde can help here?

28 Oct 2007, 8:53 PM
#7
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: TEXT_FIELD_OPTIONAL appeared in my ZC Admin

maza:

I'm sorry friend, I have forgotten what I did :blush:. Probably Clyde can help here?

upload a clean copy of html_output.php to:

admin/includes/funcitons/html_output.php

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

29 Oct 2007, 4:55 AM
#8
maza avatar

maza

New Zenner

Join Date:
Apr 2007
Posts:
98
Plugin Contributions:
0

Re: TEXT_FIELD_OPTIONAL appeared in my ZC Admin

Ah, there you go. Hope that helps. Hehehe...