Upload Error

5 posts by 2 authors in: Forums > CMS Builder
Last Post: June 5, 2008   (RSS)

By Cathy - May 22, 2008

I have just downloaded and installed CMS. Install went fine, I was able to set-up a section and some pages for testing. I run into a server error when trying to upload a test image:

Warning: getimagesize(): open_basedir restriction in effect. File(/tmp/php6zv3HD) is not within the allowed path(s): (/vservers/fametrics) in /vservers/fametrics/htdocs/cmsAdmin/lib/menus/default/uploadForm_functions.php on line 70 Warning: getimagesize(/tmp/php6zv3HD): failed to open stream: Operation not permitted in /vservers/fametrics/htdocs/cmsAdmin/lib/menus/default/uploadForm_functions.php on line 70 Warning: move_uploaded_file(): open_basedir restriction in effect. File(/tmp/php6zv3HD) is not within the allowed path(s): (/vservers/fametrics) in /vservers/fametrics/htdocs/cmsAdmin/lib/menus/default/uploadForm_functions.php on line 77 Warning: move_uploaded_file(): open_basedir restriction in effect. File(/tmp/php6zv3HD) is not within the allowed path(s): (/vservers/fametrics) in /vservers/fametrics/htdocs/cmsAdmin/lib/menus/default/uploadForm_functions.php on line 77 Warning: move_uploaded_file(/tmp/php6zv3HD): failed to open stream: Operation not permitted in /vservers/fametrics/htdocs/cmsAdmin/lib/menus/default/uploadForm_functions.php on line 77 Warning: move_uploaded_file(): Unable to move '/tmp/php6zv3HD' to '/vservers/fametrics/htdocs/cmsAdmin/uploads/eorza.jpg' in /vservers/fametrics/htdocs/cmsAdmin/lib/menus/default/uploadForm_functions.php on line 77 Error moving uploaded file!

Paths are all correct, so I'm thinking it's something the server is belching at. I'm sure all that mess is trying to tell me something, but I'm not sure what! Any Ideas?
__________________________________
Grafix Unlimited

Re: [Dave] Upload Error

By Cathy - May 22, 2008

Thanks Dave. I'll give that a try. Thanks!
__________________________________
Grafix Unlimited

Re: [Dave] Upload Error

By Cathy - June 5, 2008 - edited: June 5, 2008

Dave, here a followup on the upload error for anyone else who might be having the same issues. Your were 100% correct on the solution.

The host didn't initially want to disable the open_basedir and wanted it merely set up a tmp directory under the domain (it's shared hosting). That didn't work. After some persuasion I was able to to convince them to disable the open_basedir and all is working fine now.

Thanks for your help.
__________________________________
Grafix Unlimited

Re: [Cathy] Upload Error

By Dave - June 5, 2008

Cathy,

Glad to hear it's working! And thanks for posting back to let us know what happened. :)
Dave Edis - Senior Developer
interactivetools.com