Calendar Problem »  Show posts from    to     

Icy Phoenix


Old Support Topics - Calendar Problem



Gianni PB [ Thu 02 Aug, 2012 08:03 ]
Post subject: Calendar Problem
If I activate calendar from acp

Fatal error: Call to undefined method stdClass::parse() in /web/htdocs/www.salsapuglia.com/home/includes/functions_calendar.php on line 400


Mighty Gorgon [ Thu 02 Aug, 2012 22:33 ]
Post subject: Re: Calendar Problem
Very strange...

Try again with this file slightly edited: GIT Functions Calendar


Gianni PB [ Thu 02 Aug, 2012 23:24 ]
Post subject: Re: Calendar Problem
file uploaded, cache cleared, but it doesn't work yet


Mighty Gorgon [ Tue 07 Aug, 2012 16:30 ]
Post subject: Re: Calendar Problem
Very strange, it works fine for me on my testing environment. I canno replicate this.


Informpro [ Tue 07 Aug, 2012 18:32 ]
Post subject: Re: Calendar Problem
line 339, could you change
Code: [Hide]
  1. @include_once(IP_ROOT_PATH . 'includes/bbcode.' . PHP_EXT); 

with
Code: [Hide]
  1. include_once(IP_ROOT_PATH . 'includes/bbcode.' . PHP_EXT); 

? Because it looks like the bbcode variable isn't instantiated.


Gianni PB [ Tue 07 Aug, 2012 18:37 ]
Post subject: Re: Calendar Problem
done, but same error



p.s.
I have this code in line #363


Informpro [ Tue 07 Aug, 2012 18:55 ]
Post subject: Re: Calendar Problem
Then you probably don't run the latest Git version.
You can check that includes/bbcode.php isn't corrupted.
Anyway, before
Code: [Hide]
  1. $bbcode->allow_html = ($user->data['user_allowhtml'] && $config['allow_html']) ? 1 : 0; 
(ligne 342 on git version)
Add
Code: [Hide]
  1. $bbcode = new bbcode(); 


Gianni PB [ Tue 07 Aug, 2012 19:05 ]
Post subject: Re: Calendar Problem
ok! now it works

thank you very much


Mighty Gorgon [ Sun 12 Aug, 2012 09:40 ]
Post subject: Re: [SOLVED] Calendar Problem
It's really strange... I can't understand the reason of this issue, I think you have improperly edited some other files.

Anyway I'm glad you solved.


Informpro [ Sun 12 Aug, 2012 15:39 ]
Post subject: Re: [SOLVED] Calendar Problem
For some reason it looks like the $bbcode variable isn't "leaked" in the scope during the include.




Powered by Icy Phoenix