Discussion:
[Citrusdb-users] Error on statusupdate
William Farrugia
2010-03-16 15:16:17 UTC
Permalink
Dear all,

I recently installed citrusdb on a subdomain. Everything works fine except
that I can't manage to run statusupdate. I'm saying run because I was trying
to run it before setting a cron on it.

on typing

*/usr/bin/php5 statusupdate*
*
*
i get

PHP Notice: Undefined variable: payment_due_date in /srv/www/vhosts/
mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php on
line 316
PHP Notice: Undefined variable: total_owed in /srv/www/vhosts/
mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php on
line 316
PHP Notice: Undefined variable: turnoff_date in /srv/www/vhosts/
mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php on
line 318
PHP Notice: Undefined variable: cancel_date in /srv/www/vhosts/
mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php on
line 320
PHP Notice: Undefined variable: cancel_date in /srv/www/vhosts/
mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php on
line 322
PHP Notice: Undefined variable: cancel_date in /srv/www/vhosts/
mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php on
line 324
PHP Notice: Undefined variable: cancel_date in /srv/www/vhosts/
mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php on
line 324
PHP Notice: Undefined variable: phone_billing in /srv/www/vhosts/
mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php on
line 326
PHP Notice: Undefined variable: phone_billing in /srv/www/vhosts/
mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php on
line 328
PHP Notice: Undefined variable: payment_due_date in /srv/www/vhosts/
mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php on
line 316
PHP Notice: Undefined variable: total_owed in /srv/www/vhosts/
mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php on
line 316
PHP Notice: Undefined variable: turnoff_date in /srv/www/vhosts/
mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php on
line 318
PHP Notice: Undefined variable: cancel_date in /srv/www/vhosts/
mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php on
line 320
PHP Notice: Undefined variable: cancel_date in /srv/www/vhosts/
mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php on
line 322
PHP Notice: Undefined variable: cancel_date in /srv/www/vhosts/
mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php on
line 324
PHP Notice: Undefined variable: cancel_date in /srv/www/vhosts/
mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php on
line 324
PHP Notice: Undefined variable: phone_billing in /srv/www/vhosts/
mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php on
line 326
PHP Notice: Undefined variable: phone_billing in /srv/www/vhosts/
mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php on
line 328
PHP Warning: fopen(): SAFE MODE Restriction in effect. The script whose
uid is 10163 is not allowed to access /home owned by uid 0 in
/srv/www/vhosts/mydomain.com/subdomains/billing/httpdocs/statusupdate on
line 46
PHP Warning: fopen(/home/pyasi/citrus_project/io/accounts2010-03-16.csv):
failed to open stream: No such file or directory in /srv/www/vhosts/
mydomain.com/subdomains/billing/httpdocs/statusupdate on line 46 cannot open
/home/pyasi/citrus_project/io/accounts2010-03-16.csv

Any hints?

Thanks,

William.
Paul Yasi
2010-03-16 18:19:43 UTC
Permalink
Those notices are not going to cause it to not function, they just
reflect your error level in PHP showing you everything. The thing
that will cause it not to function is the PHP Warnings
at the bottom. CitrusDB is trying to save the accounts files that
statusupdate creates. It puts it in to the same folder as the card
data it creates.

It looks like it is trying to open a file in /home/pyasi that is
probably not on your machine. To change that go to the Tools and open
the Settings icon. Here you will be able to modify the Path to Credit
Card File variable to your own file system path.

Paul

PHP Warning: fopen(): SAFE MODE Restriction in effect. The script
whose uid is 10163 is not allowed to access /home owned by uid 0 in
/srv/www/vhosts/mydomain.com/subdomains/billing/httpdocs/statusupdate
on line 46
PHP Warning: fopen(/home/pyasi/citrus_project/io/accounts2010-03-16.csv):
failed to open stream: No such file or directory in
/srv/www/vhosts/mydomain.com/subdomains/billing/httpdocs/statusupdate
on line 46 cannot open
/home/pyasi/citrus_project/io/accounts2010-03-16.csv
Post by William Farrugia
Dear all,
I recently installed citrusdb on a subdomain. Everything works fine except
that I can't manage to run statusupdate. I'm saying run because I was trying
to run it before setting a cron on it.
on typing
/usr/bin/php5 statusupdate
i get
PHP Notice:  Undefined variable: payment_due_date in
/srv/www/vhosts/mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php
on line 316
PHP Notice:  Undefined variable: total_owed in
/srv/www/vhosts/mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php
on line 316
PHP Notice:  Undefined variable: turnoff_date in
/srv/www/vhosts/mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php
on line 318
PHP Notice:  Undefined variable: cancel_date in
/srv/www/vhosts/mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php
on line 320
PHP Notice:  Undefined variable: cancel_date in
/srv/www/vhosts/mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php
on line 322
PHP Notice:  Undefined variable: cancel_date in
/srv/www/vhosts/mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php
on line 324
PHP Notice:  Undefined variable: cancel_date in
/srv/www/vhosts/mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php
on line 324
PHP Notice:  Undefined variable: phone_billing in
/srv/www/vhosts/mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php
on line 326
PHP Notice:  Undefined variable: phone_billing in
/srv/www/vhosts/mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php
on line 328
PHP Notice:  Undefined variable: payment_due_date in
/srv/www/vhosts/mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php
on line 316
PHP Notice:  Undefined variable: total_owed in
/srv/www/vhosts/mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php
on line 316
PHP Notice:  Undefined variable: turnoff_date in
/srv/www/vhosts/mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php
on line 318
PHP Notice:  Undefined variable: cancel_date in
/srv/www/vhosts/mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php
on line 320
PHP Notice:  Undefined variable: cancel_date in
/srv/www/vhosts/mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php
on line 322
PHP Notice:  Undefined variable: cancel_date in
/srv/www/vhosts/mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php
on line 324
PHP Notice:  Undefined variable: cancel_date in
/srv/www/vhosts/mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php
on line 324
PHP Notice:  Undefined variable: phone_billing in
/srv/www/vhosts/mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php
on line 326
PHP Notice:  Undefined variable: phone_billing in
/srv/www/vhosts/mydomain.com/subdomains/billing/httpdocs/include/local/us-english.inc.php
on line 328
PHP Warning:  fopen(): SAFE MODE Restriction in effect.  The script whose
uid is 10163 is not allowed to access /home owned by uid 0 in
/srv/www/vhosts/mydomain.com/subdomains/billing/httpdocs/statusupdate on
line 46
failed to open stream: No such file or directory in
/srv/www/vhosts/mydomain.com/subdomains/billing/httpdocs/statusupdate on
line 46 cannot open /home/pyasi/citrus_project/io/accounts2010-03-16.csv
Any hints?
Thanks,
William.
------------------------------------------------------------------------------
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
Loading...