This is a discussion on Help needed urgently please chmod: changing permissions not permitted within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; My host is about to suspend my account permanently because of an error that has occured since they upgraded their ...
| |||||||
| Register | FAQ | Donate | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| My host is about to suspend my account permanently because of an error that has occured since they upgraded their server! The error message is: "chmod: changing permissions of `/hsphere/local/home/mysite.com/catalog//images/image cache': Operation not permitted" They are receiving thousands of these errors a day. Does anyone know how to clear this error? I found some info on another site about removing: umask(0); !is_dir ($cachedir) ? mkdir ($cachedir, 0777) : system ("chmod 0777 ".$cachedir); But I don't know which file to remove it from. Please can anyone help? thank you LML |
|
#2
| ||||
| ||||
| Try deleting in FCKeditor directory Delete /catalog/FCKeditor/editor/filemanager/browser/default/connectors/asp/* Delete /catalog/FCKeditor/editor/filemanager/browser/default/connectors/aspx/* Delete /catalog/FCKeditor/editor/filemanager/browser/default/connectors/cfm/* Delete /catalog/FCKeditor/editor/filemanager/browser/default/connectors/perl/* Delete /catalog/FCKeditor/editor/filemanager/browser/default/connectors/test.html And modify /catalog/FCKeditor/editor/filemanager/connectors/php/upload.php PHP Code:
__________________ JPF - osCMax Fourm Moderator - To contact, post on the forum or click here Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
|
#3
| |||
| |||
| I found the offending code it was: umask(0); !is_dir ($cachedir) ? mkdir ($cachedir, 0777) : system ("chmod 0777 ".$cachedir); and it was in html_output.php My host said that this code does the following: That code is basically saying, Is it NOT a directory, if it is NOT a directory then make the directory, if it IS a directory, change its permissions. There's a couple of reasons that might 1) be failing (most likely user permissions vs apaches running user (myaccountname vs httpd)) or 2) be now logging the issue (most likely the improved PHP version or it should of been logging before). Does anyone know if I should have this code in there or not? Any clues greatfully receive. Much releaved LetMeLearn |
|
#4
| ||||
| ||||
| Sorry - but that code does not exist in that file. Re-install or please explain WHICH file - as HTML_OUTPUT should not be creating or working with files.....
__________________ JPF - osCMax Fourm Moderator - To contact, post on the forum or click here Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
|
#5
| ||||
| ||||
| Also review your passwords and acess. Makesure your ADMIN is secured. I forgot you are using osCommerce fourm....
__________________ JPF - osCMax Fourm Moderator - To contact, post on the forum or click here Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Setting permissions CHMOD | xess | osCommerce 2.2 Modification Help | 3 | 12-23-2004 10:20 AM |
| newbie guide to php wanted urgently !! | annie | osCommerce 2.2 Installation Help | 1 | 10-16-2004 10:51 AM |
| Changing the layout..hELP Needed!! | kellycog | osCommerce 2.2 Modification Help | 1 | 06-29-2004 05:33 PM |
| Help needed changing link color in info box header | 13Moons | osCommerce 2.2 Modification Help | 1 | 03-04-2004 01:12 AM |
| CHMOD | Eller | osCommerce 2.2 Installation Help | 2 | 10-01-2003 09:25 PM |