Installation problems om Windows Server 2008
Permalink
I'm having problems to install c5 on a Windows server 2008 with WAMP. I have changed the permissions on config, files and packages dir. The mode_rewrite is activated and other things I find in the forums. The message I get is:
Deprecated: Function eregi() is deprecated in C:\Program Files\wamp\www\concrete\concrete\helpers\validation\strings.php on line 31
Warning: get_class() expects parameter 1 to be object, null given in C:\Program Files\wamp\www\concrete\concrete\blocks\autonav\controller.php on line 189
Fatal error: Call to a member function add() on a non-object in C:\Program Files\wamp\www\concrete\concrete\models\collection.php on line 418
Solutions?
Thankful for help.
Deprecated: Function eregi() is deprecated in C:\Program Files\wamp\www\concrete\concrete\helpers\validation\strings.php on line 31
Warning: get_class() expects parameter 1 to be object, null given in C:\Program Files\wamp\www\concrete\concrete\blocks\autonav\controller.php on line 189
Fatal error: Call to a member function add() on a non-object in C:\Program Files\wamp\www\concrete\concrete\models\collection.php on line 418
Solutions?
Thankful for help.
I have tried to changed the error_reporting according to your suggestion.
phpinfo() shows error_reporting 22527. OK?
However no luck. Installaion still ends athttp://localhost/concrete/index.php/install/-/configure/... and showes the same messages as above.
When goning tohttp://localhost/concrete after this message i get
Notice: Undefined variable: dsn in C:\Program Files\wamp\www\concrete\concrete\libraries\loader.php on line 135
phpinfo() shows error_reporting 22527. OK?
However no luck. Installaion still ends athttp://localhost/concrete/index.php/install/-/configure/... and showes the same messages as above.
When goning tohttp://localhost/concrete after this message i get
Notice: Undefined variable: dsn in C:\Program Files\wamp\www\concrete\concrete\libraries\loader.php on line 135
Looks like you are still getting notice messages.
Try instead:
error_reporting = E_ALL & ~E_NOTICE | E_DEPRECATED
If that also fails, you could completely hide error messages in php.ini by setting:
display_errors Off
In this case, if a error occurs you will get a blank screen. But warnings, notices, etc. will be ignored.
Guess c5 hasn't been tested in php5.3 yet.
Try instead:
error_reporting = E_ALL & ~E_NOTICE | E_DEPRECATED
If that also fails, you could completely hide error messages in php.ini by setting:
display_errors Off
In this case, if a error occurs you will get a blank screen. But warnings, notices, etc. will be ignored.
Guess c5 hasn't been tested in php5.3 yet.
Through a friend I got the suggestion to install PHP version 5.2.9 instead of 5.3 This solved the problem. Now c5 is running and I'm happy.
You can try to change the error reporting level in php.ini to:
error_reporting = E_ALL & ~E_DEPRECATED