close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

DLP not uploading

Thread began 11/30/2009 11:03 am by randall390915 | Last modified 11/30/2009 2:03 pm by Jason Byrnes | 1301 views | 3 replies |

randall390915

DLP not uploading

I am having trouble with my upload form.

here is the error message I am getting.

Warning: session_start() [function.session-start]: open(/webdocs/lewis/tmp/sess_944e3f2abd7a1fdb00c22a615be7813d, O_RDWR) failed: Permission denied (13) in /webdocs/lewis/public_html/newversion/WA_DigitalFilePro/HelperPHP.php on line 70

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /webdocs/lewis/public_html/newversion/WA_DigitalFilePro/HelperPHP.php:70) in /webdocs/lewis/public_html/newversion/WA_DigitalFilePro/HelperPHP.php on line 70

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /webdocs/lewis/public_html/newversion/WA_DigitalFilePro/HelperPHP.php:70) in /webdocs/lewis/public_html/newversion/WA_DigitalFilePro/HelperPHP.php on line 70

Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(/tmp/phpUBGzFM) is not within the allowed path(s): (/webdocs/lewis) in /webdocs/lewis/public_html/newversion/WA_DigitalFilePro/HelperPHP.php on line 96

Warning: move_uploaded_file(/tmp/phpUBGzFM) [function.move-uploaded-file]: failed to open stream: Operation not permitted in /webdocs/lewis/public_html/newversion/WA_DigitalFilePro/HelperPHP.php on line 96

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpUBGzFM' to '/webdocs/lewis/public_html/newversion/upload/dd2849205b45534234bd7d73c284dc82_tmp.pdf' in /webdocs/lewis/public_html/newversion/WA_DigitalFilePro/HelperPHP.php on line 96

Warning: copy() [function.copy]: Unable to access /webdocs/lewis/public_html/newversion/upload/dd2849205b45534234bd7d73c284dc82_tmp.pdf in /webdocs/lewis/public_html/newversion/WA_DigitalFilePro/HelperPHP.php on line 98

Warning: copy(/webdocs/lewis/public_html/newversion/upload/dd2849205b45534234bd7d73c284dc82_tmp.pdf) [function.copy]: failed to open stream: Permission denied in /webdocs/lewis/public_html/newversion/WA_DigitalFilePro/HelperPHP.php on line 98


please some one help me. I'm lost.

Sign in to reply to this post

Office Guy-172461

The first error - Permission denied - indicates that you have a permissions problem with one of your folders.

See this for the second:

Solving the "headers already sent" problem
148/

Sign in to reply to this post

randall390915

I have changed the permissions of my upload folder to 777 and no change.

Also, on the header problem. I am using a template. Could that be causing the problem?

Here is my current code above the body:

<?php require_once("WA_DigitalFilePro/HelperPHP.php"); ?><?php
error_reporting(E_ALL);
ini_set('display_errors','on');
// WA_UploadResult1 Params Start
$WA_UploadResult1_Params = array();
// WA_UploadResult1_1 Start
$WA_UploadResult1_Params["WA_UploadResult1_1"] = array(
'UploadFolder' => "upload/",
'FileName' => "[FileName]",
'DefaultFileName' => "",
'ResizeType' => "0",
'ResizeWidth' => "0",
'ResizeHeight' => "0",
'ResizeFillColor' => "" );
// WA_UploadResult1_1 End
// WA_UploadResult1 Params End
?><?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult1");
if($_SERVER["REQUEST_METHOD"] == "POST"){
WA_DFP_UploadFiles("WA_UploadResult1", "upload", "0", "", "false", $WA_UploadResult1_Params);
}
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/lewisLabel.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>

<script type="text/javascript" src="JS/fadeslideshow.js"></script>

<script type="text/javascript">

var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [917, 198], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["images/slideshow01.png"],
["images/slideshow02.png"],
["images/slideshow02a.png"],
["images/slideshow03.png"],
["images/slideshow04.png"],
["images/slideshow05.png"],
["images/slideshow06.png"],
["images/slideshow07.png"],
["images/slideshow08.png"],
["images/slideshow08a.png"],
["images/slideshow09.png"],
["images/slideshow10.png"],
["images/slideshow10a.png"]
],
displaymode: {type:'auto', pause:5000, cycles:0, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 1000, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: ""
})

</script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>lewis label products ยท the lewis label team</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
<link href="CSS/lewisLabel.css" rel="stylesheet" type="text/css" />
</head>

Sign in to reply to this post

Jason ByrnesWebAssist

The problem with permissions is occurring on the /webdocs/lewis/tmp/ directory. make sure you have updated the permissions on that directory as well.

Sign in to reply to this post

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