Elxis CMS Forum
Support => Administration => Topic started 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
-
delete ???
-
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.
-
Check who is the owner of those files
-
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.
-
one question...
did you tried to delete an active tpl... this that was checked as default for the site
-
Then, just change permissions, and delete them
-
Then, just change permissions, and delete them
Exactly. You should change the permissions first.
-
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. ???
-
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.
-
Thank u all.