XML tolkningsfejl: ikke well-formed adresse: http://localhost/galleri/ linje 83, kolonne 10: <h3><% sprintf(_t('ALBUMSINGALLERY','Albums in %s'),Galleri) %></h3>
-------------------------------------^
in my published site
[Warning] ViewableData_Customised::obj() 'DetailForm' was requested from the array data as an object but it's not an object. I can't cast it.
GET /admin/EditForm/field/GalleryItems/upload?album=5
Line 990 in C:\xampp\htdocs\sapphire\core\ViewableData.php
Source
981 return $val;
982 } else {
983 return $this->obj->XML_val($fieldName, $args, $cache);
984 }
985 }
986
987 function obj($fieldName, $args = null, $forceReturnObject = false) {
988 if(isset($this->extraData[$fieldName])) {
989 if(!is_object($this->extraData[$fieldName])) {
990 user_error("ViewableData_Customised::obj() '$fieldName' was requested from the array data as an object but it's not an object. I can't cast it.", E_USER_WARNING);
991 }
992 return $this->extraData[$fieldName];
993 } else {
994 return $this->obj->obj($fieldName, $args, $forceReturnObject);
995 }
996 }
Trace
* ViewableData_Customised::obj() 'DetailForm' was requested from the array data as an object but it's not an object. I can't cast it.
Line 990 of ViewableData.php
* ViewableData_Customised->obj(DetailForm,,1)
Line 32 of .cacheC..xampp.htdocs.dataobject_manager.templates.DataObjectManager_popup.ss
* include(C:\WINDOWS\Temp\silverstripe-cacheC--xampp-htdocs\.cacheC..xampp.htdocs.dataobject_manager.templates.DataObjectManager_popup.ss)
Line 357 of SSViewer.php
* SSViewer->process(ViewableData_Customised)
Line 773 of ViewableData.php
* ViewableData->renderWith(DataObjectManager_popup)
Line 225 of FileDataObjectManager.php
* FileDataObjectManager->upload(HTTPRequest)
Line 129 of RequestHandler.php
* RequestHandler->handleRequest(HTTPRequest)
Line 143 of RequestHandler.php
* RequestHandler->handleRequest(HTTPRequest)
Line 143 of RequestHandler.php
* RequestHandler->handleRequest(HTTPRequest)
Line 119 of Controller.php
* Controller->handleRequest(HTTPRequest)
Line 280 of Director.php
* Director::handleRequest(HTTPRequest,Session)
Line 121 of Director.php
* Director::direct(/admin/EditForm/field/GalleryItems/upload)
Line 118 of main.php
This is when i try to add picture to my album :-(