Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

problem installing silverstripe-v2.0.2-rc2


Go to End


4 Posts   2175 Views

Avatar
Tkop

28 Posts

12 July 2007 at 7:56am

I'm trying to install the beta and getting the following
errors? any ideas? I'm on
Linux centos 2.6.18-8.1.8.el5
Apache 2.2.3

I'm getting this type of errors:
# Existing .htaccess found, merging in SilverStripe rewrite rules
# Building database schema...

Notice: Use of undefined constant Datetime - assumed 'Datetime' in /var/www/html/ss2/sapphire/core/model/Database.php(67) : eval()'d code on line 1

Notice: Use of undefined constant Datetime - assumed 'Datetime' in /var/www/html/ss2/sapphire/core/model/Database.php(67) : eval()'d code on line 1

Notice: Use of undefined constant HTMLText - assumed 'HTMLText' in /var/www/html/ss2/sapphire/core/model/Database.php(67) : eval()'d code on line 1
Notice: Use of undefined constant Boolean - assumed 'Boolean' in /var/www/html/ss2/sapphire/core/model/Database.php(67) : eval()'d code on line 1

Notice: Use of undefined constant Boolean - assumed 'Boolean' in 1

.
.
.

mod_rewrite doesn't appear to be working. Make sure:

* mod_rewrite is enabled in your httpd.conf
* AllowOverride is enabled for the current path.

Please check these options, then refresh this page.If you believe that your configuration is correct, click here to proceed anyway.

Avatar
Fuzz10

Community Member, 791 Posts

13 July 2007 at 1:26am

Edited: 13/07/2007 1:26am

Hi,

First, disable the reporting of PHP notices (you'll only want to see errors).

Did you try forcing SS to continue after installing? On our development server, SS will also complain about mod-rewrite while the feature _is_ turned on.

Avatar
Tkop

28 Posts

13 July 2007 at 3:48am

What is "feature_turned_on"?

I set in the /etc/php.ini
error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
used to be
error_reporting = E_ALL

and it seems to Install OK but the dev team might want to go through
and figure out why with warnings it fails. Probably the warnings set
a return code and the install scripts consider all non-success return
codes as failures.

Thanks

Avatar
Fuzz10

Community Member, 791 Posts

13 July 2007 at 7:32pm

Oh I'm sorry , I wasn't exactly clear there. With the feature turned on I meant the mod_rewrite.

I think the DEV team is working on fixing the error-stuff. However, it sounds pretty weird to me that the error-reporting makes a difference in SS's operation.

Ah well, it works, right ? ;-)