View Single Post
Old 04-22-2009, 02:50 AM
AgentBristow AgentBristow is offline

Advanced Member
Join Date: Jun 2007
Posts: 36

Default Re: Adding my own custom PHP pages?

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:

require_once "/clientdata/clients/d/a/";

list($aboutRecords, $aboutMetaData) = getRecords(array(
'tableName' => 'about',
'where' => whereRecordNumberInUrl(1),
'limit' => '1',
$aboutRecord = @$aboutRecords[0]; // get first record

require_once 'auth.php';


Warning: require_once(auth.php): failed to open stream: No such file or directory in /clientdata/clients/d/a/ on line 12 Fatal error: require_once(): Failed opening required 'auth.php' (include_path='/clientdata/clients/d/a/') in /clientdata/clients/d/a/ 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
Xcart Version 4.1.9 [win]
Reply With Quote