• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Fresh install v1.2.2 - Server Error (after config accepted)

#1
Hello,

I've installed XenForo on a test server successfully, but today was attempting a fresh, clean, install of XenForo v1.2.2 on the real server, with a brand new, empty, database - and after the config.php settings have been accepted, the installation fails with a 'Server Error' reported:
xef_install_failure1.jpg

I've tried dropping all the tables and re-starting and various other things (different user/password etc.)
all to no avail.

Any help to overcome this would be much appreciated, please.

Here are the server config details, in case that is important:
Screen Shot 2013-10-26 at 14.11.51.png
Cheers!
 
Last edited:
#3
You say 'the log' as if there is but one log file, are we talking about the Apache web server log or is there a XenForo log file I've yet to find?

By the way, thanks for removing the inadvertent password - grabbed the wrong screen shot. Thanks anyway :)

ETA:
Apache log is clean (no errors for the installation time, previous error was grumbling about missing fav icon from the old forum s/w [vB installed to allow import into XenForo - if I can get XF to work])
 
Last edited:
#4
OK, as above the Apache log has no errors for the (attempted but failed) XenForo installation(s).

A search of the XenForo manual uncovers no mentions I can find of a log file - am I missing the point of your question?

The only error I can see is the one in the screen grab, ie:

Server Error
Server Error

preg_match(): Compilation failed: unknown option bit(s) set at offset 0

XenForo_Application::handlePhpError()
preg_match() in XenForo/Input.php at line 197
XenForo_Input::_doClean() in XenForo/Input.php at line 183
XenForo_Input->filterSingle() in XenForo/Input.php at line 375
XenForo_Input->filter() in XenForo/Install/Controller/Install.php at line 248
XenForo_Install_Controller_Install->actionStep3b() in XenForo/FrontController.php at line 337
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
XenForo_FrontController->run() in /home/[user]/public_html/xenf/install/index.php at line 18
Where else should I look for the elusive error information, please?

I'm stuck (and feeling frustrated with XenForo!)
 
Last edited:
#6
My fellow Admin did some digging - we have the (mis-)fortune to be using a server with cPanel/WHM and this problem is a 'known issue with EasyApache' apparently. See these links for more details:

http://forums.cpanel.net/f442/post-upgrade-apache-2-4-php-problems-339242.html

http://forums.cpanel.net/f442/case-58625-pcre-problems-347552.html#post1450911

By the way, the PHP error_log didn't appear to have anything related to the XenForo problem (it has other issues, though, so we'll get those sorted).

Thanks to everyone here who tried to help - appreciated, even if it rather looks like we are in a stale mate for now, at least we know what the problem is due to in XenForo - maybe XF can check the PCRE UTF-8 support capability to help those caught out in future, maybe?