1
I'm in the process of moving to a new server (midPhase) and although the web site seems to be functioning fine, the Administration is throwing up a load of errors as follows.
Quote:
Notice [PHP]: Use of undefined constant _AM_BADMIN - assumed '_AM_BADMIN' in file modules/system/admin/blocksadmin/blocksadmin.php line 48
Notice [PHP]: Use of undefined constant _AM_TOPPAGE - assumed '_AM_TOPPAGE' in file modules/system/admin/blocksadmin/blocksadmin.php line 56
Notice [PHP]: Use of undefined constant _AM_SVISIBLEIN - assumed '_AM_SVISIBLEIN' in file modules/system/admin/blocksadmin/blocksadmin.php line 67
Notice [PHP]: Use of undefined constant _AM_GROUP - assumed '_AM_GROUP' in file modules/system/admin/blocksadmin/blocksadmin.php line 70
Notice [PHP]: Use of undefined constant _AM_UNASSIGNED - assumed '_AM_UNASSIGNED' in file modules/system/admin/blocksadmin/blocksadmin.php line 71
Notice [PHP]: Use of undefined constant _AM_VISIBLE - assumed '_AM_VISIBLE' in file modules/system/admin/blocksadmin/blocksadmin.php line 81
Notice [PHP]: Use of undefined constant _AM_BLKDESC - assumed '_AM_BLKDESC' in file modules/system/admin/blocksadmin/blocksadmin.php line 102
Notice [PHP]: Use of undefined constant _AM_TITLE - assumed '_AM_TITLE' in file modules/system/admin/blocksadmin/blocksadmin.php line 102
Notice [PHP]: Use of undefined constant _AM_MODULE - assumed '_AM_MODULE' in file modules/system/admin/blocksadmin/blocksadmin.php line 102
Notice [PHP]: Use of undefined constant _AM_SIDE - assumed '_AM_SIDE' in file modules/system/admin/blocksadmin/blocksadmin.php line 102
Notice [PHP]: Use of undefined constant _AM_WEIGHT - assumed '_AM_WEIGHT' in file modules/system/admin/blocksadmin/blocksadmin.php line 102
Notice [PHP]: Use of undefined constant _AM_VISIBLE - assumed '_AM_VISIBLE' in file modules/system/admin/blocksadmin/blocksadmin.php line 102
Notice [PHP]: Use of undefined constant _AM_ACTION - assumed '_AM_ACTION' in file modules/system/admin/blocksadmin/blocksadmin.php line 102
Notice [PHP]: Use of undefined constant _AM_ADDBLOCK - assumed '_AM_ADDBLOCK' in file modules/system/admin/blocksadmin/blocksadmin.php line 162
Notice [PHP]: Use of undefined constant _AM_BLKTYPE - assumed '_AM_BLKTYPE' in file modules/system/admin/blocksadmin/blockform.php line 33
Notice [PHP]: Use of undefined constant _AM_SBLEFT - assumed '_AM_SBLEFT' in file modules/system/admin/blocksadmin/blockform.php line 34
Notice [PHP]: Use of undefined constant _AM_SBRIGHT - assumed '_AM_SBRIGHT' in file modules/system/admin/blocksadmin/blockform.php line 34
Notice [PHP]: Use of undefined constant _AM_CBLEFT - assumed '_AM_CBLEFT' in file modules/system/admin/blocksadmin/blockform.php line 34
Notice [PHP]: Use of undefined constant _AM_CBRIGHT - assumed '_AM_CBRIGHT' in file modules/system/admin/blocksadmin/blockform.php line 34
Notice [PHP]: Use of undefined constant _AM_CBCENTER - assumed '_AM_CBCENTER' in file modules/system/admin/blocksadmin/blockform.php line 34
Notice [PHP]: Use of undefined constant _AM_WEIGHT - assumed '_AM_WEIGHT' in file modules/system/admin/blocksadmin/blockform.php line 36
Notice [PHP]: Use of undefined constant _AM_VISIBLE - assumed '_AM_VISIBLE' in file modules/system/admin/blocksadmin/blockform.php line 37
Notice [PHP]: Use of undefined constant _AM_VISIBLEIN - assumed '_AM_VISIBLEIN' in file modules/system/admin/blocksadmin/blockform.php line 38
Notice [PHP]: Use of undefined constant _AM_TOPPAGE - assumed '_AM_TOPPAGE' in file modules/system/admin/blocksadmin/blockform.php line 43
Notice [PHP]: Use of undefined constant _AM_ALLPAGES - assumed '_AM_ALLPAGES' in file modules/system/admin/blocksadmin/blockform.php line 44
Notice [PHP]: Use of undefined constant _AM_TITLE - assumed '_AM_TITLE' in file modules/system/admin/blocksadmin/blockform.php line 48
Notice [PHP]: Use of undefined constant _AM_CONTENT - assumed '_AM_CONTENT' in file modules/system/admin/blocksadmin/blockform.php line 50
Notice [PHP]: Use of undefined constant _AM_USEFULTAGS - assumed '_AM_USEFULTAGS' in file modules/system/admin/blocksadmin/blockform.php line 51
Notice [PHP]: Use of undefined constant _AM_BLOCKTAG1 - assumed '_AM_BLOCKTAG1' in file modules/system/admin/blocksadmin/blockform.php line 51
Notice [PHP]: Use of undefined constant _AM_CTYPE - assumed '_AM_CTYPE' in file modules/system/admin/blocksadmin/blockform.php line 53
Notice [PHP]: Use of undefined constant _AM_HTML - assumed '_AM_HTML' in file modules/system/admin/blocksadmin/blockform.php line 54
Notice [PHP]: Use of undefined constant _AM_PHP - assumed '_AM_PHP' in file modules/system/admin/blocksadmin/blockform.php line 54
Notice [PHP]: Use of undefined constant _AM_AFWSMILE - assumed '_AM_AFWSMILE' in file modules/system/admin/blocksadmin/blockform.php line 54
Notice [PHP]: Use of undefined constant _AM_AFNOSMILE - assumed '_AM_AFNOSMILE' in file modules/system/admin/blocksadmin/blockform.php line 54
Notice [PHP]: Use of undefined constant _AM_BCACHETIME - assumed '_AM_BCACHETIME' in file modules/system/admin/blocksadmin/blockform.php line 73
It's like a language file or something is missing because none of the names of column headers are displaying either e.g. in system -> blocks, the headers are like this:
_AM_BLKDESC _AM_TITLE _AM_MODULE _AM_SIDE Left-Center-Right _AM_WEIGHT _AM_VISIBLE _AM_ACTION
I've updated from 2.1.10 to 2.1.11 to 2.1.12 and 2.1.13
mainfile.php seems OK
language file in root folder is OK
everything in the modules/system/admin/blocksadmin/ directory seems to be accounted for too
The only thing that seems to be lost is ME for ideas as to what could be going wrong here.
I'm bordering on a completely new install and restoring a dump of my database but I'm hoping someone can give me a simpler solution???