I'm a customer at JoesDataCenter.com. He referred me here. I don't have permissions working via ftp. I set permissions via file manager and reset ownerships to my username. Then my joomla site got all screwy and gave errors like this:
Why would permission be Denied? I'm running a debian dedicated server with directadmin.
Code:
At top of my website / index / all pages
Warning: mkdir() [function.mkdir]: Permission denied in
/home/xxxxxxxx/xxxxxxxx/xxxxxxxx/public_html/templates/xxxxxxxx/thememagic/libraries/CSScaffold/modules/Layout/Layout.php
on line 125
Warning: imagepng() [function.imagepng]: Unable to open
'/home/xxxxxxxx/xxxxxxxx/xxxxxxxx/public_html/templates/xxxxxxxx/media/css/cache/Layout/13px_61_13px_13px_grid.png'
for writing: No such file or directory in
/home/xxxxxxxx/xxxxxxxx/xxxxxxxx/public_html/templates/xxxxxxxx/thememagic/libraries/CSScaffold/modules/Layout/Layout.php
on line 217
Warning:
file_put_contents(/home/xxxxxxxx/xxxxxxxx/xxxxxxxx/public_html/templates/xxxxxxxx/media/css/cache/css-154a8465d9fa0075b9b71bd38a6e58d4.css)
[function.file-put-contents]: failed to open stream: Permission denied in
/home/xxxxxxxx/xxxxxxxx/xxxxxxxx/public_html/libraries/joomla/filesystem/file.php
on line 304
===============
At bottom of At top of http://xxxxxxxx/index.php:
Warning:
file_put_contents(/home/xxxxxxxx/xxxxxxxx/xxxxxxxx/public_html/cache/css-04815f63afbe4bbca4c308bb666e058f.php)
[function.file-put-contents]: failed to open stream: Permission denied in
/home/xxxxxxxx/xxxxxxxx/xxxxxxxx/public_html/libraries/joomla/filesystem/file.php
on line 304
Warning:
file_put_contents(/home/xxxxxxxx/xxxxxxxx/xxxxxxxx/public_html/cache/js-a21177c3f46cc39ea479530eb8ac1fbf.php)
[function.file-put-contents]: failed to open stream: Permission denied in
/home/xxxxxxxx/xxxxxxxx/xxxxxxxx/public_html/libraries/joomla/filesystem/file.php
on line 304
At admin panel I get: Warning:
file_put_contents(/home/xxxxxxxx/public_html/tmp/jomsocialupdate.ini)
[function.file-put-contents]: failed to open stream: Permission denied in
/home/xxxxxxxx/xxxxxxxx/xxxxxxxx/public_html/libraries/joomla/filesystem/file.php
on line 304
Why would permission be Denied? I'm running a debian dedicated server with directadmin.