![]() |
| |||
| NEED HELP dir dir restriction Hi all, I'm hoping someone in here will be able to help me with a problem we are having with our site atm. we use a C.M.S. call pnc which uses nuke. the problem we are having is with people uploading to our site. when we try and upload a file to our site it comes up error file not uploaded... it give this as to the reason: Code: Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(//attach_mod_245.zip) is not within the allowed path(s): (/home/vcwcncom/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/vcwcncom/public_html/cod/modules/Submit_Downloads/index.php on line 215 any help would be greatly appreciated. we have tried on the support forums of our cms but so far havent had any luck with this one???? was told something about been able to change where the file goes whilst still uploading by putting something in a php.ini file but not sure what to do as im not sure if the file cant move because the tmp folder is outside the base dir or if the downloads folder it is trying to move it to is outside it????? |
| ||||
| If the setting you were referring to asks where to save the temporary uploaded file while uploading set it to /tmp or leave it blank so it uses the default path. If the setting is asking where you want your user's files saved to you should use the full path such as /home/vcwcncom/public_html/uploads. Whatever directory you want uploaded files saved in needs to be CHMODed to 0777 for everything to work properly. Let me know if that solves your problem.
__________________ █• CirtexHosting • General Manager • Customer Service █• Linux Based CPanel Web Hosting • Shared, Reseller & Dedicated Services █• Fantastico / RVSkin / FFMpeg Support Included • Free Site Transfer Service █• Need more help? Use our helpdesk • |
| ||||
| Andrew has it down pat. ![]() If you're uploading to a specified folder, check to make sure that folder has the chmod properties of 777.
__________________ Andan Community Guide Cirtex Hosting - Very Affordable and High Quality Web Hosting [ Plans starting at $2.99 per month: Cirtex Hosting ] [ Check the status of our servers: Status Page ] [ Help and Support for customers: Help Desk ] Hosted Sites: Gamers Core Non-Hosted Sites: My Personal Website |
| ||||
| glad it sorted ![]()
__________________ Parody - Cirtex Hosting & HostV Community Guide. • Need Help? Contact helpdesk • CirtexHosting.com Come Join Us! • Need a Virtual Private Server? Or a Dedicated Server? HostV Can do that! |
![]() |
| Thread Tools | |
| Display Modes | |
| |