Ticket #966 (closed support request: worksforme)

Opened 19 months ago

Last modified 13 months ago

Get error on install

Reported by: jvvpc3135@… Owned by: omry
Priority: Normal Milestone:
Component: FireStats Version: 1.6
Severity: Normal Keywords:
Cc:

Description

Im totally new to firestats and are trying to install it on a local wamp server but when i press install/upgrade in the installer I just get this error:

error evaluating response : Response text:
file_put_contents: Cannot create file $file
"; return false; } } class dUnzip2{ Function getVersion(){ return "2.6"; } // Public var $fileName; var $compressedList; // You will problably use only this one! var $centralDirList; // Central dir list... It's a kind of 'extra attributes' for a set of files var $endOfCentral; // End of central dir, contains ZIP Comments var $debug; // Private var $fh; var $zipSignature = "\x50\x4b\x03\x04"; // local file header signature var $dirSignature = "\x50\x4b\x01\x02"; // central dir header signature var $dirSignatureE= "\x50\x4b\x05\x06"; // end of central dir signature // Public Function dUnzip2($fileName){ $this->fileName = $fileName; $this->compressedList = $this->centralDirList = $this->endOfCentral = Array(); } Function getList($stopOnFile=false){ if(sizeof($this->compressedList)){ $this->debugMsg(1, "Returning already loaded file list."); return $this->compressedList; } // Open file, and set file handler $fh = @fopen($this->fileName, "r"); $this->fh = &$fh; if(!$fh){ $this->debugMsg(2, sprintf("Failed to open file %s"), $this->fileName); return false; } $this->debugMsg(1, "Loading list from 'End of Central Dir' index list..."); if(!$this->_loadFileListByEOF($fh, $stopOnFile)){ $this->debugMsg(1, "Failed! Trying to load list looking for signatures..."); if(!$this->_loadFileListBySignatures($fh, $stopOnFile)){ $this->debugMsg(1, "Failed! Could not find any valid header."); $this->debugMsg(2, "ZIP File is corrupted or empty"); return false; } } if($this->debug){ #------- Debug compressedList $kkk = 0; echo "
"; foreach($this->compressedList as $fileName=>$item){ if(!$kkk && $kkk=1){ echo ""; foreach($item as $fieldName=>$value) echo "$fieldName"; echo '
'; } echo ""; foreach($item as $fieldName=>$value){ if($fieldName == 'lastmod_datetime') echo "".date("d/m/Y H:i:s", $value).""; else echo "	$value"; } echo "
"; } echo "
"; #------- Debug centralDirList $kkk = 0; if(sizeof($this->centralDirList)){ echo "
"; foreach($this->centralDirList as $fileName=>$item){ if(!$kkk && $kkk=1){ echo ""; foreach($item as $fieldName=>$value) echo "$fieldName"; echo '
'; } echo ""; foreach($item as $fieldName=>$value){ if($fieldName == 'lastmod_datetime') echo "".date("d/m/Y H:i:s", $value).""; else echo "	$value"; } echo "
"; } echo "
"; } #------- Debug endOfCentral $kkk = 0; if(sizeof($this->endOfCentral)){ echo "
"; echo "dUnzip - End of file
"; foreach($this->endOfCentral as $field=>$value){ echo "

Attachments

Change History

Changed 19 months ago by omry

  • type changed from bug to support request

that is a strange error, it may be that your php is missing zip support.

you can just install FireStats manually, it's not that complicated.

Changed 19 months ago by jvvpc3135@…

That's weird because I'm running multiple Joomla installations and they got no problems but it's working now with the manually install

Changed 19 months ago by omry

well, the error is not very helpful. see if you can figure out anything from the server error log.

Changed 13 months ago by omry

  • status changed from new to closed
  • resolution set to worksforme

Add/Change #966 (Get error on install)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.