Jump to:

23376 Posts in 18176 Topics by 2867 members

General Questions

SilverStripe Forums » General Questions » Error getting files

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 1425 Views
  • svenmagnus
    Avatar
    Community Member
    2 Posts

    Error getting files Link to this post

    I am very new to Silverstripe and have just installed everything using the newest version of WAMP.
    Now I try to insert uploaded images using the TinyMCE but the images don't show up in the panel on the right and I receive an error message with the content "Error getting files"

    Has anybody got an idea what went wrong?

  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: Error getting files Link to this post

    If you have firebug installed (firefox plugin) then you can look under the 'console' option in firebug and see the request which gets sent to load the images. If you click that request you can drill down into the 'Response' - this response will hopefully contain the full error message.

  • svenmagnus
    Avatar
    Community Member
    2 Posts

    Re: Error getting files Link to this post

    Now I installed Firebug and received this error message:

    500//
    getTransport() protot...6464321 (Zeile 658)
    these() protot...6464321 (Zeile 196)
    [Break on this error] function() {return new ActiveXObject('Microsoft.XMLHTTP')},\n
    protot...6464321 (Zeile 658)

    But I have no clue what it means

    I found out something else.

    When I start phpMyAdmin...

    there is a yellow i (information mark) which says:
    Die zusätzlichen Funktionen für verknüpfte Tabellen wurden automatisch deaktiviert. Klicken Sie hier um herauszufinden warum.
    Translated: The additional functions for connected tables were deactivated automatically. Click here to find out why.

    Server: localhost
    $cfg['Servers'][$i]['pmadb'] ... fehlerhaft [ Dokumentation ]
    $cfg['Servers'][$i]['relation'] ... fehlerhaft [ Dokumentation ]
    Allgemeine Verknüpfungsfunktionen: Deaktiviert

    $cfg['Servers'][$i]['table_info'] ... fehlerhaft [ Dokumentation ]
    Anzeige verknüpfter Daten: Deaktiviert

    $cfg['Servers'][$i]['table_coords'] ... fehlerhaft [ Dokumentation ]
    $cfg['Servers'][$i]['pdf_pages'] ... fehlerhaft [ Dokumentation ]
    Erzeugen von PDFs: Deaktiviert

    $cfg['Servers'][$i]['column_info'] ... fehlerhaft [ Dokumentation ]
    Darstellung von Spaltenkommentaren: Deaktiviert
    Gespeicherte SQL-Abfrage: Deaktiviert
    Darstellungsumwandlung: Deaktiviert

    $cfg['Servers'][$i]['history'] ... fehlerhaft [ Dokumentation ]
    SQL-Verlaufsprotokoll: Deaktiviert

    $cfg['Servers'][$i]['designer_coords'] ... fehlerhaft [ Dokumentation ]
    Designer: Deaktiviert

    This has maybe something to do with my problem?

  • steve_nyhof
    Avatar
    Community Member
    224 Posts

    Re: Error getting files Link to this post

    ERROR [Warning]: Parameter 1 to Hierarchy::loadDescendantIDListInto() expected to be a reference, value given IN GET /admin/EditorToolbar/ImageForm? ....

    I was able to fix this by just over writing files under jsparty, but now nothing is happening - seems to come back.

    Any idea where this error is coming from and how to correct it?

    Thank you,
    Steve Nyhof

  • steve_nyhof
    Avatar
    Community Member
    224 Posts

    Re: Error getting files Link to this post

    I fixed this by removing the code in the _config.php file in mysite...

    //Director::set_environment_type('dev'); //for development mode

    That worked... Up until yesterday when something must have changed. Made a site in the morning and all was perfect. Then 5 hours later, no matter how many sites I tried to make, I kept getting the same error as before...

    ERROR [Warning]: Parameter 1 to Hierarchy::loadDescendantIDListInto() expected to be a reference, value given IN GET /admin/EditorToolbar/ImageForm?action_callfieldmethod=1&fieldName=Image&ajax=1&methodName=getimages&folderID=1676&searchText=undefined&cacheKillerDate=1272316794674&cacheKillerRand=4771 Line 525 in /home/bestland/public_html/sapphire/core/Object.php Source ====== 516: if(isset(self::$extra_methods[$this->class][$method])) { 517: $config = self::$extra_methods[$this->class][$method]; 518: 519: switch(true) { 520: case isset($config['property']) : 521: $obj = $config['index'] !== null ? 522: $this->{$config['property']}[$config['index']] : 523: $this->{$config['property']}; 524: * 525: if($obj) return call_user_func_array(array($obj, $method), $arguments); 526: 527: if($this->destroyed) { 528: throw new Exception ( 529: "Object->__call(): attempt to call $method on a destroyed $this->class object" 530: ); 531: } else {

    call_user_func_array(Array,Array) line 525 of Object.php Object->__call(loadDescendantIDListInto,Array) Image->loadDescendantIDListInto(Array) line 357 of Hierarchy.php Hierarchy->loadDescendantIDListInto(Array) line 342 of Hierarchy.php Hierarchy->getDescendantIDList(Folder) call_user_func_array(Array,Array) line 525 of Object.php Object->__call(getDescendantIDList,Array) Folder->getDescendantIDList(Folder) line 47 of ThumbnailStripField.php ThumbnailStripField->getimages() line 963 of Form.php Form->callfieldmethod(Array,Form,HTTPRequest) line 246 of Form.php Form->httpSubmission(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 122 of Controller.php Controller->handleRequest(HTTPRequest) line 277 of Director.php Director::handleRequest(HTTPRequest,Session) line 121 of Director.php Director::direct(/admin/EditorToolbar/ImageForm) line 118 of main.php

  • B-Side
    Avatar
    Community Member
    42 Posts

    Re: Error getting files Link to this post

    HI there - was there a resolution to your issue?

    I'm getting the same "Error Getting Files" message with 2.3.9.

    I have tried removing the set_environment_type variable and increasing the memory_limit setting in php.ini to no effect. The site is running on PHP version 5.2.4. Any ideas?

    Many thanks, Jayne

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