11
ghia
Re: XoopsCalander Error
  • 2009/11/16 0:44

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


It could be a conficting JavaScript, very often the monopolising abuse of the onload event. (Or something like the $ var?)

12
djtom
Re: XoopsCalander Error
  • 2009/12/2 19:27

  • djtom

  • Just popping in

  • Posts: 15

  • Since: 2004/10/27


I have the same problem with Extcal and News....

So i Uninstalled and re-installed it ... and it work for one day ... after that I have the same problem again !!

So I upgrade the core XOOPS in 2.4.2.
I upgrade News in 1.65

And I have again the same error !!

I Uninstalled and re-installed Extcal ... and it works during five minutes and bim I have the problem again !!!

So now I don't know what can i do !!!

Please help me !!

13
willemd
Re: XoopsCalander Error
  • 2009/12/2 20:41

  • willemd

  • Just popping in

  • Posts: 39

  • Since: 2008/8/15


Exactly the same here!
When you disable extCal (not uninstall), is News then working correctly?

In the meanwhile I solved my problem: I went back to XOOPS 2.3.3b :)

14
trabis
Re: XoopsCalander Error
  • 2009/12/2 20:58

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Yeah, it is a core bug!

Ok we have a map on class XoopsLoad and contains the following problem:

'uploader' => XOOPS_ROOT_PATH '/class/uploader.php',
            
'utility' => XOOPS_ROOT_PATH '/class/utility/xoopsutility.php',
            
'captcha' => XOOPS_ROOT_PATH '/class/captcha/xoopscaptcha.php',
            
'cache' => XOOPS_ROOT_PATH '/class/cache/xoopscache.php',
            
'file' => XOOPS_ROOT_PATH '/class/file/xoopsfile.php',
            
'model' => XOOPS_ROOT_PATH '/class/model/xoopsmodel.php',
            
'calendar' => XOOPS_ROOT_PATH '/class/calendar/xoopscalendar.php',


Core checks if class 'uploader' exists and, if not, includes class XoopsMediaUploader

Same for calendar, core checks if Calendar class exists and if not, includes XoopsCalendar.

So exCal has a Pear/Calendar.php with a Calendar class.

So, this issue may also cause a double inclusion of captcha class(causing blank page), which was already pointed out in the foruns.

I wished I could give you a quick solution but I can't.We need to address this in next core release.


15
djtom
Re: XoopsCalander Error
  • 2009/12/3 11:55

  • djtom

  • Just popping in

  • Posts: 15

  • Since: 2004/10/27


Hi Trabis, Ok thank you for this information !! Although it is not good news for me :) !!!

I have a question !

If I delete the line " 'captcha' => XOOPS_ROOT_PATH . '/class/captcha/xoopscaptcha.php'," in the XoopsLoad what's happening ?

And in what file I can find this part of code ?

If i want test this way ? But I think it's not possible... otherwise you would told me

Thank you for this information

@ +



16
ghia
Re: XoopsCalander Error
  • 2009/12/3 13:01

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


It is in /class/xoopsload.php and you can comment simply it out with a // in front of the line.

But not recommended, because it may impair badly your complete site, so, be very careful!

17
djtom
Re: XoopsCalander Error
  • 2009/12/3 13:36

  • djtom

  • Just popping in

  • Posts: 15

  • Since: 2004/10/27



If I comment the line just for test and see what happen ... and if it's not functionnaly I delete the comment .... My site must stay OK ? no ?

I am just trying to see what happens ?

What is the use of this class captcha ?

Or perhap's I can try to disable it in the module Extcal ?

I think I dream.... :) .... And my best solution is a come back to XOOPS 2.3.3b


18
ghia
Re: XoopsCalendar Error
  • 2009/12/3 13:55

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Yes you could do that, test and see what happens.

I missed something in your earlier post.
But, why are you suspecting the captcha, or thinking that the problem arises from the captcha?
While we were discussing calendar here?

19
trabis
Re: XoopsCalander Error
  • 2009/12/3 14:10

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Latter tonight I'll try to make a fix for it, I had and idea but need to test it first.

20
djtom
Re: XoopsCalander Error
  • 2009/12/3 14:13

  • djtom

  • Just popping in

  • Posts: 15

  • Since: 2004/10/27


euhhh ......

Because it's Trabis who say that it's a core Bug

Quote:
Core checks if class 'uploader' exists and, if not, includes class XoopsMediaUploader Same for calendar, core checks if Calendar class exists and if not, includes XoopsCalendar. So exCal has a Pear/Calendar.php with a Calendar class.



And that could be a good explication why Extcal work during a short time after uninstall en reinstall the module !!

But my code error is

Quote:
Fatal error: Class 'XoopsCalendar' not found in /home/r13083/www/class/xoopsform/formcalendar.php on line 50



Login

Who's Online

140 user(s) are online (86 user(s) are browsing Support Forums)


Members: 0


Guests: 140


more...

Donat-O-Meter

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

Latest GitHub Commits