Hi there,
I'm sure, that I have my Reflection Package installed.
Asking phpinfo on a Ubuntu 12.04 (with PHP 5.3.10) and 12.10 (with PHP 5.4.6) both times is showing me "Reflection enabled".
Again, here is the exact error that ist shown:
[User Error] Uncaught ReflectionException: Access to non-public constructor of class Transliterator
GET /~andre/ss248/dev/build?returnURL=%2F%7Eandre%2Fss248%2F
Line 90 in /home/andre/public_html/ss248/sapphire/core/Object.php
Source
81 * @param mixed $arguments,... arguments to pass to the constructor
82 * @return Object
83 */
84 public static function create() {
85 $args = func_get_args();
86 $class = self::getCustomClass(array_shift($args));
87
88 if(version_compare(PHP_VERSION, '5.1.3', '>=')) {
89 $reflector = new ReflectionClass($class);
90 return $reflector->newInstanceArgs($args);
91 } else {
92 // we're using a PHP install that doesn't support ReflectionClass->newInstanceArgs()
93
94 $args = $args + array_fill(0, 9, null);
95 return new $class($args[0], $args[1], $args[2], $args[3], $args[4], $args[5], $args[6], $args[7], $args[8]);
96 }
Trace
ReflectionClass->newInstanceArgs(Array)
Line 90 of Object.php
Object::create(Transliterator)
Line 1520 of SiteTree.php
SiteTree->generateURLSegment(About Us)
Line 1352 of SiteTree.php
SiteTree->onBeforeWrite()
Line 936 of DataObject.php
DataObject->write()
Line 1309 of SiteTree.php
SiteTree->requireDefaultRecords()
Line 235 of DatabaseAdmin.php
DatabaseAdmin->doBuild(1)
Line 99 of DatabaseAdmin.php
DatabaseAdmin->build(SS_HTTPRequest)
Line 193 of Controller.php
Controller->handleAction(SS_HTTPRequest)
Line 143 of RequestHandler.php
RequestHandler->handleRequest(SS_HTTPRequest)
Line 147 of Controller.php
Controller->handleRequest(SS_HTTPRequest)
Line 134 of DevelopmentAdmin.php
DevelopmentAdmin->build(SS_HTTPRequest)
Line 143 of RequestHandler.php
RequestHandler->handleRequest(SS_HTTPRequest)
Line 147 of Controller.php
Controller->handleRequest(SS_HTTPRequest)
Line 282 of Director.php
Director::handleRequest(SS_HTTPRequest,Session)
Line 125 of Director.php
Director::direct(/dev/build)
Line 127 of main.php