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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

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

Fatal Error!!!!


Go to End


8 Posts   3154 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, 4102 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, 4102 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