Page MenuHomePhabricator

Can't upload images
Closed, InvalidPublic

Description

Author: eli

Description:
When I try to upload images I get the following errors:

Warning: fopen(): open_basedir restriction in effect. File(/tmp/phpWCwp5w) is
not within the allowed path(s): (/home3/ejg126) in
/home3/ejg126/public_html/intel/includes/MacBinary.php on line 47

Warning: fopen(/tmp/phpWCwp5w): failed to open stream: Operation not permitted
in /home3/ejg126/public_html/intel/includes/MacBinary.php on line 47

Warning: fseek(): supplied argument is not a valid stream resource in
/home3/ejg126/public_html/intel/includes/MacBinary.php on line 102

Warning: fread(): supplied argument is not a valid stream resource in
/home3/ejg126/public_html/intel/includes/MacBinary.php on line 103

Warning: fclose(): supplied argument is not a valid stream resource in
/home3/ejg126/public_html/intel/includes/MacBinary.php on line 85

Warning: shell_exec() has been disabled for security reasons in
/home3/ejg126/public_html/intel/includes/MimeMagic.php on line 472

Warning: fopen(): open_basedir restriction in effect. File(/tmp/phpWCwp5w) is
not within the allowed path(s): (/home3/ejg126) in
/home3/ejg126/public_html/intel/includes/MimeMagic.php on line 345

Warning: fopen(/tmp/phpWCwp5w): failed to open stream: Operation not permitted
in /home3/ejg126/public_html/intel/includes/MimeMagic.php on line 345

The file is corrupt or has an incorrect extension. Please check the file and
upload again.

Please help!!!!


Version: 1.6.x
Severity: normal
OS: Windows XP
Platform: PC

Details

Reference
bz6128

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 9:17 PM
bzimport set Reference to bz6128.
bzimport added a subscriber: Unknown Object (MLST).

You have to disable the open_basedir option in PHP or uploads
won't work. (Notice it's listed as the reason in the error
messages you quoted.)

eli wrote:

Where can i find the option to disable open_basedir?

You have tried looking up the error messages in Google and
other web search engines? Normally you should do this before
reporting a bug, and you certainly should do it before asking
for support in a closed bug report.

eli wrote:

I'm sorry. I use a free hosting site so I am not sure I have access to the file
you speak of.

Then ask for your free hosting support.

eli wrote:

What file am I looking for?

eli wrote:

Well thanks for your help I guess

Gilles raised the priority of this task from High to Unbreak Now!.Dec 4 2014, 10:19 AM
Gilles added a project: Multimedia.
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to High.Dec 4 2014, 11:21 AM