1
terrion
undefined constant
  • 2006/6/4 12:23

  • terrion

  • Friend of XOOPS

  • Posts: 299

  • Since: 2004/9/19


Has anyone seen these this message in their error logs?

PHP Notice: Use of undefined constant _QUOTEC - assumed '_QUOTEC' in /home/httpd/vhosts/mydomain.org/httpdocs/class/module.textsanitizer.php on line 228

There's hundreds of these appearing in my error logs. I'm running XOOPS 2.2.4 with this site. I never noticed it before upgrading CBB, but not sure that the problem is with that module.
Terrion
Purchase, renew, or transfer your domain name to Ultranet Domains and get a FREE 10GB hosting account. Virtual Dedicated Servers around $35/monthly, no contract. FREE 24/7 telephone ...

2
Dave_L
Re: undefined constant
  • 2006/6/4 14:11

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


I haven't noticed that message with 2.2.4.

In my installation, that constant is defined in language/english/global.php:

define("_QUOTEC","Quote:");

3
terrion
Re: undefined constant
  • 2006/6/4 14:45

  • terrion

  • Friend of XOOPS

  • Posts: 299

  • Since: 2004/9/19


Very kewl, you got me really close. There were some differences in language/english/local.php from what should be there. Looks like part of a multi-language hack got pushed in there. I've replace that file with one from the distribution and will now hope for the best.

Thanks Dave_L.
Terrion
Purchase, renew, or transfer your domain name to Ultranet Domains and get a FREE 10GB hosting account. Virtual Dedicated Servers around $35/monthly, no contract. FREE 24/7 telephone ...

Login

Who's Online

342 user(s) are online (262 user(s) are browsing Support Forums)


Members: 0


Guests: 342


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits