PHP warning

tempnam() [<a href='function.tempnam'>function.tempnam</a>]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/www/34ab61b960fc324dd606bf69bfc25b8b:/tmp:/opt/php/lib/php)

/home/www/34ab61b960fc324dd606bf69bfc25b8b/web/survey/application/libraries/admin/pear/OLE/PPS/File.php(88)

076         }
077         return false;
078     }
079 
080     /**
081      * Initialization method. Has to be called right after OLE_PPS_File().
082      *
083      * @access public
084      * @return mixed true on success. PEAR_Error on failure
085      */
086     function init()
087     {
088         $this->_tmp_filename = tempnam($this->_tmp_dir, "OLE_PPS_File");
089         $fh = @fopen($this->_tmp_filename, "w+b");
090         if ($fh == false) {
091             return $this->raiseError("Can't create temporary file");
092         }
093         $this->_PPS_FILE = $fh;
094         if ($this->_PPS_FILE) {
095             fseek($this->_PPS_FILE, 0);
096         }
097     }
098 
099     /**
100      * Append data to PPS

Stack Trace

#0
+
 /home/www/34ab61b960fc324dd606bf69bfc25b8b/web/survey/application/libraries/admin/pear/OLE/PPS/File.php(88): tempnam("", "OLE_PPS_File")
83      * @access public
84      * @return mixed true on success. PEAR_Error on failure
85      */
86     function init()
87     {
88         $this->_tmp_filename = tempnam($this->_tmp_dir, "OLE_PPS_File");
89         $fh = @fopen($this->_tmp_filename, "w+b");
90         if ($fh == false) {
91             return $this->raiseError("Can't create temporary file");
92         }
93         $this->_PPS_FILE = $fh;
#1
+
 /home/www/34ab61b960fc324dd606bf69bfc25b8b/web/survey/application/libraries/admin/pear/Spreadsheet/Excel/Writer/Workbook.php(592): OLE_PPS_File->init()
587     {
588         $OLE = new OLE_PPS_File(OLE::Asc2Ucs('Book'));
589         if ($this->_tmp_dir != '') {
590             $OLE->setTempDir($this->_tmp_dir);
591         }
592         $res = $OLE->init();
593         if ($this->isError($res)) {
594             return $this->raiseError("OLE Error: ".$res->getMessage());
595         }
596         $OLE->append($this->_data);
597 
#2
+
 /home/www/34ab61b960fc324dd606bf69bfc25b8b/web/survey/application/libraries/admin/pear/Spreadsheet/Excel/Writer/Workbook.php(557): Spreadsheet_Excel_Writer_Workbook->_storeOLEFile()
552 
553         // End Workbook globals
554         $this->_storeEof();
555 
556         // Store the workbook in an OLE container
557         $res = $this->_storeOLEFile();
558         if ($this->isError($res)) {
559             return $this->raiseError($res->getMessage());
560         }
561         return true;
562     }
2012-07-31 09:39:42 Apache Yii Framework/1.1.10