Jump to:

10854 Posts in 2518 Topics by 1794 members

All other Modules

SilverStripe Forums » All other Modules » ImageGallery3 - got a problem

Discuss all other Modules here.

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

Page: 1 2
Go to End
Author Topic: 2287 Views
  • Capiz
    Avatar
    Community Member
    11 Posts

    Re: ImageGallery3 - got a problem Link to this post

    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

    Attached Files
  • UncleCheese
    Avatar
    4085 Posts

    Re: ImageGallery3 - got a problem Link to this post

    Are you running the trunk or the 2.3 branch?

  • Capiz
    Avatar
    Community Member
    11 Posts

    Re: ImageGallery3 - got a problem Link to this post

    I'm sorry. i'm really a newcomer... i'm running SilverStriper 2.3.6... from the SS page.

  • Capiz
    Avatar
    Community Member
    11 Posts

    Re: ImageGallery3 - got a problem Link to this post

    the SS is 2.3.6
    The gallery - i have no idea, the lastest from your own website, the same for the SWFupload and the DataObjectManager.

    Hope to hear from you soon.

    BTW - should i upgrade to 2.3.7?

  • UncleCheese
    Avatar
    4085 Posts

    Re: ImageGallery3 - got a problem Link to this post

    First, don't get anything off my website. I haven't updated it in over a year.

    If you don't have SVN, it's a little tricky to get the code right now. The Silverstripe "Modules" section provides a ZIP of the trunk, and that's 2.4 right now. The 2.3 version has been moved to a separate branch, so it's only accessible by SVN. I've talked to Silverstripe about adding multiple versions to my module page, and Sam said he'd look into it, but no word yet.

    I'll work on getting some ZIP files up here in the forum for 2.3 users.

  • UncleCheese
    Avatar
    4085 Posts
  • Capiz
    Avatar
    Community Member
    11 Posts

    Re: ImageGallery3 - got a problem Link to this post

    I'm using the 2.3 Gallery
    Just downloaded from your latest link.
    All my modules work, though my "Add" album and pictures is having a wrong button image (please, see my picture)

    And then i can't have 2 albums of pictures, without an error.

    XML Parsing Error: not well-formed address: http://localhost/galleri/ line 83, column 10: <h3> <% sprintf (_t ( 'ALBUMSINGALLERY', 'Albums in% s'), Gallery)%> </ h3>

    Can you help me UC ?

    Rasmus

    Attached Files
  • Osang
    Avatar
    Community Member
    1 Post

    Re: ImageGallery3 - got a problem Link to this post

    Well, thank you for pointing me to download the latest dev version for dataobject_manager. It solved my image gallery problem.

    2287 Views
Page: 1 2
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.