![]() |
Nuke Evolution - Calendar Block
Hi,
I tried installing the Easy PHP Calendar Block from forum: http://www.easyphpcalendar.com/forum...ead.php?t=6835 I installed it and it destorts the site and I see the following error message: Fatal error: Cannot redeclare class InputFilter in /home/wowsempe/public_html/calendar/functions/class.inputfilter_clean.php on line 22 I disabled the block. My site is www.wow-bhs.net. Any assistance would be greatly appreciated!! Thank you! Kirk |
That is caused by something, somewhere in your site, declaring a class called "InputFilter". This causes a conflict with the version that is installed with the calendar.
My short answer is that you will not be able to use the calendar. My long answer is that you will need to figure out how the InputFilter class, that came with your PHP-Nuke, works and then compare that with the one that comes with the calendar. If they are compatible, then you should be able to empty out the class.inputfilter_clean.php file, or rather remove the part that declares the class... In all of the times that I've integrated the calendar in PHP-Nuke, I've never encountered this. I've also never seen a theme that had so many validation errors (ie: you have 10 <html> tags, where a valid page is only allowed one). |
You can turn off XSS protection to skip using this function.
If that doesn't work, delete everything in that file on the server. |
Good to know what was using that file... this is going on my "to remember" list.
|
Three Questions :)
10 errors? How do I turn off XSS And if that doesn't work, delete what file? Pardon my ignorance :) |
The file you referenced in your first post, class.inputfilter_clean.php.
XSS protection is turned off in the Setup Manager. |
I don't see a way to turn it off in Setup Manager. But I opened the class.inputfilter._clean.php and I see:
Line 27 var $vssAuto Line 38 $this->xssAuto = $xssAuto Then between Line 92/93 && ($this->xssAuto))) { and one other between Line 135/136 Is there something I should comment out or change a value in there? Really appreciate this, I would like to use this on my site :) |
Log into the Setup Manager and go to the Event Manager page. Find XSS Protection, set it to Off and save the changes.
|
It's already set to off
|
Then open the file and remove all of it's contents and save the blank file back to your server. Please note, XSS protection will not work on your calendar installation.
|
Done that, I then got another error:
Fatal error: Class 'InputFilter' not found in /home/wowsempe/public_html/calendar/functions/calendar.php on line 59 Took a look at that line and it's Greek :) Anyway, I give up. I'm going to find something that will work with nukeevo and go from there. Appreciate the attempt to help. Thanks! Kirk |
| All times are GMT -4. The time now is 01:47 PM. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.