|
Attention: Last reply in this thread was more than 18 Years ago |
|
Thread Tools |
#1
|
|||
|
|||
No uploads and a message
I can't upload pics and get this message when I try:
Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid/gid is 6344/6344 is not allowed to access /mounted-storage/home8/sub003/sc15378-GJSN/www/photoplog/images/793 owned by uid/gid 99/99 in /mounted-storage/home8/sub003/sc15378-GJSN/www/photoplog/upload.php on line 143 I assume looking at the title that it's because SAFE MODE is on. I cannot change this as I don't have access to do so. A solution please? K |
#2
|
|||
|
|||
I also ge tthis error in the middle of the page:
Sorry, ka$h: Bad Type Part of the same I hope, but I could do with some help K |
#3
|
||||
|
||||
Is the images directory set to 777 permissions? If so, and you still cannot upload, ask your host if they will change UID (user) checking to GID (group) checking so you can upload. Here's a link to safe_mode_gid. It's something that needs to be set in the php.ini or httpd.conf file.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
#4
|
|||
|
|||
Code:
Content visible to registered users only. |
#5
|
||||
|
||||
Not sure if you saw it on that page, but if you look for the sentence that starts with "When safe_mode is on, PHP checks to see if the owner of..." there is some more talk about UID/GID stuff that may be of some help. Let me know how it goes.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
#6
|
|||
|
|||
Right, although the servercp says that I am running SAEF MODE I was also running gid safe mode. To keep security on the shared server I changed the option for gid safe mode to off and it gives exactly the same, so that aint it.
In addition to this I switched the vb options for server safe mode to on and it refused to allow attachments to be uploaded. I switched back to off and it works fine. This makes me think it aint the server but something else. Don't really want to be turning the SM off in the CP, and it's taking 2-3 hours for settings to change so it's not something I can tryout quickly if you know what I mean. Any more thoughts? |
#7
|
|||
|
|||
Just double checked the error and it has actually changed by dropping the gid part of the error:
Code:
Content visible to registered users only. |
#8
|
||||
|
||||
Does the 793 directory have 777 permissions?
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
#9
|
|||
|
|||
it certainly does
|
#10
|
||||
|
||||
Regarding safe mode, there is a blog (http://ilia.ws/archives/18-PHPs-safe...-security.html) where the last comment says:
Code:
Content visible to registered users only. You could try Titov's patch, if you are server admin, or else try to convince your host to apply the patch. Alternatively, there is a page (http://bugs.php.net/bug.php?id=24604) where the last comment says: Code:
Content visible to registered users only.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ERROR MESSAGE | wickedstangs | Troubleshooting & Problems | 2 | 09-10-2007 04:38 AM |
Not logged in message | anaintre | Troubleshooting & Problems | 4 | 02-02-2007 11:13 AM |