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, Ed, biapar, Willr, Ingo, swaiba

Fatal error after uploading event calendar r82

Go to End

3 Posts   1495 Views


Community Member, 2 Posts

2 October 2009 at 8:34am

Brand new install of silverstripe

Uploaded the blog module, did db/build?flush=1 and everything was OK.

Uploaded the event calendar module (modules-event_calendar-r82) and when attempting to rebuild the db or load any page I get

Warning: require_once(/home2/mybigsite/public_html/cms/event_calendar/code/sfTime.class.php) [function.require-once]: failed to open stream: No such file or directory in /home2/*****/public_html/cms/modules-event_calendar-r82/_config.php on line 2

Fatal error: require_once() [function.require]: Failed opening required '/home2/mybigsite/public_html/cms/event_calendar/code/sfTime.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/mybigsite/public_html/cms/modules-event_calendar-r82/_config.php on line 2

The "missing" file is in place. What should I do?


Forum Moderator, 4102 Posts

2 October 2009 at 9:32am

That doesn't make any sense. You're sure the files are there? Check permissions, maybe?


Community Member, 2 Posts

2 October 2009 at 10:20am

Fixed! I changed the folder name from "modules-event_calendar-r82" to "event_calendar" and it worked.

It may have to do with the fact that I was using a database containing data for this module...

You're right, didn't make sense in the scope of just the files. Thanks for the help!