Po zakupie modułu 'Data Import' i kliknięciu pobierz, wyskakuje następujący alert: "Failure (500)" i komunikaty błedu:
Type: E_COMPILE_ERROR (64)
Message: Cannot redeclare class Libs_PHPExcelInstall
File: /home/challengerocket/domains/crm.challengerocket.com/public_html/modules/PHPExcel/PHPExcelInstall.php
Line=42
error backtrace:
[PHP core called function]
function called: check_for_fatal()
','error_box','p');Epesi.append_js('$(\'debug_content\').style.display=\'block\';alert(\'There was an error in one of epesi modules. Details are displayed at the bottom of the page, please send this information to system administrator.\');');Type: E_COMPILE_ERROR (64)
Message: Cannot redeclare class Libs_PHPExcelInstall
File: /home/challengerocket/domains/crm.challengerocket.com/public_html/modules/PHPExcel/PHPExcelInstall.php
Line=42
error backtrace:
[PHP core called function]
function called: check_for_fatal()
Zawartość pliku PHPExcelInstall.php:
<?php
/**
* Excel import/export library
* @author shacky@poczta.fm
* @copyright Telaxus LLC
* @license MIT
* @version 0.1
* @package epesi-Libs
* @subpackage PHPExcel
*/
defined("_VALID_ACCESS") || die('Direct access forbidden');
class Libs_PHPExcelInstall extends ModuleInstall {
public function install() {
return true;
}
public function uninstall() {
return true;
}
public function version() {
return array("1.7.0");
}
public function requires($v) {
return array();
}
public static function info() {
return array(
'Description'=>'Excel import/export library',
'Author'=>'shacky@poczta.fm',
'License'=>'LGPL');
}
public static function simple_setup() {
return false;
}
}
?>