View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

php.ini permissions

Thread began 5/27/2009 3:19 pm by paul.urgero235355 | Last modified 1/28/2010 4:51 pm by paul.urgero235355 | 12678 views | 75 replies

Paul

Ray,

This is a shared server...
The page DOES have a default directory for the image uploads..here it is:

<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult1");
if($_SERVER["REQUEST_METHOD"] == "POST"){
WA_DFP_UploadFile("WA_UploadResult1", "ProductImage", "", "../Images/Upload/", "[FileName]", "2", "[FileName]_[Increment]", "1024", "true", "400", "400");
}
?>

I tried removing it...putting a forced size for the resizing...now I'm getting:

Warning: getimagesize() [function.getimagesize]: open_basedir restriction in effect. File(C:\TEMP\php4A3.tmp) is not within the allowed path(s): (c:\inetpub\wwwroot\HCRESELLER\acalamed\acalamedical.com) in C:\Inetpub\wwwroot\HCRESELLER\acalamed\acalamedical.com\www\WA_DigitalFilePro\HelperPHP.php on line 90

Warning: getimagesize(C:\TEMP\php4A3.tmp) [function.getimagesize]: failed to open stream: Operation not permitted in C:\Inetpub\wwwroot\HCRESELLER\acalamed\acalamedical.com\www\WA_DigitalFilePro\HelperPHP.php on line 90

Fatal error: Call to undefined function WA_DFP_Resize() in C:\Inetpub\wwwroot\HCRESELLER\acalamed\acalamedical.com\www\DB_Admin\Products_Insert.php on line 76

Here is line 90 of the helperphp.php file: $imageSize = getimagesize($uploadedFile["tmp_name"]);

Here is line 76 of the Products_Insert file: WA_DFP_Resize($WA_DFP_UploadStatus["WA_UploadResult1"],400,400);


Any thoughts?

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...