Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

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

how to change theme and upload images


Go to End
Reply


21 Posts   2028 Views

Avatar
webdeb

Community Member, 22 Posts

10 May 2012 at 10:20am

in the cms in my online website in the admin, when I try to upload VALID jpg images to the cms it says this is not a valid file. can someone please help. I followed the instructions but it doesnt work.

nor can i change the theme to black candy either, can someone tell me how please. (it is installed in theme folder)
in the admin I selected black candy at top level saved and refreshed, but I dont know what else to do to make it appear take over the original default template.

Avatar
swaiba

Forum Moderator, 1805 Posts

11 May 2012 at 4:10am

Hi,

File isn't a Valid Upload - I've heard that one before!

Please see here for options depending on your version of silverstripe...

http://www.silverstripe.org/general-questions/show/19724#post313439

Avatar
webdeb

Community Member, 22 Posts

11 May 2012 at 11:16am

Edited: 11/05/2012 11:45am

Thank you so much for responding to my request for help~ I waited a week for an answer, for someone to help me with a faulty install and inability to upload files or images to cms, and had to abandon that question, delete it and start again with just one question at a time.. duh.
I uploaded small jpgs to my website upload folder via ftp and then logged online into admin of cms and still the cms cannot find any files in that folder, as if they never existed. Therefore your suggested link to that other thread did not resolve my problem. if there are permissions to add somewhere can someone please tell me where, or offer a direct answer to the problem of why I cannot upload any files. I am not a programmer so I need fairly simple answers. Have other people not encountered this before?
I wasnt even able to install the wamp onto my local host. it stopped install half way through and I could not get any further, before permissions could get added. I could not get past the pop up: "Do you want to allow the following program from an unknown publisher to make changes to this computer?" My computer did not acknowledge anything past that popup, it just closed, and localhost page is blank. Is this the reason why my online cms is not working either? Is this a really hard question?

I am at the stage where I shall soon have to abandon silverstripe because it is not possible to get answers to simple installation questions, nor simple things like adding files, - via this forum....I only got referral to another thread, which did not resolve question.

So, the only thing I can think of, is to pay someone to answer my questions. Is there anyone prepared to help me with my install problems, or any other issues that crop up regarding changing themes etc.

I will need to know how to install/use silverstripe for my future projects, I currently have 3 website customers waiting for me to get silverstripe installed, so they can get a cms into action.

Avatar
3dgoo

Community Member, 133 Posts

11 May 2012 at 11:46am

Hello,

You should be using the cms file upload to upload files. From the description of your problem with this it sounds like there is something wrong with the server that is not allowing that to work. Would you like to attach the file you are trying to upload here and create a temporary guest log in for the cms?

If you do upload the files through ftp into the assets folder, the CMS will not see these files unless you sync them. Go to the following link on your site to sync the files you have uploaded:
[siteaddress]/dev/tasks/FilesystemSyncTask

Avatar
webdeb

Community Member, 22 Posts

11 May 2012 at 12:06pm

Edited: 12/05/2012 9:26pm

Hi, sorry re- my last post - I deleted it and started writing again....while you were replying to it ....sorry. So glad someone is helping.
anyway here is my log in...thanks

Attached Files
Avatar
3dgoo

Community Member, 133 Posts

11 May 2012 at 1:38pm

I'm telling you how to sync the files after uploading using ftp. Just go to this link:
http://rarotonga-island-accommodation.com/stripe/dev/tasks/FilesystemSyncTask

For the admin you only need to go to this link, not that it really makes a difference:
http://rarotonga-island-accommodation.com/stripe/admin/

I tried uploading a file through the CMS and got the same error. The strangest thing is there is error feedback through firebug in the background. This is not normal. I have never seen this before so I cannot help anymore with this problem. It looks like either a server settings problem or an install problem.
I have found some forum posts on this topic that may be helpful:
http://www.silverstripe.org/hosting-requirements/show/14243
http://www.silverstripe.org/installing-silverstripe/show/17328
http://www.silverstripe.org/general-questions/show/15567

If you're going to be developing Silverstripe sites for people you really need to know how to use the CMS and probably how to build sites using this CMS.
I advise you to install something like xampp on your computer, install silverstripe locally, learn how to use the cms as a user, and then learn how to develop for the CMS.

xampp:
http://www.apachefriends.org/en/xampp.html

Silverstripe manual:
https://code.google.com/p/toshokan-htlleonding/downloads/detail?name=SilverStripeQuickReferenceGuide1.1.pdf

Silverstripe tutorials:
http://doc.silverstripe.org/sapphire/en/

Avatar
webdeb

Community Member, 22 Posts

12 May 2012 at 9:25pm

thanks for all those suggestions. I think I will uninstall the faulty cms off my website for a start. but first perhaps delete my wamp stack off my localhost, since that didnt install properly either. Then I could install xamp that you recommend, then the silverstripe locally. Actually, if there was someone that could tell me why wampstack didnt finish installing, then that would be great, because I am always wondering if that was due to not locating my mozilla firefox exe file, - the wamp found explorer.exe instead by default, and I went with that. Does anyone know if this is the reason why it didnt install properly? Anyway I have since located my mozilla, in a folder called "Program Files (x86)" and I didnt know it was in there, I had only looked in my "Program Files" Folder... So if I download xamp will it also look for explorer, and I change it to the mozilla? Is that correct, otherwise I might get the same problems over again. does anyone know what I am talking about?
cheers

Avatar
3dgoo

Community Member, 133 Posts

14 May 2012 at 2:10pm

When installing xampp simply run the install exe that you download. It should not have anything to do with firefox or mozilla or explorer. I recommend installing it into C:\xampp\ to avoid directory issues.

Go to Top