This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hi guys!
When i uploaded the source to my host, that's blank page, then i saw the error log they said:
PHP Fatal error: Class 'Event' not found in /public_html/demo/vd/vendor/october/rain/src/Foundation/Exception/Handler.php on line 70.
The host was disable some function for security, but i don't know what?
Help me,
Thanks!
Old support post, but issue still crops up every now and then.
The Event
class won't exist prior to it being bootstrapped (via config/app.php
) so check this file for typos.
Last updated
Hi, I have the same issue. Even worse:
when i run october locally in a docker container, it works flawless. when i build the same app on my v-server, i always get this error.
PHP message: PHP Fatal error: Uncaught Error: Class 'Event' not found in /var/www/html/vendor/october/rain/src/Foundation/Exception/Handler.php:57
my guess is that this is due to storage folder missing framework or cms directories.
aurelijus.useckas16377 said:
my guess is that this is due to storage folder missing framework or cms directories.
many thanks. this was the issue.
aurelijus.useckas16377 said:
my guess is that this is due to storage folder missing framework or cms directories.
Just confirming, the error can be fixed by creating the storage
and its subfolders.
mkdir -p storage/app storage/cache storage/cms storage/framework/sessions storage/logs storage/temp
Last updated
1-7 of 7