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.

Ronny
 
wltr replied on at Permalink Reply
wltr
ereg-functions have been marked deprecated in PHP 5.3, because they are going to be removed in PHP6.

You can try to change the error reporting level in php.ini to:
error_reporting = E_ALL & ~E_DEPRECATED
Ronny replied on at Permalink Reply
Ronny
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
wltr replied on at Permalink Reply
wltr
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.
Ronny replied on at Permalink Reply
Ronny
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.

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.