Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Fatal Error!!!!


Reply

8 Posts   1848 Views

Avatar
Fading

3 January 2009 at 12:43pm (Last edited: 3 January 2009 12:44pm), Community Member, 15 Posts

My browser came up with this Fatal Error:

Warning: require_once(C:/wamp/www//swfupload/code/SWFUploadFileIFrameField_Uploader.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\silverstripe-v2.2.3\swfupload\_config.php on line 3

Fatal error: require_once() [function.require]: Failed opening required 'C:/wamp/www//swfupload/code/SWFUploadFileIFrameField_Uploader.php' (include_path='.;C:\php5\pear;C:\wamp\www\silverstripe-v2.2.3\auth_openid\code;C:/wamp/www/silverstripe-v2.2.3/sapphire/parsers/') in C:\wamp\www\silverstripe-v2.2.3\swfupload\_config.php on line 3

Everything is where it is supposed to be. Can anyone assist me in resolving this.

Thank you

Avatar
Hamish

5 January 2009 at 3:57pm Community Member, 712 Posts

Have you tried to add a 'swfupload' module?

Not familiar with it, but the issue is with that directory. If you don't need it (or know what it is), remove the folder or rename _config.php to _config.php.old.

Avatar
UncleCheese

5 January 2009 at 4:52pm 4085 Posts

Hi, Fading,

I developed the SWFUpload module, and that is a bug that has been resolved in a newer version. As a quick fix, please update your swfupload/_config.php to read:

require_once(Director::baseFolder() . "/swfupload/code/SWFUpload_Uploader.php");
require_once(Director::baseFolder() . "/swfupload/code/SWFUploadFileIFrameField.php");

Stay tuned for a new version. I'm adding some new stuff as we speak.

Avatar
Fading

6 January 2009 at 3:50pm Community Member, 15 Posts

Thank you very much for your response guys.

Where do I make those changes at?

Thx

Avatar
UncleCheese

6 January 2009 at 6:25pm 4085 Posts

/swfupload/_config.php

Avatar
Fading

7 January 2009 at 5:14pm Community Member, 15 Posts

Nothing changed, still the same fatal error.

Avatar
Near

27 February 2009 at 6:45am Community Member, 1 Post

Try this...

require_once(Director::baseFolder() . "/swfupload/code/SWFUploadFileIFrameField_Uploader.php");
require_once(Director::baseFolder() . "/swfupload/code/SWFUploadFileIFrameField.php");

Avatar
soft-systems

5 March 2009 at 11:31pm Community Member, 11 Posts

That last one worked for me - Thanks