Elxis CMS Forum

Support => Administration => Topic started by: rentasite on June 05, 2009, 17:57:56

Title: ERROR while deleting Template
Post by: rentasite on June 05, 2009, 17:57:56

After i finished an installation i tried to delete the default templates through the Administration panel. And everytime i get PHP Error [Warning].

Because this happens too quick, i can only see/get the errors from the page source. So here are 2 examples.

URI: index2.php?option=com_installer&element=template&client=&task=remove&cid[]=ks-eros
Path: /includes/Core/filemanager.class.php
Line: 928
rmdir(/home/xxxxxt/public_html/templates/ks-eros/images/) [<a href='function.rmdir'>function.rmdir</a>]: Permission denied


URI: index2.php?option=com_installer&element=template&client=&task=remove&cid[]=ekebic
Path: /includes/Core/filemanager.class.php
Line: 928
rmdir(/home/xxxxx/public_html/templates/ekebic/images/) [<a href='function.rmdir'>function.rmdir</a>]: Permission denied
Title: Re: ERROR while deleting Template
Post by: kebic on June 05, 2009, 19:27:18
delete  ???
Title: Re: ERROR while deleting Template
Post by: rentasite on June 05, 2009, 19:56:52

That's not the point kebic  :) I tried to delete ALL the pre-installed templates, not only yours.  Those 2 above, is just an example.
Title: Re: ERROR while deleting Template
Post by: Ivan Trebješanin on June 05, 2009, 20:05:30
Check who is the owner of those files
Title: Re: ERROR while deleting Template
Post by: rentasite on June 05, 2009, 20:33:15

It's the user (username) of the hosting account. Same owner, as all other files and folders in that installation.

Also, what i tried and mentioned above, is right after the installation. I have not done anything further more than that.
Title: Re: ERROR while deleting Template
Post by: ks-net on June 05, 2009, 20:45:21
one question...

did you tried to delete an active tpl... this that was checked as default for the site
Title: Re: ERROR while deleting Template
Post by: Ivan Trebješanin on June 05, 2009, 20:49:55
Then, just change permissions, and delete them
Title: Re: ERROR while deleting Template
Post by: datahell on June 05, 2009, 22:17:17
Then, just change permissions, and delete them

Exactly. You should change the permissions first.
Title: Re: ERROR while deleting Template
Post by: kebic on June 05, 2009, 23:38:21

That's not the point kebic  :) I tried to delete ALL the pre-installed templates, not only yours.  Those 2 above, is just an example.

This is ok, but it is not clear why anyone would delete default templates.  ???
Title: Re: ERROR while deleting Template
Post by: datahell on June 05, 2009, 23:43:41
Just a note: NEVER delete the "okto" template. It is being used as a backup solution in some cases when no other template can be found.
Title: Re: ERROR while deleting Template
Post by: rentasite on June 06, 2009, 00:21:55

Thank u all.