![]() |
Paypal_Lib + Monthly Subscription - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Paypal_Lib + Monthly Subscription (/showthread.php?tid=32413) Pages:
1
2
|
Paypal_Lib + Monthly Subscription - El Forum - 07-22-2010 [eluser]bondjp[/eluser] [quote author="pickupman" date="1279844968"]1.In order to use output compression you need to change the echos'. Add each line to a string, and pass that off to a view. Code: $data['form'] = '<html>' ."\n"; 2. In order to use the log, enable the option in config/paypallib_config.php. Make sure the file exists and has write permissions (0777). I edited the code and created a paypal_log table. Then I just insert the log details into the table. I can view in my dashboard that way. Lazy opening files I guess.[/quote] Hmmm, just did that but i'm getting this error: A PHP Error was encountered Severity: Notice Message: Undefined property: Paypal_Lib::$load Filename: libraries/Paypal_lib.php Line Number: 185 Fatal error: Call to a member function view() on a non-object in /home/availabl/public_html/app/libraries/Paypal_lib.php on line 185 in this line : Code: $this->load->view('paypal/paypal_form', $data); here's the complete code. Remember i'm using the auto_form: Code: function paypal_auto_form() 2- Changed the attributes and still get an empty file. Just don't know where the error is. The config is set to TRUE. Paypal_Lib + Monthly Subscription - El Forum - 07-22-2010 [eluser]pickupman[/eluser] When appending data to a string you would use .= not = and this error could be fixed with changing $this->load to $CI. I hadn't realized you were using the code from the library. Paypal_Lib + Monthly Subscription - El Forum - 07-22-2010 [eluser]bondjp[/eluser] Thanks a LOT!!! Really appreciate the time you took with me. Thanks. Paypal_Lib + Monthly Subscription - El Forum - 07-22-2010 [eluser]pickupman[/eluser] Glad you got on the right track. |