Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > Integration > PHP-Nuke Integration

PHP-Nuke Integration Information about integrating the calendar with the PHP-Nuke Content Management System.

Closed Thread
 
Thread Tools Search this Thread Display Modes

Nuke Evolution - Calendar Block
Old 06-03-2008, 04:40 PM   #1
wowgwjunkie
Calendar User
 
wowgwjunkie is offline
Join Date: Apr 2008
Posts: 8
Default 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
 

Old 06-03-2008, 09:42 PM   #2
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

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).
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 06-03-2008, 11:18 PM   #3
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

You can turn off XSS protection to skip using this function.

If that doesn't work, delete everything in that file on the server.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 06-04-2008, 07:41 AM   #4
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

Good to know what was using that file... this is going on my "to remember" list.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 06-04-2008, 08:58 AM   #5
wowgwjunkie
Calendar User
 
wowgwjunkie is offline
Join Date: Apr 2008
Posts: 8
Default

Three Questions

10 errors?

How do I turn off XSS

And if that doesn't work, delete what file?

Pardon my ignorance
 

Old 06-04-2008, 09:47 AM   #6
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

The file you referenced in your first post, class.inputfilter_clean.php.

XSS protection is turned off in the Setup Manager.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 06-04-2008, 10:35 AM   #7
wowgwjunkie
Calendar User
 
wowgwjunkie is offline
Join Date: Apr 2008
Posts: 8
Default

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
 

Old 06-04-2008, 11:05 AM   #8
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

Log into the Setup Manager and go to the Event Manager page. Find XSS Protection, set it to Off and save the changes.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 06-04-2008, 12:10 PM   #9
wowgwjunkie
Calendar User
 
wowgwjunkie is offline
Join Date: Apr 2008
Posts: 8
Default

It's already set to off
 

Old 06-04-2008, 02:30 PM   #10
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

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.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 06-04-2008, 03:00 PM   #11
wowgwjunkie
Calendar User
 
wowgwjunkie is offline
Join Date: Apr 2008
Posts: 8
Default

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
 
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I Tried alot making my Calendar block but i could'nt 3BQARY General Support 1 02-18-2008 08:00 AM
Calendar in portal block badc Installation / Upgrade Questions 1 02-04-2007 07:26 AM
2 issues with calendar block twdmcrider PHP-Nuke Integration 7 06-19-2006 01:36 PM
Listing Module As Nuke Block ddj0891 General Support 1 02-10-2005 06:02 AM



All times are GMT -4. The time now is 11:21 PM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |