Hi,
Using a Joomla module that is for making purchases online. It has a callback page for WorldPay to send back saying that it has accepted the payment.
The problem I'm having is that the code starts with the usual:
define('_VALID_MOS', 1);
Then it imports the database.php file:
require_once($mambo_path.'includes/database.php');
But this line returns 'Restricted access' on the page. I looked in the database.php file and it checks the _VALID_MOS:
defined( '_VALID_MOS' ) or die( 'Restricted access' );
So I'm thinking that its not setting or picking up the _VALID_MOS properly.
Can someone help me?
Thanks
Using a Joomla module that is for making purchases online. It has a callback page for WorldPay to send back saying that it has accepted the payment.
The problem I'm having is that the code starts with the usual:
define('_VALID_MOS', 1);
Then it imports the database.php file:
require_once($mambo_path.'includes/database.php');
But this line returns 'Restricted access' on the page. I looked in the database.php file and it checks the _VALID_MOS:
defined( '_VALID_MOS' ) or die( 'Restricted access' );
So I'm thinking that its not setting or picking up the _VALID_MOS properly.
Can someone help me?
Thanks