Forums

Installing

Tjote 09 May, 2009
When i try to install the Chronoform i only recieve this message:

Fatal error: Maximum execution time of 30 seconds exceeded in C:\wamp\www\joomla15\libraries\joomla\filesystem\file.php on line 297

I have tried clearing cach, changing web browser and downloading the zip file a couple of times...

What is wrong?
Tjote 09 May, 2009
Line 297 in the file looks like this:

$ret = file_put_contents($file, $buffer);

And is in this whole ting:

if ($FTPOptions['enabled'] == 1) {
// Connect the FTP client
jimport('joomla.client.ftp');
$ftp = & JFTP::getInstance($FTPOptions['host'], $FTPOptions['port'], null, $FTPOptions['user'], $FTPOptions['pass']);

// Translate path for the FTP account and use FTP write buffer to file
$file = JPath::clean(str_replace(JPATH_ROOT, $FTPOptions['root'], $file), '/');
$ret = $ftp->write($file, $buffer);
} else {
$file = JPath::clean($file);
$ret = file_put_contents($file, $buffer);
}
return $ret;
This topic is locked and no more replies can be posted.