I can't get the daily builds installed. Anyone get the daily builds installed and if so what process did you follow?
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.
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
hi
u created the two classes as the same name
my be you wrote the same class names are ManifestBuilder