Page 1 of 1

FeedbackForum 0.8 Issues

Posted: Mon Aug 29, 2005 2:28 am
by seliger
Hey there,

Hopefully sjg is out there somewhere watching... I installed FeedbackForum on my hosting account on my working CMS installation and it dumped out exactly what he describes in his FAQ:

Fatal error: feedbackform(): Failed opening required 'classes/UtilityFunctions.class.php' (include_path='') in /usr/local/etc/httpd/htdocs/modules/FeedbackForm/FeedbackForm.module.php on line 56


He was asking that if anyone has seen this to let him know. Well I can actively reproduce it on my hosting provider's "unique" installation of PHP 4.3.11. Like sjg suggests it's probably not a safe mode issue as I am sure that is turned off in the php.ini file.

I'd be more than happy to share configuration specifics on this environment to help with debugging.

Meanwhile, in an attempt to "get around" the include problem, I stuck this into the config.php file for CMS (the concept kind of ripped from the PHPLayers code):

Code: Select all

set_include_path(dirname(__FILE__));
This clears it up instantly, but I cannot help but think that this is some sort of security risk. I mean it's basically like sticking '.' in your shell path, and most sysadmins shy away from that. I can only guess the same would apply here.

Thoughts?

Thanks!
Corey

Re: FeedbackForum 0.8 Issues

Posted: Thu Sep 15, 2005 12:44 am
by sjg
I'm thinking I'll need to release a major update of FeedbackForm in the next few days.

I'll be moving it to use smarty, and making it reference-safe for PHP 4.4.x and 5.0.5. I'll probably also move all of the include files into the module directory itself, which may (or may not) clear up problems like this one.

(I apologize if I haven't been responsive with regards to FeedbackForm problems. I'm still catching up from being out of town, and have been making some changes to the CMS version in svn).

Thanks,
___Samuel___

Re: FeedbackForum 0.8 Issues

Posted: Thu Sep 15, 2005 1:11 am
by seliger
Hey no problem... I think wishy mentioned that you were on the other side of the planet for awhile.

I did some pretty massive search and replaces to handle some of the path issues. Probably not the best thing, but it got me up and running in a jiffy.

If you need/want any help, let me know.

Thanks!
Corey

Re: FeedbackForum 0.8 Issues

Posted: Thu Sep 15, 2005 1:53 am
by sjg
Well, a copy of the output from phpinfo() would probably be helpful.

If you could send it to the email address on cmsmodules.com, I'd appreciate it.

Thanks!