Hi, PHp shop for Mambo is working fine except wenn I orden and I see thanks for your Order (something like that I translate from German) I get:
Warning: open_basedir restriction in effect. File is in wrong directory in /home/www/web5/html/administrator/components/com_phpshop/html/checkout.thankyou.php on line 73
Warning: fopen(\"/home/www/web5/phptmp/tmpFsAq3V\", \"w\") - Operation not permitted in /home/www/web5/html/administrator/components/com_phpshop/html/checkout.thankyou.php on line 73
Warning: fwrite(): supplied argument is not a valid File-Handle resource in /home/www/web5/html/administrator/components/com_phpshop/html/checkout.thankyou.php on line 74
Warning: fclose(): supplied argument is not a valid File-Handle resource in /home/www/web5/html/administrator/components/com_phpshop/html/checkout.thankyou.php on line 75
Warning: open_basedir restriction in effect. File is in wrong directory in /home/www/web5/html/administrator/components/com_phpshop/html/checkout.thankyou.php on line 77
Warning: Failed opening '/home/www/web5/phptmp/tmpFsAq3V' for inclusion (include_path='.:/usr/local/lib/php') in /home/www/web5/html/administrator/components/com_phpshop/html/checkout.thankyou.php on line 77
Warning: open_basedir restriction in effect. File is in wrong directory in /home/www/web5/html/administrator/components/com_phpshop/html/checkout.thankyou.php on line 78
When I use the link to show my order I become:
Warning: open_basedir restriction in effect. File is in wrong directory in /home/www/web5/html/administrator/components/com_phpshop/html/account.order_details.php on line 506
Warning: fopen(\"/home/www/web5/phptmp/tmphT4c0S\", \"w\") - Operation not permitted in /home/www/web5/html/administrator/components/com_phpshop/html/account.order_details.php on line 506
Warning: fwrite(): supplied argument is not a valid File-Handle resource in /home/www/web5/html/administrator/components/com_phpshop/html/account.order_details.php on line 507
Warning: fclose(): supplied argument is not a valid File-Handle resource in /home/www/web5/html/administrator/components/com_phpshop/html/account.order_details.php on line 508
Warning: open_basedir restriction in effect. File is in wrong directory in /home/www/web5/html/administrator/components/com_phpshop/html/account.order_details.php on line 510
Warning: Failed opening '/home/www/web5/phptmp/tmphT4c0S' for inclusion (include_path='.:/usr/local/lib/php') in /home/www/web5/html/administrator/components/com_phpshop/html/account.order_details.php on line 510
Warning: open_basedir restriction in effect. File is in wrong directory in /home/www/web5/html/administrator/components/com_phpshop/html/account.order_details.php on line 511
Can somebody help me??
regards
Simon
Damn open_basedir restriction. It's senseless when it doesn't include the upload_tmp_dir.
Anyway...
Open /html/checkout.thankyou.php
Change
$tmpfname = tempnam (ini_get('upload_tmp_dir'), \"tmp\"«»);
To
$tmpfname = tempnam ( IMAGEPATH, \"tmp\"«»);
ciao, soeren
thanks i changed it in thankyou.php and in account.order_details.php
it works
Simon