Thanks for that. I checked out the link and it told me I needed to add this to my code:
require_once 'auth.php';
So I added it as below but got the following errors:
<?php
require_once "/clientdata/clients/d/a/mywebsite.com/www/cms/lib/viewer_functions.php";
list($aboutRecords, $aboutMetaData) = getRecords(array(
'tableName' => 'about',
'where' => whereRecordNumberInUrl(1),
'limit' => '1',
));
$aboutRecord = @$aboutRecords[0]; // get first record
require_once 'auth.php';
?>
ERRORS >
Warning: require_once(auth.php): failed to open stream: No such file or directory in /clientdata/clients/d/a/mywebsite.com/www/about_test.php on line 12 Fatal error: require_once(): Failed opening required 'auth.php' (include_path='/clientdata/clients/d/a/mywebsite.com/www/cms:.:/clientdata/php/php5/lib/php:/clientdata/php/lib') in /clientdata/clients/d/a/mywebsite.com/www/about_test.php on line 12
what have I done wrong? I tried to put the page in the x-cart directory (shop) but it still didn't work