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   1880 Views

Avatar
Fading

Community Member, 15 Posts

3 January 2009 at 12:43pm

Edited: 03/01/2009 12:44pm

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

Community Member, 712 Posts

5 January 2009 at 3:57pm

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

Forum Moderator, 4094 Posts

5 January 2009 at 4:52pm

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

Community Member, 15 Posts

6 January 2009 at 3:50pm

Thank you very much for your response guys.

Where do I make those changes at?

Thx

Avatar
UncleCheese

Forum Moderator, 4094 Posts

6 January 2009 at 6:25pm

/swfupload/_config.php

Avatar
Fading

Community Member, 15 Posts

7 January 2009 at 5:14pm

Nothing changed, still the same fatal error.

Avatar
Near

Community Member, 1 Post

27 February 2009 at 6:45am

Try this...

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

Avatar
soft-systems

Community Member, 11 Posts

5 March 2009 at 11:31pm

That last one worked for me - Thanks