FeedbackForum 0.8 Issues

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
seliger

FeedbackForum 0.8 Issues

Post 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
User avatar
sjg
Power Poster
Power Poster
Posts: 310
Joined: Thu Jan 27, 2005 5:11 pm
Location: Los Angeles, CA

Re: FeedbackForum 0.8 Issues

Post 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___
Many modules available from the http://dev.cmsmadesimple.org
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
seliger

Re: FeedbackForum 0.8 Issues

Post 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
User avatar
sjg
Power Poster
Power Poster
Posts: 310
Joined: Thu Jan 27, 2005 5:11 pm
Location: Los Angeles, CA

Re: FeedbackForum 0.8 Issues

Post 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!
Many modules available from the http://dev.cmsmadesimple.org
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
Post Reply

Return to “Developers Discussion”