forgot password?


   
2 of 2
2
Client Section: Anyone want a section for clients to view and pay invoices? Here it is! 
Posted: 28 July 2008 01:34 PM   [ Ignore ]   [ # 16 ]  
Newbie
Rank
Total Posts:  30
Joined  2008-03-29

Is anyone using this with 0.8.6?

AMDbuilder

Profile
 
 
Posted: 28 July 2008 03:56 PM   [ Ignore ]   [ # 17 ]  
Newbie
Rank
Total Posts:  4
Joined  2008-07-28

This extensions is just what I’m looking for!  However, when I try to generate a PDF in the client section I get the following errors along with “Unable to stream pdf: headers already sent” error at the end:

A PHP Error was encountered
Severity: Warning

Message: Missing argument 2 for clientsection_model::getSingleInvoice(), called in /home/rsulzer/public_html/ebill/bamboo_system_files/application/controllers/clientsection.php on line 382 and defined

Filename: models/clientsection_model.php

Line Number: 19

A PHP Error was encountered
Severity: Notice

Message: Undefined variable: client_id

Filename: models/clientsection_model.php

Line Number: 33

A PHP Error was encountered
Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/clientsection.php

Line Number: 387

A PHP Error was encountered
Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/clientsection.php

Line Number: 391

A PHP Error was encountered
Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/clientsection.php

Line Number: 394

A PHP Error was encountered
Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/clientsection.php

Line Number: 397

A PHP Error was encountered
Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/clientsection.php

Line Number: 399

Profile
 
 
Posted: 28 July 2008 04:07 PM   [ Ignore ]   [ # 18 ]  
Newbie
Rank
Total Posts:  4
Joined  2008-07-28

ok, I found a DIRTY fix for the problem below:  disable the PHP warnings with error_reporting(0); in the application/contollers/clientsection.php file.  Cheers!

alfaromeo - 28 July 2008 03:56 PM

This extensions is just what I’m looking for!  However, when I try to generate a PDF in the client section I get the following errors along with “Unable to stream pdf: headers already sent” error at the end:

A PHP Error was encountered
Severity: Warning

Message: Missing argument 2 for clientsection_model::getSingleInvoice(), called in /home/rsulzer/public_html/ebill/bamboo_system_files/application/controllers/clientsection.php on line 382 and defined

Filename: models/clientsection_model.php

Line Number: 19

A PHP Error was encountered
Severity: Notice

Message: Undefined variable: client_id

Filename: models/clientsection_model.php

Line Number: 33

A PHP Error was encountered
Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/clientsection.php

Line Number: 387

A PHP Error was encountered
Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/clientsection.php

Line Number: 391

A PHP Error was encountered
Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/clientsection.php

Line Number: 394

A PHP Error was encountered
Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/clientsection.php

Line Number: 397

A PHP Error was encountered
Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/clientsection.php

Line Number: 399

Profile
 
 
Posted: 28 July 2008 04:42 PM   [ Ignore ]   [ # 19 ]  
Newbie
Rank
Total Posts:  4
Joined  2008-07-28

I was getting happy too early, the PDF only works partially - the client’s address is not being displayed, the invoice date is also wrong (Nov 1999) and the total is not being calculated - maybe it’s related to the PHP warnings?

alfaromeo - 28 July 2008 04:07 PM

ok, I found a DIRTY fix for the problem below:  disable the PHP warnings with error_reporting(0); in the application/contollers/clientsection.php file.  Cheers!


alfaromeo - 28 July 2008 03:56 PM
This extensions is just what I’m looking for!  However, when I try to generate a PDF in the client section I get the following errors along with “Unable to stream pdf: headers already sent” error at the end:

A PHP Error was encountered
Severity: Warning

Message: Missing argument 2 for clientsection_model::getSingleInvoice(), called in /home/rsulzer/public_html/ebill/bamboo_system_files/application/controllers/clientsection.php on line 382 and defined

Filename: models/clientsection_model.php

Line Number: 19

A PHP Error was encountered
Severity: Notice

Message: Undefined variable: client_id

Filename: models/clientsection_model.php

Line Number: 33

A PHP Error was encountered
Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/clientsection.php

Line Number: 387

A PHP Error was encountered
Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/clientsection.php

Line Number: 391

A PHP Error was encountered
Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/clientsection.php

Line Number: 394

A PHP Error was encountered
Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/clientsection.php

Line Number: 397

A PHP Error was encountered
Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/clientsection.php

Line Number: 399

Profile
 
 
Posted: 28 July 2008 05:19 PM   [ Ignore ]   [ # 20 ]  
Newbie
Rank
Total Posts:  11
Joined  2008-06-05

I am going to try and look into this and post a fix asap.  Hopefully by the end of the day tomorrow.

Profile
 
 
Posted: 28 July 2008 06:15 PM   [ Ignore ]   [ # 21 ]  
Newbie
Rank
Total Posts:  11
Joined  2008-06-05

All fixed!  You can download the new package in the first post and just replace:

bamboo clientsection mod ALPHA .2.1\bamboo_system_files\application\controllers\clientsection.php

or do the following in the clientsection.php controller:

around line 385:

$data['row'$this->clientsection_model->getSingleInvoice($id)->row();

change to:

$data['row'$this->clientsection_model->getSingleInvoice($id$this->session->userdata('client_id'))->row();

Profile
 
 
Posted: 28 July 2008 06:40 PM   [ Ignore ]   [ # 22 ]  
Newbie
Rank
Total Posts:  4
Joined  2008-07-28

Thank you soooooooooooooooooooo much, you saved my day (or night:-))

hcamelion - 28 July 2008 06:15 PM

All fixed!  You can download the new package in the first post and just replace:

bamboo clientsection mod ALPHA .2.1\bamboo_system_files\application\controllers\clientsection.php

or do the following in the clientsection.php controller:

around line 385:

$data['row'$this->clientsection_model->getSingleInvoice($id)->row();

change to:

$data['row'$this->clientsection_model->getSingleInvoice($id$this->session->userdata('client_id'))->row();

Profile
 
 
Posted: 29 July 2008 03:49 PM   [ Ignore ]   [ # 23 ]  
Newbie
Rank
Total Posts:  30
Joined  2008-03-29

I guess my question slipped under the radar, but have you updated the code for 0.8.6?

I will be happy to test things some if it has been updated.

Thanks
AMDbuilder

Profile
 
 
Posted: 04 August 2008 07:16 PM   [ Ignore ]   [ # 24 ]  
Newbie
Rank
Total Posts:  11
Joined  2008-06-05
AMDbuilder - 29 July 2008 03:49 PM

I guess my question slipped under the radar, but have you updated the code for 0.8.6?

I will be happy to test things some if it has been updated.

Thanks
AMDbuilder

Hey AMDbuilder,

No I have not updated it yet and probably will not until I need to myself.  This update of bamboo does have a few changes that may be incompatible.

Profile
 
 
Posted: 21 August 2008 02:19 AM   [ Ignore ]   [ # 25 ]  
Newbie
Rank
Total Posts:  6
Joined  2008-08-21

Hi, have you upgraded to Version 0.8.6 yet so we can use this?

Thanks Alot!

Profile
 
 
   
2 of 2
2