Skip to content

jasperphp run in terminal but not in browser #62

Closed
@freebornforever

Description

@freebornforever

I've created a test file and try to run but unfortunately it didn't work, here is the error message

Fatal error: Uncaught JasperPHP\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 /var/www/html/vendor/geekcom/phpjasper/src/JasperPHP.php:198 Stack trace: #0 /var/www/html/test.php(14): JasperPHP\JasperPHP->execute() #1 {main} thrown in /var/www/html/vendor/geekcom/phpjasper/src/JasperPHP.php on line 198

When I ran in terminal, it's OK, I've searched Internet and most answer is write permission problem,
so I ran bash script as following

sudo chmod 777 -R /var/www/html

so I'm sure that the folder is writable but wonder why it was unable to run in browser.

Please let me know how to solve.

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions