Error After Upgrade
2 posts by 2 authors in: Forums > CMS Builder
Last Post: December 16, 2014 (RSS)
loadINI: syntax error, unexpected '(' in C:\XXXX\XXXX\data\schema\_accesslist.ini.php on line 1
By Dave - December 16, 2014
Hi efi-revivo,
That's really odd. _accesslist.ini.php should have been replaced when you upgraded. Can you try re-uploading it from the zip?
It should look like this:
;<?php die('This is not a program file.'); exit; ?>
menuName = "Access Levels"
menuType = ""
menuHidden = 1
tableHidden = 1
[userNum]
label = "User Number"
type = "none"
order = 1
customColumnType = "int(10) unsigned NOT NULL"
[tableName]
label = "Table Name"
type = "none"
order = 2
customColumnType = "varchar(255) NOT NULL"
[accessLevel]
label = "Access Level"
type = "none"
order = 3
customColumnType = "TINYINT UNSIGNED NOT NULL"
[maxRecords]
label = "User Number"
type = "none"
order = 4
customColumnType = "int(10) unsigned"
[randomSaveId]
label = ""
type = "none"
order = 5
customColumnType = "varchar(255) NOT NULL"
Or this:
<?php /* This is a PHP data file */ if (!@$LOADSTRUCT) { die("This is not a program file."); }
return array (
'menuName' => 'Access Levels',
'menuType' => '',
'menuHidden' => '1',
'tableHidden' => '1',
'userNum' => array(
'label' => 'User Number',
'type' => 'none',
'order' => '1',
'customColumnType' => 'int(10) unsigned NOT NULL',
),
'tableName' => array(
'label' => 'Table Name',
'type' => 'none',
'order' => '2',
'customColumnType' => 'varchar(255) NOT NULL',
),
'accessLevel' => array(
'label' => 'Access Level',
'type' => 'none',
'order' => '3',
'customColumnType' => 'TINYINT UNSIGNED NOT NULL',
),
'maxRecords' => array(
'label' => 'User Number',
'type' => 'none',
'order' => '4',
'customColumnType' => 'int(10) unsigned',
),
'randomSaveId' => array(
'label' => '',
'type' => 'none',
'order' => '5',
'customColumnType' => 'varchar(255) NOT NULL',
),
);
?>
Let me know if you see anything else weird in the file you have. The end of the file might have got missed while uploading via FTP, or another possibility is that something else (malware) has modified the contents of the file.
Let me know what you find. Thanks!
interactivetools.com