LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-20-2015, 04:29 PM   #1
TheB2B
Member
 
Registered: Feb 2007
Posts: 75

Rep: Reputation: 16
Reportula


Is there anybody here know much about a program called Reportula? Getting an error but not able to figure out what is causing it.

Below is the error message that is occurring in the program and message being sent to var/root/mail.

ErrorException (E_UNKNOWN)

Argument 1 passed to Illuminate\Database\Grammar:: parameterize() must be of the type array, null given, called in /var/www/reportula/vendor/laravel/framework/src/Illuminate/Database/Query/Grammars/Grammar.php on line 309 and defined

Below is line 309 from Grammar.php
$values = $this->parameterize($where['values']);

From var/root/mail
[Illuminate\Database\QueryException]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'bacula.file' doesn't
exist (SQL: select count(*) AS filesNumber from `file`)

[PDOException]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'bacula.file' doesn't
exist

Now table file does exist, verified it but it is named File, not file.
Is the fact the table uses an upper case F critical?
 
Old 05-21-2015, 09:12 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,322

Rep: Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089
Quote:
Originally Posted by TheB2B View Post
Is there anybody here know much about a program called Reportula? Getting an error but not able to figure out what is causing it.
Below is the error message that is occurring in the program and message being sent to var/root/mail.

ErrorException (E_UNKNOWN)

Argument 1 passed to Illuminate\Database\Grammar:: parameterize() must be of the type array, null given, called in /var/www/reportula/vendor/laravel/framework/src/Illuminate/Database/Query/Grammars/Grammar.php on line 309 and defined

Below is line 309 from Grammar.php
$values = $this->parameterize($where['values']);

From var/root/mail
[Illuminate\Database\QueryException]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'bacula.file' doesn't
exist (SQL: select count(*) AS filesNumber from `file`)

[PDOException]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'bacula.file' doesn't
exist

Now table file does exist, verified it but it is named File, not file. Is the fact the table uses an upper case F critical?
Yes, it is. It's case-sensitive, so "File" isn't the same as "file". If you've got an existing Bacula installation, and can't change the table name, then change the PHP/config file to reference the correct name.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration