Step 6
Creating prefix for Special pages
An exception occurred: Please enter a valid value for this option. in /library/XenForo/DataWriter.php on line 1359
XenForo_DataWriter->_haveErrorsPreventSave() in library/XenForo/DataWriter.php at line 1401
XenForo_DataWriter->save() in vault/install/lib/full/steps/xf.php at line 214
vw_Install_Full_Steps_Controller_XF->{closure}() in vault/core/controller/progress/steps/vw.php at line 76
vw_Progress_Steps_Controller->call() in vault/core/controller/progress/steps/vw.php at line 49
vw_Progress_Steps_Controller->execute() in vault/install/lib/full/steps/vw.php at line 232
vw_Install_Full_Steps_Controller->execute() in vault/core/controller/progress/vw.php at line 92
vw_Progress_Controller->exec_script() in vault/core/controller/progress/vw.php at line 74
vw_Progress_Controller->execute() in vault/core/controller/cp/progress/vw.php at line 34
vw_CP_Progress_Controller->process() in vault/core/controller/cp/install/vw.php at line 258
vw_CP_Install_Controller->install() in vault/core/controller/cp/install/vw.php at line 62
vw_CP_Install_Controller->execute() in library/vw/XenForo/ControllerAdmin/Wiki.php at line 118
vw_XenForo_ControllerAdmin_Wiki->actionIndex() in library/vw/XenForo/ControllerAdmin/Wiki.php at line 176
vw_XenForo_ControllerAdmin_Wiki->actionUpgrade() in library/vw/XenForo/ControllerAdmin/Wiki.php at line 186
vw_XenForo_ControllerAdmin_Wiki->actionInstall() in library/XenForo/FrontController.php at line 351
XenForo_FrontController->dispatch() in library/XenForo/FrontController.php at line 134
XenForo_FrontController->run() in admin.php at line 13
Try this: in vault/install/lib/full/steps/xf.php, find:
Code:
disk_free_space($attachpath) * 0.8
Replace with:
Code:
disk_free_space($attachpath) * 0.8 / 1048576
With this bug, the detected maximum would always be 100G at installation. In vBulletin, this would be successful. To fully fix this issue, the 4.0.11 upgrade script for vBulletin should rollback a setting of 100G to 80% of the disk space if 100G exceeds the available disk space (the intended design was to auto-set maximum usage to the lowest of 100G, 80% avail, or current-wiki-size + 80% total). There is no need to correct it in a future XenForo upgrade script, since the setting value does not succeed on installation as you have noticed when there is less than 100G available. Thus, for XenForo, this only needs to be corrected in the current version.
This new setting is intended to prevent the wiki from filling up your partition.
This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.