Cornita Tutt-Pinchinat
2010-03-25 18:46:18 UTC
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
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