Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 322450

Summary: screenshot upload triggers "open_basedir restriction in effect"
Product: Community Reporter: Stephan Herrmann <stephan.herrmann>
Component: MarketplaceAssignee: Marketplace Inbox <marketplace-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Whiteboard:

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 :)