WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: Ogierini on October 17, 2008, 08:05:28 PM

Title: can't delete images in template
Post by: Ogierini on October 17, 2008, 08:05:28 PM
Hi there,

I try tot delete some images within the template to replace them. The server is linux. Can that be the reason for that?
When I upload images in media then I can delete the images in ftp. But NOT from the template. There is a persmission problem But I have chmodded the files to 777. What could it be?

greetz Irene
Title: Re: can't delete images in template
Post by: kweitzel on October 17, 2008, 09:42:54 PM
I bet if you get down to it it is a mix of Ownership / permission ...

1) Template was uploaded by WB - the files belong to the webserver-user (www-run, apache, etc)
2) You chmodded with ftp-user, who does not have the right to do it, so it fails ...

Result: The files can not be deleted via FTP.

Workaround:

Download the template folder and then uninstall the template within WB ... the re-upload the template via ftp. Use the admin-tool "reload add-ons" to reload the templates. Done ...

cheers

Klaus
Title: Re: can't delete images in template
Post by: vyni on October 18, 2008, 07:16:47 AM
Hi Irene,

maybe, as described by kweizel, the permission of the folder, not the file.

But if You arenĀ“t sure or unlucky with that, collect the module webbaseedit - this installs as admin-tool.
with this part You can delete it - but be aware - You could delete everything and something wrong.


regards from Himberg near Vienna
Title: Re: can't delete images in template
Post by: Ogierini on October 18, 2008, 03:56:00 PM
First I trie to do it Klaus'way.
I uninstalled but than, since I allready installed the folder cms with the whole website baker in it that I deleted to try to start over,  there is only one subfolder folder left there: template/a bit modern. That file I cannot delete and al the documents are automatically uploaded to that folder.  :|
First I should delete that folder but from the webbaker module, it cannot be done since all the other files are deleted..... 

Hellup.....

Any suggestions????

greetz Irene
Title: Re: can't delete images in template
Post by: seagull on October 18, 2008, 07:59:31 PM
Irene,

You can try it with PHP filemanager

Upload the fm.php (attached in the zip) to your webspace
Run it with your browser

You can browse, chmod, delete etc. the folders and files on your webspace.
Simple but powerfull.

groeten, Jan

[gelöscht durch Administrator]
Title: Re: can't delete images in template
Post by: Ogierini on October 18, 2008, 08:18:18 PM
Hi Jan,

It worked! I could delete cms so now I can try Klause remedy.
thank you!

greetz Irene
Title: Re: can't delete images in template
Post by: Ogierini on October 18, 2008, 08:31:52 PM
Klaus,

Thank you very much as well, it worked!

It seems odd to me, that it did'nt work what I did earlier. With several sites it was not a problem at all to upload the template via WB and than to chmod in wsftp. This was the first time it didn't work properly.......

I truely thought  it was a server problem!

 :roll:

greetz Irene
Title: Re: can't delete images in template
Post by: kweitzel on October 19, 2008, 08:27:53 AM
Hi Irene,

quite a lot depends on the setup of the server 7 webspace your ISP provides you. Sometimes it's hassle free, but there are servers, which are not easy to use ... unfortunately.

cheers

Klaus