maszd
Well-known member
Hi this error appear when edit custom user fields, expecially for gender option.
i was change this option :
when i try to save, this error appear:
also at message user info not changed, its still show "Male" and Female, its shoud changed to "Pria" and "Wanita", previously with beta 2 its working fine.
thanks.
i was change this option :
when i try to save, this error appear:
Code:
ErrorException: file_put_contents(/usr/share/nginx/html/internal_data/code_cache/phrase_groups/l1/user_field_choice.php): failed to open stream: Permission denied src/vendor/league/flysystem/src/Adapter/Local.php:196
Generated by: maszd Sep 20, 2017 at 6:54 AM
Stack trace
#0 [internal function]: XF::handlePhpError(2, 'file_put_conten...', '/usr/share/ngin...', 196, Array)
#1 /usr/share/nginx/html/src/vendor/league/flysystem/src/Adapter/Local.php(196): file_put_contents('/usr/share/ngin...', '<?php\nreturn ar...', 2)
#2 /usr/share/nginx/html/src/vendor/league/flysystem/src/Filesystem.php(98): League\Flysystem\Adapter\Local->update('phrase_groups/l...', '<?php\nreturn ar...', Object(League\Flysystem\Config))
#3 [internal function]: League\Flysystem\Filesystem->put('phrase_groups/l...', '<?php\nreturn ar...', Object(League\Flysystem\Config))
#4 /usr/share/nginx/html/src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(431): call_user_func_array('parent::put', Array)
#5 /usr/share/nginx/html/src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(395): League\Flysystem\EventableFilesystem\EventableFilesystem->callFilesystemMethod('put', Array)
#6 /usr/share/nginx/html/src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(57): League\Flysystem\EventableFilesystem\EventableFilesystem->delegateMethodCall('put', Array)
#7 [internal function]: League\Flysystem\EventableFilesystem\EventableFilesystem->put('phrase_groups/l...', '<?php\nreturn ar...', Array)
#8 /usr/share/nginx/html/src/vendor/league/flysystem/src/MountManager.php(269): call_user_func_array(Array, Array)
#9 /usr/share/nginx/html/src/vendor/league/flysystem/src/MountManager.php(179): League\Flysystem\MountManager->invokePluginOnFilesystem('put', Array, 'code-cache')
#10 /usr/share/nginx/html/src/XF/Util/File.php(99): League\Flysystem\MountManager->__call('put', Array)
#11 /usr/share/nginx/html/src/XF/Service/Phrase/Group.php(49): XF\Util\File::writeToAbstractedPath('code-cache://ph...', '<?php\nreturn ar...')
#12 /usr/share/nginx/html/src/XF/Entity/Phrase.php(180): XF\Service\Phrase\Group->compilePhraseGroup('user_field_choi...')
#13 /usr/share/nginx/html/src/XF.php(242): XF\Entity\Phrase->XF\Entity\{closure}()
#14 /usr/share/nginx/html/src/XF/Mvc/Dispatcher.php(137): XF::triggerRunOnce(true)
#15 /usr/share/nginx/html/src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#16 /usr/share/nginx/html/src/XF/App.php(1787): XF\Mvc\Dispatcher->run()
#17 /usr/share/nginx/html/src/XF.php(326): XF\App->run()
#18 /usr/share/nginx/html/admin.php(13): XF::runApp('XF\\Admin\\App')
#19 {main}
also at message user info not changed, its still show "Male" and Female, its shoud changed to "Pria" and "Wanita", previously with beta 2 its working fine.
thanks.