FTP Not Working Properly

scath

New member
Joined
Feb 4, 2011
Messages
1
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:

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.
 
Joe's Data Center offers no support for DirectAdmin so either you're on your own, or you can ask questions here, or you can hire outside administration help from me or others who post here.

The problem occurs when you update with a php script run under the default DirectAdmin installation, using mod_php. If you do, the path and files created by your php script are owned by httpd.

I'm presuming you've rented a dedicated or virtual server. You need to log in through the shell, as root, and check the permissions of every directory in the path, beginning with /home/USERNAME to make sure that your username has write rights (and the directories have execute rights) for your username.

Jeff
 
Back
Top