Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322450 - screenshot upload triggers "open_basedir restriction in effect"
Summary: screenshot upload triggers "open_basedir restriction in effect"
Status: RESOLVED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Marketplace (show other bugs)
Version: unspecified   Edit
Hardware: Other Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Marketplace Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-11 20:19 EDT by Stephan Herrmann CLA
Modified: 2010-09-18 18:52 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Herrmann CLA 2010-08-11 20:19:01 EDT
When trying to upload a screenshot (png) to the marketplace,
I got this error in a red box:

* warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/tmp/phpgwEkyj) is not within the allowed path(s): (/home/local/data/httpd/wiki.eclipse.org:/home/local/data/httpd/www.eclipse.org:/home/data/httpd/eclipse-php-classes:/home/local/data/httpd/eclipseplugincentral.com/html:/home/local/data/httpd/live.eclipse.org/html:/home/local/data/httpd/localhost/html:/localsite/marketplace.eclipse.org:/localsite/markettmp) in /localsite/marketplace.eclipse.org/includes/image.inc on line 117.

* The selected file OTDT_Overview.png could not be uploaded. The file is not a known image format.

Looks like the wrong tmp-dir is being used (/tmp vs. /localsite/markettmp)?
Comment 1 Stephan Herrmann CLA 2010-09-18 18:52:36 EDT
I just tried the upload again and it worked.
Somebody must have fixed something.

Now I'm eagerly waiting for the screenshot to show up somewhere :)