Hey all,
I'm working on a dutch payment method. After the payment the bank sends back (via POST) the status of the transaction. To update the database, i made a checkout.method_result.php in administrator/components/com_virtuemart/html.
This worked all perfect with Joomla 1.0.15 and Virtuemart 1.0.14. But with Joomla! 1.5.1 - VM 1.1 i get the following errors:
Warning: main() [function.main]: open_basedir restriction in effect. File(/administrator/components/com_virtuemart/classes/ps_order.php) is not within the allowed path(s): (/srv:/tmp/upload:/dev/shm::/var/php4/lib/php) in /srv/domain/www/test.domain.nl/j15/administrator/components/com_virtuemart/html/checkout.method_result.php on line 176
Warning: main(/administrator/components/com_virtuemart/classes/ps_order.php) [function.main]: failed to open stream: Operation not permitted in /srv/domain/www/test.domain.nl/j15/administrator/components/com_virtuemart/html/checkout.method_result.php on line 176
Fatal error: main() [function.require]: Failed opening required '/administrator/components/com_virtuemart/classes/ps_order.php' (include_path='.:/tmp/upload::/var/php4/lib/php') in /srv/domain/www/test.domain.nl/j15/administrator/components/com_virtuemart/html/checkout.method_result.php on line 176
To access the file, fist 2 line of the code are:
define('_VALID_MOS', '1');
define( '_JEXEC', 1 );
Line 176 is:
require_once ( CLASSPATH . 'ps_order.php' );
I'm not able to use this method:
http://test.domein.nl/index.php?option=com_virtuemart&page=checkout.method_result, because than the bank will show a wrapped page with broken links an other errors.
How to solve this?
Thanks for any help.
Cheers,
Robert