Help. I just changed the database name and cannot edit the settings.php or default settings
and when i tried reinstalling I could not even delete these files to start over. I'm just starting this
first drupal project. I'm a newbie. Like I said settings doesn't let me edit it at all.

I use cPanel x3 and wonder if cpanel is the problem. I have tried uploading the edited php
module on filezilla and still unsuccessfull in making any real changes to this folder in particular.

Help thank you.

CommentFileSizeAuthor
#2 sites_issue.png56.72 KBgoodenvy

Comments

goodenvy’s picture

Resolved the issue. I was unclear before about what 777 changes meant.. but I just noticed that my cpanel File manager has the option for changing permissions for the file.. and folder.. WOW.

goodenvy’s picture

StatusFileSize
new56.72 KB

NOT RESOLVED!! eeeks.. wt?

still when I click 'refresh' the 'sites' folder comes back to haunt me? help! i'm frustrated ..

ainigma32’s picture

Component: php.module » other
Assigned: goodenvy » Unassigned
Priority: Critical » Normal

Have you tried using the File Managers delete function or have you only tried deleting the folder using FTP?

- Arie

ainigma32’s picture

Status: Postponed (maintainer needs more info) » Fixed

Looks like goodenvy won't be posting any feedback so I'm setting this to fixed.

Feel free to reopen if you think that is wrong.

- Arie

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

jeyro’s picture

Opened this issue to give additional information. Please close again thereafter. The original issue was posted for version 6.6, my details are based on 6.13 as I experience this issue in this version. I did not experience this issue in 2008 (using 5.x)

I'm also using cpanel and have experienced the same problem. It might be more generally related to cpanel, and on the other hand it might not be. Also not sure if this is in any way related to cpanel's fantastico, even if I have not used it. Or it might be related to server settings. My experience is on shared hosting, while I have no complaint with my hosting service.

It appears that cpanel likes to protect the entire sites directory and its contents. That means in the sites directory it is difficult to change permissions by ftp. And when the permissions are correctly set to allow changes, a newly uploaded settings.php file gets quickly overwritten again by the previous one - and you wouldn't know it if you did not pay very close attention to what is happening (and if you don't refresh).

The same happens when you upgrade/update your code base. In my case, I like to wipe everything out, upload the new code base without its sites directory and upload my saved sites directory separately. Regardless of using ftp or cpanel file manager, the deletion of the sites directory may be initially allowed, but it is likely to reappear quickly (and you won't know it if you don't refresh).

My work-around has been to use cpanel's file manager to *rename* the sites directory (i.e. sites-old), create a new sites directory, delete the old one (sites-old) and then upload my settings.php file (&files directory, etc.) into the new sites directory. This would not get overwritten (but good to double check).

I hope this helps.