
05-18-2004, 05:21 PM
|
 |
|
|
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Intex
I've run the install file 'ushop_install.php' and eveything installed ok. I then completed all the file edits as instructed. However when I came to do the template updates, as soon as I went into AdminCP (or anywhere else on the site), I now get an error:
Code:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in C:\Apache2\htdocs\forum\includes\init.php on line 508
Here is the PHP code (I've highlighted line 508 in the code *** below ***)
PHP Code:
// add default special templates $specialtemplates = array_merge(array( 'options', 'cron', 'forumcache', 'usergroupcache', 'stylecache', 'arcadesettings' ), $specialtemplates); *** THIS IS LINE 508 *** $datastoretemp = $DB_site->query(" SELECT title, data FROM " . TABLE_PREFIX . "datastore WHERE title IN ('" . implode("', '", $specialtemplates) . "') "); unset($specials, $specialtemplates);
I've only got a few hacks installed (vbadvanced, v3 arcade and htl (which I didn't use to install this hack btw).
Any ideas?
|
do this
PHP Code:
// add default special templates $specialtemplates = array_merge(array( 'options', 'cron', 'forumcache', 'usergroupcache', 'stylecache', 'arcadesettings', ), $specialtemplates); // *** THIS IS LINE 508 *** $datastoretemp = $DB_site->query(" SELECT title, data FROM " . TABLE_PREFIX . "datastore WHERE title IN ('" . implode("', '", $specialtemplates) . "') "); unset($specials, $specialtemplates);
and tell me if it fixes the problem
|