By the way, this is the message I keep getting when trying to delete the folder via my online file manager:
Warning: ftp_delete() [function.ftp-delete]: Prohibited file name: /public_html/ggfd/.pureftpd-upload.4ac360d8.15.3f41.64e402d6 in /home/files/public_html/includes/filesystem.inc.php on line 901
Warning: ftp_delete() [function.ftp-delete]: Prohibited file name: .pureftpd-upload.4ac360d8.15.3f41.64e402d6 in /home/files/public_html/includes/filesystem.inc.php on line 925
Warning: ftp_delete() [function.ftp-delete]: Prohibited file name: /public_html/ggfd/.pureftpd-upload.4ac361ad.15.4374.54ff9f6c in /home/files/public_html/includes/filesystem.inc.php on line 901
Warning: ftp_delete() [function.ftp-delete]: Prohibited file name: .pureftpd-upload.4ac361ad.15.4374.54ff9f6c in /home/files/public_html/includes/filesystem.inc.php on line 925
Warning: ftp_rmdir() [function.ftp-rmdir]: Can’t remove directory: Directory not empty in /home/files/public_html/includes/filesystem.inc.php on line 811
Warning: ftp_rmdir() [function.ftp-rmdir]: Can’t remove directory: Directory not empty in /home/files/public_html/includes/filesystem.inc.php on line 835
Try deleting the files/folders inside install one by one..
Maybe a corrupted file/folder prevents the folder from being deleted.
OR
Ask your hoster to delete the folder...
Greetz
JUSI
-
☆ A M B ☆
- 2,475 Posts
Yeah, I think your FTP client is thwarting you. If you can get shell access, this stuff can go much much faster. Do you have shell access (ssh)?
It looks like you’re trying to delete the includes folder... are you?
Contacting the host might be a good way to go if it’s being this complicated...
Thanks again, you guys! The solution was all contained in the C Panel, under "fix file permissions". For some reason, I didn’t even think to look there.
You’re welcome.
Glad you got it sorted out.
Greetz
JUSI
It looks like I have another question:
Below are the instructions for securing your site:
http://wiki.modxcms.com/index.php/Securing_your_site
Changing File Permissions
In the installation guide the folder permissions are advised to set to 666 or 777. So change the permissions to the following:
1. /assets/cache folder to 700
2. all files inside /assets/cache folder to 600, except index.html
3. /assets/export folder to 755
4. /assets/images folder to 755
5. /manager/includes/config.inc.php to 600 (after installation has finished)
MODx also currently has hardcoded permissions set 666 or 777 to files that are uploaded through the file managers. To make the suite for suPHP and PHPSuexec, you need to do the following edits (patch file against rev 1630 can be downloaded [here]):
Now, I’m having major problems with step number two. I can’t change the write permission for the file called "docid_7.pageCache.php" from 0644 to 0600. Is this normal?
Thanks again!
Don’t worry- problem fixed! It was the same file permission problem again!