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 | 12685 views | 75 replies

Paul

Ray,

In order to avoid any decoding errors on my part (taking out the additional code you or I added), I took your advice and pulled the original Products_Insert.php file out of my downloaded purchase, and uploaded it "as is".

I got a blank page when I hit Submit.

So I put the debug code you gave me:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
if($_SERVER["REQUEST_METHOD"] == "POST"){
var_dump( $_FILES);
die();
}
?>

back at the top of the original page I took out of the downloaded purchase, and I'm getting the following errors, again:

array(2) { ["ProductThumb"]=> array(5) { ["name"]=> string(24) "cover_roll_woven2034.jpg" ["type"]=> string(11) "image/pjpeg" ["tmp_name"]=> string(18) "C:\TEMP\php14C.tmp" ["error"]=> int(0) ["size"]=> int(128681) } ["ProductImage"]=> array(5) { ["name"]=> string(24) "cover_roll_woven2034.jpg" ["type"]=> string(11) "image/pjpeg" ["tmp_name"]=> string(18) "C:\TEMP\php14D.tmp" ["error"]=> int(0) ["size"]=> int(128681) } }

Ray, if I add the code that Jason gave me back in the beginning of this incident:

<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>

then I get the following:

Warning: getimagesize() [function.getimagesize]: open_basedir restriction in effect. File(C:\TEMP\php18A.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 87

Warning: getimagesize(C:\TEMP\php18A.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 87

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

I am at a complete loss again.

Thanks

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...