Jump to:

22977 Posts in 11806 Topics by 2826 members

General Questions

SilverStripe Forums » General Questions » Weird anomaly....

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 2
Go to End
Author Topic: 980 Views
  • wilsonStaff
    Avatar
    Community Member
    142 Posts

    Weird anomaly.... Link to this post

    Look at the image below.

    ON LEFT: from the CMS Upload Image section, you can see sub Folders (Gallery, etc....)
    ON RIGHT: the /upload folder seen from the FTP Client (no sign of any gallery folder....!!!)

    I cant delete these folders using CMS (server error), and as i dont see them with the FTP Client, i cant either!

    I cant load images as well into the /uploads and insert them in pages.

    I can see the files are into uploads btn when i try to see them, it says: Servwr Error 500.

    I tried deleting the Silverstripe-cache to force SS to re-read itself. No use.

    I might add that at some point i TRIED to install the Gallery Image module, which miserably failed.....

    Thanks!

    Attached Files
  • SheaDawson
    Avatar
    Community Member
    45 Posts

    Re: Weird anomaly.... Link to this post

    Sounds like the database records for the folders exists, but not the actual folders themselves. In the assets section of the CMS (as seen in your screenshot), have you tried clicking the 'look for new files' button? This will bring the database back inline with what files / folders actually exist.

  • wilsonStaff
    Avatar
    Community Member
    142 Posts

    Re: Weird anomaly.... Link to this post

    Problem is that: I DONT WANT THEM (gallery folders). I want to delete them, as i suspect that there is a conflict somewhere. I cant use the upload function at all. The problem is with THAT precise site, other sites i did with SS can use /upload CMS without a hitch.

    As i said, i tried to install the Gallery Image module along Uploadify but ended up deleting them because they werent working at all.

    The CMS seems to remember some part of it, andf they amy be conflincting with the uploads even deleting all of the Image Gallery related items and doing a dev/build.

    - - -

    ??

    Thanks!

  • SheaDawson
    Avatar
    Community Member
    45 Posts

    Re: Weird anomaly.... Link to this post

    I know you don't want them. 'look for new files' will re-sync the file database with your assets directory. If it finds records of files or folders that don't actually exist it will remove / clean them up, not add them again. If that doesn't work you might want to have a look at the File table in the database, you will see all the file and folder records there and you can delete the unwanted image gallery ones.

  • wilsonStaff
    Avatar
    Community Member
    142 Posts

    Re: Weird anomaly.... Link to this post

    OK, the "Look for new files" had the ghost folders disapear, but.... i still cant upload images:

    - neither using the upload image (at the right of the CMS)
    or
    - using the proprietary Files Manager for /assets.

    It loads the images but cant display them. I can "see" the thumbnails files:

    - but once inserted, displays a broken icon
    and
    - if i use the FIles Manager, i can see the images listed, but when i click on the name to visualize them, it says Server Error 500.

    I might add that if:

    - i place the image manually (using an FTP Client) into the /assets/upload folder
    and
    - if i code it using the HMTL window of the content editor

    It works fine.

    Which lead me to think that the SS Upload function is somehow the culprit.

    - - -

    ????

    Thaks for helping.

  • martimiz
    Avatar
    Forum Moderator
    1037 Posts

    Re: Weird anomaly.... Link to this post

    Are you sure you have sufficient rights on your assets folder?

  • wilsonStaff
    Avatar
    Community Member
    142 Posts

    Re: Weird anomaly.... Link to this post

    I am the administrator. Full administrator rights...

    As i said, its not the image, as i can upload via FTP and insert them via TinyCME HTML editor. Works fine but not very convenient for end user....

    So it must be related to the upload processus.

  • martimiz
    Avatar
    Forum Moderator
    1037 Posts

    Re: Weird anomaly.... Link to this post

    That's not exactly what I meant I was refering to the read/write rights on your assets directory on the server - not your SilverStripe admin account...

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