Page 1 of 1

Whitescreen with FeedbackForm Module

Posted: Mon Sep 25, 2006 6:08 pm
by powerunit
Hi there,

trying to get FeedbackForm - any version up to 0.9.12 - working on a CMSMS 0.13. It works fine in test-conditions on a XP-Machine but not with the Webserver itself.

The crazy thing is, when I upload the FF-folder to the modules I get a whitescreen for the whole website. Nothing is working anymore, nothing to see anymore - neither admin nore the site itself!
Everything has been transfered - the Database-Entries, also the cache-file...

I'm not specialist for permissions - but when I CHMOD the FeedbackForm.module.php to 640 the site comes back, but without FF.

Anybody any idea??? I'm getting mad about this.

Thanks

Re: Whitescreen with FeedbackForm Module

Posted: Fri Jan 26, 2007 2:24 pm
by ge0
I just ran into a similar problem with the Feedback Form module and it turned out to be some require_once lines in FeedbackForm.module.php, specifically lines 56-60.

Changing the lines from

          require_once 'classes/UtilityFunctions.class.php';
          require_once 'classes/Form.class.php';
          require_once 'classes/Input.class.php';
          require_once 'classes/Option.class.php';
          require_once 'classes/Config.class.php';

to;

          require_once dirname(__FILE__).'/classes/UtilityFunctions.class.php';
          require_once dirname(__FILE__).'/classes/Form.class.php';
          require_once dirname(__FILE__).'/classes/Input.class.php';
          require_once dirname(__FILE__).'/classes/Option.class.php';
          require_once dirname(__FILE__).'/classes/Config.class.php';

Fixed the problem