Page 1 of 1

A weird FPDF error

Posted: Wed Mar 18, 2015 8:30 am
by jlcsusara
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?

Re: A weird FPDF error

Posted: Sun Mar 22, 2015 11:19 pm
by admin
jlcsusara,

You probably have something breaking in your PHP Procedure.

Steven

Re: A weird FPDF error

Posted: Tue Mar 24, 2015 4:30 am
by jlcsusara
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: http://forums.nubuilder.cloud/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. :(

Re: A weird FPDF error

Posted: Mon Aug 10, 2015 8:49 am
by admin
:)