Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » problem installing silverstripe-v2.0.2-rc2

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

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

Page: 1
Go to End
Author Topic: 1540 Views
  • Tkop
    Avatar
    28 Posts

    problem installing silverstripe-v2.0.2-rc2 Link to this post

    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.

  • Fuzz10
    Avatar
    Community Member
    787 Posts

    Re: problem installing silverstripe-v2.0.2-rc2 Link to this post

    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.

  • Tkop
    Avatar
    28 Posts

    Re: problem installing silverstripe-v2.0.2-rc2 Link to this post

    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

  • Fuzz10
    Avatar
    Community Member
    787 Posts

    Re: problem installing silverstripe-v2.0.2-rc2 Link to this post

    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 ? ;-)

    1540 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.