-
Notifications
You must be signed in to change notification settings - Fork 17
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
Error Connecting to database #8
Comments
Good afternoon, I have the same or similar mistake |
with this code the error does not come out anymore, but the fields in the report come out as NULL |
Please check the parameters of your DB |
You missing , (comma) after username root. in connection array. |
I am trying to connect to database but get an error like this
`C:\wamp64\www\smb-report\vendor\geekcom\phpjasper-laravel\src\PHPJasper.php
/**
* @param bool $user
* @return mixed
* @throws Exception\InvalidCommandExecutable
* @throws Exception\InvalidResourceDirectory
* @throws Exception\ErrorCommandExecutable
*/
public function execute($user = false)
{
$this->validateExecute();
$this->addUserToCommand($user);
Arguments
"usage: jasperstarter process [-h] -f [ ...] [-o ] [-w]"`
and here is my config
` public function generate()
{
//$input = DIR . '/vendor/geekcom/phpjasper/examples/hello_world.jasper';
$input = base_path('/vendor/geekcom/phpjasper-laravel/examples/Database.jasper');
$output = base_path('/vendor/geekcom/phpjasper-laravel/examples');
could you please help to tell what's went wrong?
The text was updated successfully, but these errors were encountered: