1
irmtfan
xhelp 0.78: notices make a huge error_log file
  • 2006/6/26 13:04

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


i have this notice in checkemail.php file:
PHP Notice:  Use of undefined constant _QUOTEC assumed '_QUOTEC' in /home/jadoogar/public_html/class/module.textsanitizer.php on line 228


and i use cron job to check my all emails.

currently my server upgrade php to 4.4.2 and an error log file create in index page and it contains this notice that increase 50 lines in every minut.( every run in cron job )

so the file being huge after a little time.


i have the constant define("_QUOTEC","Quote:"); in engilsh and persian language.

2
irmtfan
Re: xhelp 0.78: notices make a huge error_log file
  • 2006/6/28 13:57

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


bump

3
Dave_L
Re: xhelp 0.78: notices make a huge error_log file
  • 2006/6/28 15:24

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


That's fixed in the CVS version of xHelp. The latest snapshot (which is not really very new) is available at http://dev.xoops.org/nightly/xhelp.tgz

The fix for this problem was to change the order that the language constants are included in servicemain.php. If you don't want to completely upgrade xHelp, you could probably just merge in the changes for that one file.

4
irmtfan
Re: xhelp 0.78: notices make a huge error_log file
  • 2006/6/28 15:41

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


thanks dave.i'll do that
i had this notice before without any big problem.
but now my server upgrade php from 4.3.11 to 4.4.2 (which i think is the latest stable version of php4) suddenly it create that error_log file.

5
irmtfan
Re: xhelp 0.78: notices make a huge error_log file
  • 2006/6/28 20:26

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


the file is corrupted.
cant open it.

6
Dave_L
Re: xhelp 0.78: notices make a huge error_log file
  • 2006/6/28 20:58

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


I just downloaded it again to check, and it's a valid gzipped tar file. Usually the extension is .tar.gz, but some people use .tgz.

7
irmtfan
Re: xhelp 0.78: notices make a huge error_log file
  • 2006/6/29 1:38

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


AH thanks again Dave.
i just change tgz to tar.gz and extract it.
so its all stupid.

Login

Who's Online

277 user(s) are online (75 user(s) are browsing Support Forums)


Members: 0


Guests: 277


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