1
Madmaxis
Small problem with some modules
  • 2005/4/23 19:44

  • Madmaxis

  • Just popping in

  • Posts: 8

  • Since: 2005/4/17


Hi to all the experts out there

Just got a small problem with some modules install on my site. When someone clicks on the piCal Version 0.6 module they get the errors below.

Can anyone point me in the direction of what could be wrong or what I need to check

Thanks for your time


Errors:

Notice: Undefined variable: now_ip in /home/fhlinux193/i/mysite.co.uk/user/htdocs/modules/statistics/include/hitcounter.php on line 47

Which is :
47) $past_hour = $now_ip - 1;


Notice: Use of undefined constant _MI_XCHATWHOSCHATTING - assumed '_MI_XCHATWHOSCHATTING' in /home/fhlinux193/i/mysite.co.uk.co.uk/user/htdocs/modules/xoopschat/xoops_version.php on line 67

Notice: Use of undefined constant _MI_XCHATWHOSCHATTINGDESC - assumed '_MI_XCHATWHOSCHATTINGDESC' in /home/fhlinux193/i/mysite.co.uk.co.uk/user/htdocs/modules/xoopschat/xoops_version.php on line 68


Which are :
67) $modversion['blocks'][2]['name'] = _MI_XCHATWHOSCHATTING;
68) $modversion['blocks'][2]['description'] = _MI_XCHATWHOSCHATTINGDESC;

2
Gambero[removed]
Re: Small problem with some modules

Probably some problems with language files. Which language are you using ?

3
Madmaxis
Re: Small problem with some modules
  • 2005/4/23 19:55

  • Madmaxis

  • Just popping in

  • Posts: 8

  • Since: 2005/4/17


Quote:

Gambero wrote:
Probably some problems with language files. Which language are you using ?


English

4
m0nty
Re: Small problem with some modules
  • 2005/4/23 19:59

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


turn php debug of in XOOPS admin / system / preferences / general settings (it should be off anyway on a production site, only need to enable it if something actually doesn't work)

they are just notices and nothing to worry about and should not stop the modules working..

5
Madmaxis
Re: Small problem with some modules
  • 2005/4/23 20:19

  • Madmaxis

  • Just popping in

  • Posts: 8

  • Since: 2005/4/17


Thanks m0nty for the replay but php debug in Admin is off..

6
Madmaxis
Re: Small problem with some modules
  • 2005/4/23 20:45

  • Madmaxis

  • Just popping in

  • Posts: 8

  • Since: 2005/4/17


Ok got php debug off

which has stop the notices..

Is it ok to leave it like this or do I need to find out what the errors are and fix them

thanks again for everybodys time..

7
m0nty
Re: Small problem with some modules
  • 2005/4/23 20:52

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


yeah it should be ok..

if u want to do the undefined constants in xoopschat, just open up language/en/modinfo.php

and the put the definitions in yourself.. you'll get the idea how as soon as you see how the other definitions are defined.. just a simple copy/paste should suffice

the other notice in statistics will require more work but they'll probly fix that in the next release..

8
Madmaxis
Re: Small problem with some modules
  • 2005/4/23 21:17

  • Madmaxis

  • Just popping in

  • Posts: 8

  • Since: 2005/4/17


Thanks again m0nty

Will have a look at that..

Cheers

9
Madmaxis
Re: Small problem with some modules
  • 2005/4/23 21:46

  • Madmaxis

  • Just popping in

  • Posts: 8

  • Since: 2005/4/17


Quote:

m0nty wrote:
yeah it should be ok..

if u want to do the undefined constants in xoopschat, just open up language/en/modinfo.php

and the put the definitions in yourself.. you'll get the idea how as soon as you see how the other definitions are defined.. just a simple copy/paste should suffice

the other notice in statistics will require more work but they'll probly fix that in the next release..


Spot on mate, now got that bit sorted

Cheers

Login

Who's Online

205 user(s) are online (64 user(s) are browsing Support Forums)


Members: 0


Guests: 205


more...

Donat-O-Meter

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

Latest GitHub Commits