BlueVoltage
09-19-2002, 08:40 PM
I keep getting these errors:
when loading admin/index.php:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/xelerix/public_html/x/admin/functions.php on line 681
Parse error: parse error, unexpected $ in /home/xelerix/public_html/x/admin/sessions.php on line 442
Lines 667-682 in admin/functions.php:
if (floor($phpversionnum) < 4) {
$searcharray = array(
"/(\[)(list)(=)(['\"]?)([^\"']*)(\\4])(.*)(\[\/list)(((=)(\\4)([^\"']*)(\\4]))|(\]))/siU",
"/(\[)(list)(])(.*)(\[\/list\])/siU",
"/(\[\*\])/siU",
"/(\[)(url)(=)(['\"]?)(www\.)([^\"']*)(\\4)(.*)(\[\/url\])/siU",
"/(\[)(url)(=)(['\"]?)([^\"']*)(\\4])(.*)(\[\/url\])/siU",
"/(\[)(url)(])(www\.)([^\"]*)(\[\/url\])/siU",
"/(\[)(url)(])([^\"]*)(\[\/url\])/siU",
"/(\[)(php)(])(\r\n)*(.*)(\[\/php\])/siU",
"/(\[)(code)(])(\r\n)*(.*)(\[\/code\])/siU",
"/javascript:/si",
"/about:/si",
"/vbscript:/si"
"/(\[sig\=)(.*)(\])/esiU" // addition
);
__________________________________________________ __
When loading /index.php:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/xelerix/public_html/x/admin/functions.php on line 681
Parse error: parse error, unexpected $ in /home/xelerix/public_html/x/admin/sessions.php on line 442
Fatal error: Call to undefined function: cachetemplates() in /home/xelerix/public_html/x/global.php on line 284
I am running 2.2.7 (I know the hack has only been tested on 2.2.5 and 2.2.6)
when loading admin/index.php:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/xelerix/public_html/x/admin/functions.php on line 681
Parse error: parse error, unexpected $ in /home/xelerix/public_html/x/admin/sessions.php on line 442
Lines 667-682 in admin/functions.php:
if (floor($phpversionnum) < 4) {
$searcharray = array(
"/(\[)(list)(=)(['\"]?)([^\"']*)(\\4])(.*)(\[\/list)(((=)(\\4)([^\"']*)(\\4]))|(\]))/siU",
"/(\[)(list)(])(.*)(\[\/list\])/siU",
"/(\[\*\])/siU",
"/(\[)(url)(=)(['\"]?)(www\.)([^\"']*)(\\4)(.*)(\[\/url\])/siU",
"/(\[)(url)(=)(['\"]?)([^\"']*)(\\4])(.*)(\[\/url\])/siU",
"/(\[)(url)(])(www\.)([^\"]*)(\[\/url\])/siU",
"/(\[)(url)(])([^\"]*)(\[\/url\])/siU",
"/(\[)(php)(])(\r\n)*(.*)(\[\/php\])/siU",
"/(\[)(code)(])(\r\n)*(.*)(\[\/code\])/siU",
"/javascript:/si",
"/about:/si",
"/vbscript:/si"
"/(\[sig\=)(.*)(\])/esiU" // addition
);
__________________________________________________ __
When loading /index.php:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/xelerix/public_html/x/admin/functions.php on line 681
Parse error: parse error, unexpected $ in /home/xelerix/public_html/x/admin/sessions.php on line 442
Fatal error: Call to undefined function: cachetemplates() in /home/xelerix/public_html/x/global.php on line 284
I am running 2.2.7 (I know the hack has only been tested on 2.2.5 and 2.2.6)