Current time: 11-15-2024, 08:00 PM Hello There, Guest! (LoginRegister)


Post Reply 
[DEV] OmegaBill
Author Message
nuno Offline
Junior Member
*

Posts: 92
Joined: Jun 2008
Reputation: 1
Post: #21
RE: [DEV] Billing and automated invoice sistem
Okay, so far so good, wend you release the rest i will do more tests.
Is promising!

Well Done!
06-04-2009 12:38 PM
Find all posts by this user Quote this message in a reply
oddyutza Offline
Junior Member
*

Posts: 132
Joined: Mar 2007
Reputation: 2
Post: #22
RE: [DEV] Billing and automated invoice sistem
what is the problem with the headers, give me all output pls
06-04-2009 05:57 PM
Find all posts by this user Quote this message in a reply
alecksievici Offline
Junior Member
*
Beta Team

Posts: 112
Joined: May 2008
Reputation: 0
Post: #23
RE: [DEV] Billing and automated invoice sistem
(06-04-2009 05:57 PM)oddyutza Wrote:  what is the problem with the headers, give me all output pls

[Image: ukzp50f5ij7m6g7plr.jpg]

also there is a problem when trying to download an invoice
Code:
Warning: file_put_contents() [function.file-put-contents]: open_basedir restriction in effect. File(/tmp/dompdf_img_0f8hwR) is not within the allowed path(s): (/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/) in /var/www/ispcp/gui/tools/billing/plugins/dompdf/include/image_cache.cls.php on line 117

Warning: file_put_contents(/tmp/dompdf_img_0f8hwR) [function.file-put-contents]: failed to open stream: Operation not permitted in /var/www/ispcp/gui/tools/billing/plugins/dompdf/include/image_cache.cls.php on line 117

Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/tmp/dompdf_img_0f8hwR) is not within the allowed path(s): (/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/) in /var/www/ispcp/gui/tools/billing/plugins/dompdf/include/image_cache.cls.php on line 131

Warning: unlink() [function.unlink]: open_basedir restriction in effect. File(/tmp/dompdf_img_0f8hwR) is not within the allowed path(s): (/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/) in /var/www/ispcp/gui/tools/billing/plugins/dompdf/include/image_cache.cls.php on line 153
Unable to stream pdf: headers already sent
this is related to the first bug, that's why it says "Unable to stream pdf: headers already sent"
(This post was last modified: 06-04-2009 09:42 PM by alecksievici.)
06-04-2009 09:36 PM
Visit this user's website Find all posts by this user Quote this message in a reply
oddyutza Offline
Junior Member
*

Posts: 132
Joined: Mar 2007
Reputation: 2
Post: #24
RE: [DEV] Billing and automated invoice sistem
i believe not : File(/tmp/dompdf_img_0f8hwR) is not within the allowed path(s) change the tmp path or add the /tmp folder to open_basedir (arround line 217 ) in /var/www/fcgi/master/php5/php.ini & restart apache.
the ideea is that the webserver is restricted to read/write in /tmp folder!
06-04-2009 11:05 PM
Find all posts by this user Quote this message in a reply
alecksievici Offline
Junior Member
*
Beta Team

Posts: 112
Joined: May 2008
Reputation: 0
Post: #25
RE: [DEV] Billing and automated invoice sistem
well, that's not good. the billing files should be modified so that they write the tmp files in /var/www/ispcp/gui/phptmp because that path is allowed.
06-04-2009 11:16 PM
Visit this user's website Find all posts by this user Quote this message in a reply
oddyutza Offline
Junior Member
*

Posts: 132
Joined: Mar 2007
Reputation: 2
Post: #26
RE: [DEV] Billing and automated invoice sistem
here is the patch for reports generator
.php  generate_report_code.php (Size: 1.63 KB / Downloads: 24)
just replace the file

here is the file missing from adding a new invoice
.php  new_invoice_code.php (Size: 3.38 KB / Downloads: 21)
and here is the email template for it
.php  paid_invoice_email.php (Size: 510 bytes / Downloads: 11)

the vcf&ics files are here
.php  vcf.php (Size: 624 bytes / Downloads: 20)
.php  ics.php (Size: 487 bytes / Downloads: 19) these files should be located in templates folder with the email template also.

in file dompdf_config.inc.php (plugins/dompdf) change the line 73
Code:
define("DOMPDF_TEMP_DIR", "/var/www/ispcp/gui/tools/test/plugins/dompdf/tmp");
to
Code:
define("DOMPDF_TEMP_DIR", "/var/www/ispcp/gui/phptmp");

stay tunned for updates
06-05-2009 12:18 AM
Find all posts by this user Quote this message in a reply
oddyutza Offline
Junior Member
*

Posts: 132
Joined: Mar 2007
Reputation: 2
Post: #27
RE: [DEV] Billing and automated invoice sistem
sorry for my downtime Big Grin , i was out of city, till this point is everything ok ? any other bugs? and any other features u want to implement!?
06-15-2009 04:25 PM
Find all posts by this user Quote this message in a reply
tango Offline
Member
***

Posts: 461
Joined: Jun 2007
Reputation: 0
Post: #28
RE: [DEV] Billing and automated invoice sistem
are now integrated the patches?
06-16-2009 07:47 PM
Find all posts by this user Quote this message in a reply
oddyutza Offline
Junior Member
*

Posts: 132
Joined: Mar 2007
Reputation: 2
Post: #29
RE: [DEV] Billing and automated invoice sistem
it is not finished , at this point i want to know if there are bugs, to fix them till we ask nice the ispcp team to integrate it. Big Grin
06-16-2009 08:12 PM
Find all posts by this user Quote this message in a reply
mafia Offline
Banned

Posts: 170
Joined: May 2008
Post: #30
RE: [DEV] Billing and automated invoice sistem
bonjour

je voudrais ajoute le dossier Billing dans le panel comment je fait merci

je droit install sur la meme base de donnees ou autres car je vien de install sur autre base de donnee le seul probleme je voir pas Billing dans le panel comme option je suis oblige de fait http://ip:Billing pour le voir

hello

I would add the folder in the Billing panel
how I do thank you

I install right on the same database or other
because I just install on other database only
I see no problem in the Billing panel as option
I am indeed obliged to view http://ip:Billing
06-17-2009 11:50 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 17 Guest(s)