We have a dedicated server using PLESK 9.3 CP. I've installed Drupal onto one of the domains via PLESK. The setup was simple, fast, and easy - no problems. I wanted to customize one of the graphics included in the theme we wanted to use. Here's where the problem comes into play. Using Dreamweaver or an FTP client, we are unable to upload or change even from the PLESK CP any files to the directories in Drupal?

Does anyone know how we can fix this? I would like to recommend or clients to use Drupal but unless their is a fix for this issue we will have to advise them accordingly.

Comments

bwv’s picture

This is more likely a Plesk, rather than a drupal, issue. One thing to try is running the rchown command from an SSH client (such as PuTTY). That way you will gain ownership of all the folders and files. Not sure if it will make a difference in this case, as I am unfamiliar with the particulars. But your situation sounds like one that I encountered a while ago, and the rchown command worked.

Aniara.io’s picture

I'm not sure I understand this, do you get an access denied error when you try to log into your server through FTP? Any errors being logged on Dreamweaver? Or is it that you're not seeing the changes you do on your theme? Be a little more specific. Maybe you don't have write permissions to the directory Drupal is installed or if you uploaded something to the theme you might need to clear your cache. Other than that I can only think you could search your hosting's knowledge-base and/or contact support. Drupal doesn't change anything in your FTP server configuration.

Aniara.io’s picture

What he says. :)

zbman’s picture

The web site FTP login settings are the same for PLESK, Dreamweaver, Fetch FTP client. This is no problem logging in and viewing the site directories/files. From anyone of these applications I can change the directory and file permissions to what ever I want - no problem here.

When I want to change an image in the image folder of a theme - /httpdocs/docs/sites/all/themes/ad_novus/images

I get the following error message using Fetch:

"Fetch could not put "inset-banner.jpg" because the FTP server encountered an error accessing a file or filder." Server responded: "inset-banner.jpg: Permission denied"

Using PLESK File manager, I get this message:

"Error: Unable to remove file /httpdocs/docs/sites/all/themes/ad_novus/images//var/www/vhosts/northeastrm.com/httpdocs/docs/sites/all/themes/ad_novus/images/inset-banner.jpg: filemng failed: rm: cannot remove `/var/www/vhosts/northeastrm.com/httpdocs/docs/sites/all/themes/ad_novus/images/inset-banner.jpg': Permission denied
filemng: Error occured during /bin/rm command."

Using Dreamweaver, I get the following message:

"images:inset-banner.jpg - error occurred - An FTP error occurred - cannot put inset-banner.jpg. Access denied. The file may not exist, or there could be a permission problem. Make sure you have proper authorization on the server and the server is properly configured.

File activity incomplete. 1 file(s) or folder(s) were not completed."

We do not have such FTP problems using Joomla installed by the PLESK CP?

bwv’s picture

filemng failed: rm: cannot remove

I believe filemng is the filemanager for Plesk for Windows. Are you on a Windows server?

zbman’s picture

UNIX server running Linux 2.6.27.4

bwv’s picture

If you can download PuTTY and set up secure shell access to your server, then using the chown command sill do the trick. Manually changing permissions with an ftp client is not sufficient.

zbman’s picture

I am not familiar with using chown commands. On my Mac I have the Terminal application that I believe I can use for this. I just do not know what commands to type in?

bwv’s picture

This is what I have used in the past:

chown -R nameofowner nameofdirectoryabovehttpdocs