Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.

A weird FPDF error

Locked
jlcsusara
Posts: 23
Joined: Wed Apr 07, 2010 10:32 am

A weird FPDF error

Unread post 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?
admin
Site Admin
Posts: 2825
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 29 times

Re: A weird FPDF error

Unread post by admin »

jlcsusara,

You probably have something breaking in your PHP Procedure.

Steven
jlcsusara
Posts: 23
Joined: Wed Apr 07, 2010 10:32 am

Re: A weird FPDF error

Unread post 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. :(
admin
Site Admin
Posts: 2825
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 29 times

Re: A weird FPDF error

Unread post by admin »

:)
Locked