Log Entry 2:paypal openssl: did not find a writable temporary directory (). Please make sure that your cachepath global CMS setting is a writable directory.
Log Entry 3:WARNING: is_writable() [<a href='function.is-writable'>function.is-writable</a>]: open_basedir restriction in effect. File(/root) is not within the allowed path(s):
(VIRTUAL_DOCUMENT_ROOT:/hosthome/chroot_bind/php/php5/usr/local/lib/php/) in /MY-
PATH/public/www/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/processors/pay
pal/cbpaidsubscriptions.paypal.php on line 276
Log Entry 4:WARNING: tempnam() [<a href='function.tempnam'>function.tempnam</a>]: open_basedir restriction in effect. File() is not within the allowed path(s):
(VIRTUAL_DOCUMENT_ROOT:/hosthome/chroot_bind/php/php5/usr/local/lib/php/) in /MY-
PATH/public/www/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/processors/paypal/cbpaidsubscriptions.paypal.php on line 284
Log Entry 5:WARNING: tempnam() [<a href='function.tempnam'>function.tempnam</a>]: open_basedir restriction in effect. File() is not within the allowed path(s): (VIRTUAL_DOCUMENT_ROOT:/hosthome/chroot_bind/php/php5/usr/local/lib/php/) in /MY-PATH/public/www/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/processors/paypal/cbpaidsubscriptions.paypal.php on line 285
Log Entry 6:WARNING: tempnam() [<a href='function.tempnam'>function.tempnam</a>]: open_basedir restriction in effect. File() is not within the allowed path(s):
(VIRTUAL_DOCUMENT_ROOT:/hosthome/chroot_bind/php/php5/usr/local/lib/php/) in /MY-PATH/public/www/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/processors/paypal/cbpaidsubscriptions.paypal.php on line 286
Log Entry 7:WARNING: fopen() [<a href='function.fopen'>function.fopen</a>]: Filename cannot be empty in /MY-PATH/public/www/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/processors/paypal/cbpaidsubscriptions.paypal.php on line 295
Log Entry 8:paypal openssl open : returns an error creating it.
Also, the following is displayed on front-end, followed by the invoice details:USER WARNING: openssl encryption failed. in /MY-PATH/public/www/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/processors/paypal/cbpaidsubscriptions.paypal.php on line 432
did not find a writable temporary directory (). Please make sure that your cachepath global CMS setting is a writable directory.
returns an error creating it.
Your registration data has now been saved, but your subscription isn't active yet. You need now to pay the subscription:
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
au.php.net/manual/en/function.tempnam.php
User Contributed note by 'koyama' on 31-Aug-2009 12:39
Watch out using a blank $dir as a "trick" to create temporary files in the system temporary directory.
<?php
$tmpfname = tempnam('', 'FOO'); // not good
?>
If an open_basedir restriction is in effect, the trick will not work. You will get a warning message like
Warning: tempnam() [function.tempnam]: open_basedir restriction in effect.
File() is not within the allowed path(s): (/var/www/vhosts/example.com/httpdocs:/tmp)
What works is this:
<?php
$tmpfname = tempnam(sys_get_temp_dir(), 'FOO'); // good
?>
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.