Fatal error
  • jsfjsf February 2010

    Hi

    I get the following error when attempting to install SimpleInvoices.
    Fatal error: Call to a member function execute() on a non-object in /home/hcdcozaq/public_html/simpleinvoices/include/class/db.php on line 116

    I am using a using a shared server with the following details:
    Apache version 2.2.13 (Unix)
    PHP version 5.2.10
    MySQL version 5.0.85-community-log

    Any feedback would be greatly appreciated.

  • justinjustin February 2010

    hey jsf

    try updating to php5.3
    there are some bugs with php 5.2 and PDO - our db thing

    cheers

    justin

    SmarterInvoices.com :: Simple Invoices hosting | Kelly.org.au :: Simple Invoices custom development | justin.kelly.org.au
  • petruslpetrusl February 2010

    I am having the same exact same problem:
    Fatal error: Call to a member function execute() on a non-object in /home/webadmin/xxx/html/simpleinvoices/include/class/db.php on line 115

    I have
    Php 5.3
    MySQL 5.0.77

  • petruslpetrusl February 2010

    I experimented and went to config.ini and changed to database.adapter = mysqli just to test. New error came:
    Fatal error: Call to a member function prepare() on a non-object in /home/webadmin/xxx/html/simpleinvoices/include/sql_queries.php on line 105

    I have a headache from this not working and trying to find a solution :P

  • petruslpetrusl February 2010

    I set it back to pdo adapter and then created an empty simple_invoices database and then imported old invoice data. Now simple invoices interface is running but showing no data like invoices, billers, etc in their "normal" viewing and editing page. There is one exception, biller and other data is showing in the System preferences page.

  • I have the exact same problem. Is there al solution for this?

    Or, which version of PHP and MySQL are required?

  • Ah, I need at least 5.2 I see...

    Upgrading PHP helped :-)

  • maxbarnormaxbarnor August 2010

    hi justin
    i tried previewing some reports and i keep gettin this error, it happen when i try to export in any format too...

    Statement summary:
    Total:
    Fatal error: Call to undefined function iconv_get_encoding() in /home////library/Zend/Locale/Format.php on line 306

  • gourgour September 2010

    Hi!

    I also have this Fatal error: Call to undefined function iconv_get_encoding() in /home/gour/../library/Zend/Locale/Format.php on line 769 ?

    I've PHP 5.3.3.
    Any hint?

    Otoh, may I suggest that having proper bug tracker would be much more efficient instead of throwing everything in the forums?

    Edit:It looks as we solved this one...
    Sincerely,
    Gour

  • justinjustin September 2010

    @maxbarnor and @gour

    install iconv for your server and php
    - php.net/iconv
    - and retry - think iconv is onyl requried when there are non latin characters and encoding issues

    let us know how you go

    cheers

    justin

    SmarterInvoices.com :: Simple Invoices hosting | Kelly.org.au :: Simple Invoices custom development | justin.kelly.org.au
  • gourgour September 2010


    let us know how you go


    Yeah, I've figured that one - installing iconv module helped resolving it. :-)

  • justinjustin September 2010

    thanks for the update

    SmarterInvoices.com :: Simple Invoices hosting | Kelly.org.au :: Simple Invoices custom development | justin.kelly.org.au

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

Categories