Skip to content

Fatal error: Uncaught PHPJasper\Exception\ErrorCommandExecutable: #169

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
said-omar opened this issue Sep 18, 2019 · 9 comments
Closed

Fatal error: Uncaught PHPJasper\Exception\ErrorCommandExecutable: #169

said-omar opened this issue Sep 18, 2019 · 9 comments

Comments

@said-omar
Copy link

That such friend could help me with this error by wanting to generate the pdf, the error I get is this:
Fatal error: Uncaught PHPJasper\Exception\ErrorCommandExecutable: Your report has an error and couldn 't be processed!\ Try to output the command using the function output(); and run it manually in the console. in C:\xampp\htdocs\JasperPHP\vendor\geekcom\phpjasper\src\PHPJasper.php:219 Stack trace: #0 C:\xampp\htdocs\JasperPHP\prueba.php(28): PHPJasper\PHPJasper->execute() #1 {main} thrown in C:\xampp\htdocs\JasperPHP\vendor\geekcom\phpjasper\src\PHPJasper.php on line 219

@ashrulkhair
Copy link

guys please help us, i also face this error...

@geekcom
Copy link
Member

geekcom commented Sep 25, 2019

Hi @said-omar, please use the method output() instead of execute() to see the command generated, and execute the command generated direct in the path /bin/jasperstarter/bin, to see possible errors.
Note: from 3.0.1 version the output() method it's self sufficient(don't need a PHP print method to work)

@ashrulkhair
Copy link

ashrulkhair commented Sep 26, 2019 via email

@geekcom
Copy link
Member

geekcom commented Sep 26, 2019

I don't know phpjasperxml library, sorry.

@ashrulkhair
Copy link

ashrulkhair commented Sep 27, 2019 via email

@geekcom
Copy link
Member

geekcom commented Sep 27, 2019

@geekcom geekcom closed this as completed Oct 3, 2019
@djamara
Copy link

djamara commented Oct 2, 2020

Hi, please help me. When I put database param in options array, I got error the same error. Don't understand because database credentials are good. Please help me. this my db_connection array
'db_connection' => [
'driver' => 'mysql', //mysql, postgres, oracle, generic (jdbc)
'username' => 'root',
'password' => '',
'host' => 'localhost:3306',
'database' => 'croixrouge2020',
'port' => '3306'
]

@djamara
Copy link

djamara commented Oct 2, 2020

@geekcom please help me bro

@djamara
Copy link

djamara commented Oct 2, 2020

And I would like to known how to add jdbc_dir in database

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants