Jump to:

4873 Posts in 7260 Topics by 1471 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Has anyone been able to install daily builds

Getting SilverStripe up and running on your computer and on your web server.

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

Page: 1
Go to End
Author Topic: 1011 Views
  • gman
    Avatar
    Community Member
    11 Posts

    Has anyone been able to install daily builds Link to this post

    I can't get the daily builds installed. Anyone get the daily builds installed and if so what process did you follow?

  • gman
    Avatar
    Community Member
    11 Posts

    Re: Has anyone been able to install daily builds Link to this post

    Running PHP 5.3.3 on Windows Server 2003 SP3.

    I decided to try this by installing 2.4.1 and following the instructions to upgrade an existing installation. When I get to db/build?flush=1, I receive the following error:

    [User Warning] There are two files both containing the same class: 'pathtosilverstrip/sapphire/core/model/YamlFixture.php' and ''. This might mean that the wrong code is being used.
    GET /silverstripedb/db/build?flush=1

    Line 455 in pathtosilverstrip\sapphire\core\ManifestBuilder.php
    Source

    446          if($class['extends']) self::$extendsArray[$class['extends']][$className] = $className;
    447          if(isset($class['interfaces'])) foreach($class['interfaces'] as $interface) {
    448             self::$implementsArray[$interface][$className] = $className;
    449          }
    450          
    451          if(isset(self::$classArray[$className])) {
    452             $file1 = self::$classArray[$className]['file'];
    453             $file2 = $class[$className];
    454             user_error("There are two files both containing the same class: '$file1' and " .
    455                "'$file2'. This might mean that the wrong code is being used.", E_USER_WARNING);
    456          }
    457          
    458          self::$classArray[$className] = $class;
    459       }
    460
    461       foreach($interfaces as $interface) {

    Trace

    * There are two files both containing the same class: 'pathtosilverstrip/sapphire/core/model/YamlFixture.php' and ''. This might mean that the wrong code is being used.
    Line 455 of ManifestBuilder.php
    * ManifestBuilder::parse_file(pathtosilverstrip/sapphire/dev/YamlFixture.php)
    Line 375 of ManifestBuilder.php
    * ManifestBuilder::allClasses(Array)
    Line 253 of ManifestBuilder.php
    * ManifestBuilder::get_manifest_info(pathtosilverstrip,Array)
    Line 110 of ManifestBuilder.php
    * ManifestBuilder::create_manifest_file()
    Line 91 of DatabaseAdmin.php
    * DatabaseAdmin->build(SS_HTTPRequest)
    Line 193 of Controller.php
    * Controller->handleAction(SS_HTTPRequest)
    Line 135 of RequestHandler.php
    * RequestHandler->handleRequest(SS_HTTPRequest)
    Line 147 of Controller.php
    * Controller->handleRequest(SS_HTTPRequest)
    Line 283 of Director.php
    * Director::handleRequest(SS_HTTPRequest,Session)
    Line 127 of Director.php
    * Director::direct(/db/build)
    Line 127 of main.php

  • chinni
    Avatar
    Community Member
    7 Posts

    Re: Has anyone been able to install daily builds Link to this post

    hi

    u created the two classes as the same name

    my be you wrote the same class names are ManifestBuilder

    1011 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.