- 19 Nov 2014, 17:14
#1832
Hi Community, hopefully someone can help me with this one not sure what the problem is !!!!
I have installed
MySQL-server
php5-mysql
php5-gd
apache2
antiword
PdftoText
html2text
unrtf
and installed opencats version opencats-0.9.1a.tar.gz
I have added the username and password the the config.php. also tried a fresh install just in case however i still get the same error every time from the "cats/installwizard.php". image
The error at the top of the page is = 5) { include_once('lib/TemplateUtility.php'); } else { $php4 = true; } ?> and when the restart install button is pressed I get
', "\n"; echo( "\n" . " -1\n" . " No function specified.\n" . "\n" ); die(); } if (strpos($_REQUEST['f'], ':') === false) { $function = ereg_replace("[^A-Za-z0-9]", "", $_REQUEST['f']); $filename = sprintf('ajax/%s.php', $function); } else { /* Split function parameter into module name and function name. */ $parameters = explode(':', $_REQUEST['f']); $module = ereg_replace("[^A-Za-z0-9]", "", $parameters[0]); $function = ereg_replace("[^A-Za-z0-9]", "", $parameters[1]); $filename = sprintf('modules/%s/ajax/%s.php', $module, $function); } if (!is_readable($filename)) { header('Content-type: text/xml'); echo '', "\n"; echo( "\n" . " -1\n" . " Invalid function name.\n" . "\n" ); die(); } $filters = array(); if (!isset($_REQUEST['nobuffer'])) { include_once('./lib/Hooks.php'); ob_start(); include($filename); $output = ob_get_clean(); if (!eval(Hooks::get('AJAX_HOOK'))) return; if (!isset($_REQUEST['nospacefilter'])) { $output = preg_replace('/^\s+/m', '', $output); } foreach ($filters as $filter) { eval($filter); } echo($output); } else { include($filename); } ?>
Any help would be much appreciated !!
I have installed
MySQL-server
php5-mysql
php5-gd
apache2
antiword
PdftoText
html2text
unrtf
and installed opencats version opencats-0.9.1a.tar.gz
I have added the username and password the the config.php. also tried a fresh install just in case however i still get the same error every time from the "cats/installwizard.php". image
The error at the top of the page is = 5) { include_once('lib/TemplateUtility.php'); } else { $php4 = true; } ?> and when the restart install button is pressed I get
', "\n"; echo( "\n" . " -1\n" . " No function specified.\n" . "\n" ); die(); } if (strpos($_REQUEST['f'], ':') === false) { $function = ereg_replace("[^A-Za-z0-9]", "", $_REQUEST['f']); $filename = sprintf('ajax/%s.php', $function); } else { /* Split function parameter into module name and function name. */ $parameters = explode(':', $_REQUEST['f']); $module = ereg_replace("[^A-Za-z0-9]", "", $parameters[0]); $function = ereg_replace("[^A-Za-z0-9]", "", $parameters[1]); $filename = sprintf('modules/%s/ajax/%s.php', $module, $function); } if (!is_readable($filename)) { header('Content-type: text/xml'); echo '', "\n"; echo( "\n" . " -1\n" . " Invalid function name.\n" . "\n" ); die(); } $filters = array(); if (!isset($_REQUEST['nobuffer'])) { include_once('./lib/Hooks.php'); ob_start(); include($filename); $output = ob_get_clean(); if (!eval(Hooks::get('AJAX_HOOK'))) return; if (!isset($_REQUEST['nospacefilter'])) { $output = preg_replace('/^\s+/m', '', $output); } foreach ($filters as $filter) { eval($filter); } echo($output); } else { include($filename); } ?>
Any help would be much appreciated !!
Attachments
2014-11-19 15_45_28-CATS - Installation Wizard Script.png (24.82 KiB) Viewed 4718 times