XF 2.0 upgrading error !

macara

Active member
#1
Hi, I just tried to upgrade from xf1 to xf 2.0.2 and got this error,
Code:
ErrorException: [E_WARNING] fopen(/home/macarabi/public_html/data/avatars/l/27/27186.jpg): failed to open stream: Permission denied in src/vendor/league/flysystem/src/Adapter/Local.php at line 151
XF::handlePhpError()
fopen() in src/vendor/league/flysystem/src/Adapter/Local.php at line 151
League\Flysystem\Adapter\Local->writeStream() in src/vendor/league/flysystem/src/Adapter/Local.php at line 186
League\Flysystem\Adapter\Local->updateStream() in src/vendor/league/flysystem/src/Filesystem.php at line 118
League\Flysystem\Filesystem->putStream()
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 71
League\Flysystem\EventableFilesystem\EventableFilesystem->putStream()
call_user_func_array() in src/vendor/league/flysystem/src/MountManager.php at line 269
League\Flysystem\MountManager->invokePluginOnFilesystem() in src/vendor/league/flysystem/src/MountManager.php at line 179
League\Flysystem\MountManager->__call() in src/XF/Util/File.php at line 101
League\Flysystem\MountManager->putStream() in src/XF/Util/File.php at line 101
XF\Util\File::copyFileToAbstractedPath() in src/XF/Service/User/Avatar.php at line 397
XF\Service\User\Avatar->createOSizeAvatarFromL() in src/XF/Job/Upgrade/UserAvatar200.php at line 65
XF\Job\Upgrade\UserAvatar200->run() in src/XF/Job/Atomic.php at line 38
XF\Job\Atomic->run() in src/XF/Job/Manager.php at line 241
XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 187
XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 138
XF\Job\Manager->runUnique() in src/XF/Install/Controller/AbstractController.php at line 25
XF\Install\Controller\AbstractController->manualJobRunner() in src/XF/Install/Controller/Upgrade.php at line 251
XF\Install\Controller\Upgrade->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 249
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 89
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1889
XF\App->run() in src/XF.php at line 328
XF::runApp() in install/index.php at line 14
Any idea ?
 
Top