A weird FPDF error

A weird FPDF error

Postby jlcsusara » Wed Mar 18, 2015 5:00 pm

hello, guys!

in my loans form, i created an extra action button:
Title: Print Statement
Display Condition: <none>
Javascript to Run: nuPrintPDF('042-SOA')

when i click it, i get this message: "FPDF error: Incorrect orientation: "

YET when i run it via the Run Report button on the Index screen, it works - no errors at all.

i've checked the php code, fiddled with the report builder - no progress.

what could be the problem?
jlcsusara
 
Posts: 23
Joined: Wed Apr 07, 2010 6:02 pm

Re: A weird FPDF error

Postby admin » Mon Mar 23, 2015 7:49 am

jlcsusara,

You probably have something breaking in your PHP Procedure.

Steven
admin
Site Admin
 
Posts: 3162
Joined: Mon Jun 15, 2009 9:53 am

Re: A weird FPDF error

Postby jlcsusara » Tue Mar 24, 2015 1:00 pm

Hello, Steven!

You're probably right. Either some code got corrupted or, more likely, my undisciplined tinkering broke something.

I did a clean install and upgrade, as stated here: viewtopic.php?f=17&t=8449 , and everything works flawlessly!

the most important step there is:
Then go to your web browser and go to http://{yourwebserver}/nubuilder/nuinstall.php
Run the nuinstall.php file, it will require your globeadmin passsword.

The nuinstall.php script will make sure that your nubuilder database has all of the correct schema information.

If it is a blank database it will create the correct information otherwise it will just update the database.


nuBuilder is divine, and I am only human. :(
jlcsusara
 
Posts: 23
Joined: Wed Apr 07, 2010 6:02 pm

Re: A weird FPDF error

Postby admin » Mon Aug 10, 2015 4:19 pm

:)
admin
Site Admin
 
Posts: 3162
Joined: Mon Jun 15, 2009 9:53 am


Return to Report Writer



cron