Featured image of post Oh OctoberCMS and the leading slash again

Oh OctoberCMS and the leading slash again

//failed: Code 500 again .. Ocotobercms refuses to load and you might be out of guesees again

Let’s first review the possible Problems known:

Problem Measure
cache and config not reloaded during deployment issue php artisan config:cache;php artisan cache:clear first when working on pages
resources include begin with / you changed all the asset includes under themes/YOURTHEME/partials to NOT begin with slashes like / storage since that confuses many webservers , especially chroot()-ed ones like Plesk
resources/views missing you created the empty folder resources/views since it might lead to the open_basedir message
.htaccess woes you checked your .htaccess to have a proper RewriteBase and the correct webroot if you set it fixed

But the almost “beloved” open_basedir restriction message pops up again

Dowtime hurts and if you did not setup some monitoring you not notice since may be cleared randomly ..

it is always a good idea to check storage/logs/system.log

since your webserver-log does not tell everything and it’s log might be cut due to php-fpm, check the file logs or maybe the database as well for potential errors

//fixed

No slash for OctoberCMS favicon partial  … pain arises again

      ...