Jared26
Member
I'm having an issue trying to upgrade my forum to 2.2.1 after a few days of having to re-install my forum due to some server issues. I am currently getting this error stack:
ErrorException: [E_WARNING] file_put_contents(/home/jared26/public_html/community/internal_data/code_cache/templates/l1/s14/public/_media_site_embed_applemusic.php): failed to open stream: Permission denied in src/vendor/league/flysystem/src/Adapter/Local.php at line 199
Due to a few previous issues and stupid mistakes on my end, I've had to completely re-upload my forum and copy the existing database to a new one in PHPMyAdmin. I'm a lot closer to having my board back than I have been for the past few days but I can't even think straight here at this point and am hoping someone can point me in the right direction. Data and internal data directories are 0777 as well, I have tried on PHP 7.2, 7.3 and 7.4.
Thanks
ErrorException: [E_WARNING] file_put_contents(/home/jared26/public_html/community/internal_data/code_cache/templates/l1/s14/public/_media_site_embed_applemusic.php): failed to open stream: Permission denied in src/vendor/league/flysystem/src/Adapter/Local.php at line 199
- XF::handlePhpError()
- file_put_contents() in src/vendor/league/flysystem/src/Adapter/Local.php at line 199
- League\Flysystem\Adapter\Local->update() in src/vendor/league/flysystem/src/Filesystem.php at line 99
- League\Flysystem\Filesystem->put()
- call_user_func_array() in src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php at line 431
- League\Flysystem\EventableFilesystem\EventableFilesystem->callFilesystemMethod() in src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php at line 395
- League\Flysystem\EventableFilesystem\EventableFilesystem->delegateMethodCall() in src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php at line 57
- League\Flysystem\EventableFilesystem\EventableFilesystem->put() in src/vendor/league/flysystem/src/MountManager.php at line 597
- League\Flysystem\MountManager->put() in src/XF/Util/File.php at line 197
- XF\Util\File::writeToAbstractedPath() in src/XF/Service/Template/Compile.php at line 146
- XF\Service\Template\Compile->writeCompiled() in src/XF/Service/Template/Compile.php at line 43
- XF\Service\Template\Compile->recompile() in src/XF/Entity/Template.php at line 433
- XF\Entity\Template->_postSave() in src/XF/Mvc/Entity/Entity.php at line 1266
- XF\Mvc\Entity\Entity->save() in src/XF/Mvc/Entity/Entity.php at line 1260
- XF\Mvc\Entity\Entity->save() in src/XF/AddOn/DataType/BbCodeMediaSite.php at line 85
- XF\AddOn\DataType\BbCodeMediaSite->importAddOnData() in src/XF/Job/AddOnData.php at line 110
- XF\Job\AddOnData->run() in src/XF/Job/Atomic.php at line 38
- XF\Job\Atomic->run() in src/XF/Job/Manager.php at line 258
- XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 200
- XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 151
- XF\Job\Manager->runUnique() in src/XF/Install/Controller/AbstractController.php at line 24
- XF\Install\Controller\AbstractController->manualJobRunner() in src/XF/Install/Controller/Upgrade.php at line 262
- XF\Install\Controller\Upgrade->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 350
- XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 261
- XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
- XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
- XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2300
- XF\App->run() in src/XF.php at line 465
- XF::runApp() in install/index.php at line 14
Due to a few previous issues and stupid mistakes on my end, I've had to completely re-upload my forum and copy the existing database to a new one in PHPMyAdmin. I'm a lot closer to having my board back than I have been for the past few days but I can't even think straight here at this point and am hoping someone can point me in the right direction. Data and internal data directories are 0777 as well, I have tried on PHP 7.2, 7.3 and 7.4.
Thanks
Last edited: