Discussion:
[Citrusdb-users] error posting an invoice
Cornita Tutt-Pinchinat
2010-03-25 18:46:18 UTC
Permalink
Hi,
I get an error message when trying to post invoices for a customer.
The error is below the config file. I am new to PHP and Citrus so
excuse me if this is obvious.


$sys_dbhost = 'localhost';
$sys_dbuser = 'myusername';
$sys_dbpasswd = 'mypassword';
$sys_dbname = 'mydb_citrus';
$sys_dbtype = 'mysql';
$path_to_citrus = '/home/gc2009/public_html/l4adb';
$hidden_hash_var='myIhavechangedthis';
$lang = './include/local/us-english.inc.php';
$gpg_command = "/usr/bin/gpg --homedir /home/www-data/.gnupg --armor
--batch -e -r 'CitrusDB'";
$gpg_decrypt = "/usr/bin/gpg --homedir /home/www-data/.gnupg
--passphrase-fd 0 --yes --no-tty --skip-verify --decrypt";

// use these url prefixes to redirect between the ssl carddata and regular pages
// also maybe can be used with base href to help limit cross site scripting
$url_prefix = "http://greencorn.net/l4adb/";
$ssl_url_prefix = "http://greencorn.net/l4adb/";



ERROR MESSAGE

Warning: fopen() [function.fopen]: open_basedir restriction in effect.
File(/home/pyasi/sites/io/invoice3.pdf) is not within the allowed
path(s): (/home/migrate.a2/web:/home/gc2009:/usr/lib/php:/usr/local/lib/php:/tmp)
in /home/gc2009/public_html/l4adb/include/fpdf.php on line 1046

Warning: fopen(/home/pyasi/sites/io/invoice3.pdf) [function.fopen]:
failed to open stream: Operation not permitted in
/home/gc2009/public_html/l4adb/include/fpdf.php on line 1046
FPDF error: Unable to create output file: /home/pyasi/sites/io/invoice3.pdf
Paul Yasi
2010-03-26 13:39:05 UTC
Permalink
You need to edit citrus to use a new path to save the data to. That
is done by going to Tools and Opening the Settings tool. Here you'll
see a Path to Credit Card File field. You need to change that to your
own file path where the invoice can be stored. It is also where card
data would be exported to if you are exporting card batches.

Paul

On Thu, Mar 25, 2010 at 2:46 PM, Cornita Tutt-Pinchinat
Post by Cornita Tutt-Pinchinat
Hi,
I get an error message when trying to post invoices for a customer.
The error is below the config file. I am new to PHP and Citrus so
excuse me if this is obvious.
$sys_dbhost = 'localhost';
$sys_dbuser = 'myusername';
$sys_dbpasswd = 'mypassword';
$sys_dbname = 'mydb_citrus';
$sys_dbtype = 'mysql';
$path_to_citrus = '/home/gc2009/public_html/l4adb';
$hidden_hash_var='myIhavechangedthis';
$lang = './include/local/us-english.inc.php';
$gpg_command = "/usr/bin/gpg --homedir /home/www-data/.gnupg --armor
--batch -e -r 'CitrusDB'";
$gpg_decrypt = "/usr/bin/gpg --homedir /home/www-data/.gnupg
--passphrase-fd 0 --yes --no-tty --skip-verify --decrypt";
// use these url prefixes to redirect between the ssl carddata and regular pages
// also maybe can be used with base href to help limit cross site scripting
$url_prefix = "http://greencorn.net/l4adb/";
$ssl_url_prefix = "http://greencorn.net/l4adb/";
ERROR MESSAGE
Warning: fopen() [function.fopen]: open_basedir restriction in effect.
File(/home/pyasi/sites/io/invoice3.pdf) is not within the allowed
path(s): (/home/migrate.a2/web:/home/gc2009:/usr/lib/php:/usr/local/lib/php:/tmp)
in /home/gc2009/public_html/l4adb/include/fpdf.php on line 1046
failed to open stream: Operation not permitted in
/home/gc2009/public_html/l4adb/include/fpdf.php on line 1046
FPDF error: Unable to create output file: /home/pyasi/sites/io/invoice3.pdf
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Citrusdb-users mailing list
https://lists.sourceforge.net/lists/listinfo/citrusdb-users
--
The CitrusDB Project | http://www.citrusdb.org
Open Source Customer Care & Billing System
Cornita Tutt-Pinchinat
2010-03-26 15:54:08 UTC
Permalink
Thank you so much!

Cornita
You need to edit citrus to use a new path to save the data to.  That
is done by going to Tools and Opening the Settings tool.  Here you'll
see a Path to Credit Card File field.  You need to change that to your
own file path where the invoice can be stored.  It is also where card
data would be exported to if you are exporting card batches.
Paul
On Thu, Mar 25, 2010 at 2:46 PM, Cornita Tutt-Pinchinat
Post by Cornita Tutt-Pinchinat
Hi,
I get an error message when trying to post invoices for a customer.
The error is below the config file. I am new to PHP and Citrus so
excuse me if this is obvious.
$sys_dbhost = 'localhost';
$sys_dbuser = 'myusername';
$sys_dbpasswd = 'mypassword';
$sys_dbname = 'mydb_citrus';
$sys_dbtype = 'mysql';
$path_to_citrus = '/home/gc2009/public_html/l4adb';
$hidden_hash_var='myIhavechangedthis';
$lang = './include/local/us-english.inc.php';
$gpg_command = "/usr/bin/gpg --homedir /home/www-data/.gnupg --armor
--batch -e -r 'CitrusDB'";
$gpg_decrypt = "/usr/bin/gpg --homedir /home/www-data/.gnupg
--passphrase-fd 0 --yes --no-tty --skip-verify --decrypt";
// use these url prefixes to redirect between the ssl carddata and regular pages
// also maybe can be used with base href to help limit cross site scripting
$url_prefix = "http://greencorn.net/l4adb/";
$ssl_url_prefix = "http://greencorn.net/l4adb/";
ERROR MESSAGE
Warning: fopen() [function.fopen]: open_basedir restriction in effect.
File(/home/pyasi/sites/io/invoice3.pdf) is not within the allowed
path(s): (/home/migrate.a2/web:/home/gc2009:/usr/lib/php:/usr/local/lib/php:/tmp)
in /home/gc2009/public_html/l4adb/include/fpdf.php on line 1046
failed to open stream: Operation not permitted in
/home/gc2009/public_html/l4adb/include/fpdf.php on line 1046
FPDF error: Unable to create output file: /home/pyasi/sites/io/invoice3.pdf
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Citrusdb-users mailing list
https://lists.sourceforge.net/lists/listinfo/citrusdb-users
--
The CitrusDB Project | http://www.citrusdb.org
Open Source Customer Care & Billing System
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Citrusdb-users mailing list
https://lists.sourceforge.net/lists/listinfo/citrusdb-users
Loading...