The SimpleInvoices forum has moved to Google Plus - this forum is now read-only
Fatal Error: Undefined class constant
  • countrygirlcountrygirl March 2010

    Great a new error:

    Fatal error: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND' in C:\Inetpub\vhosts\sherrianderson.ca\httpdocs\client\include\class\db.php on line 53

    I am now running php 5.2.6

  • countrygirlcountrygirl March 2010

    Found the problem changed line to database.utf8 = false

  • justinjustin March 2010

    thanks for the update

    good to hear its ok now

    cheers

    justin

    SmarterInvoices.com :: Simple Invoices hosting | Kelly.org.au :: Simple Invoices custom development | justin.kelly.org.au
  • Hello countrygirl
    I have the same problem:
    Fatal error: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND' in C:\Inetpub\vhosts\sherrianderson.ca\httpdocs\client\include\class\db.php on line 53

    I am now running php 5.2.6

    Can you be more specific with your comment:
    Found the problem changed line to database.utf8 = false

    Can you show me an example to change that line (Found the problem changed line to database.utf8 = false )

    Thanks

  • I mean
    where Imust replace database.utf8 = false ??
    thanks

  • In the config/config.ini

  • Thanks I´ll try

  • It works but now I have the problema

    ===========================================
    Simple Invoices database connection problem
    ===========================================

    Could not connect to the Simple Invoices database

    For information on how to fix this pease refer to the following database error:
    --> could not find driver

    If this is an Access denied error please enter the correct database connection details config/config.ini

    Note: If you are installing Simple Invoices please follow the below steps:
    1. Create a blank MySQL database
    2. Enter the correct database connection details in the config/config.ini file
    3. Refresh this page

    ===========================================

  • --> could not find driver

    Im guessing the utf8 is needed for your environment, especially the database connectivity. You may need to install additional database connectors that don't require the utf8 setting. I am not sure what your environment is other than it is windows based.

  • I can install connector because I have a godaddy hosting

  • Anyone knows what hosting company supports simple invoices?

    thanks

  • jmruasjmruas May 2010

    My host support but is not free: 70 €/year unlimited disk space and bandwidth - cpanel...

  • Can you tell me what is your hosting provider?

    I have trying in a virtual dedicated server but now i get this error:
    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in

  • I think this erro

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in

    is for php 4.4
    anyone knows if this error can be fixed?

  • jmruasjmruas May 2010

    My hosting provider is ptisp.pt 6 years ago.

  • thanks

  • I see tha your php hosting provider es 5.1. your simple invoice software run fine?

  • jmruasjmruas May 2010

    My hosting provider can be 5.1, but I have
    MySQL version 5.0.90-community
    Apache version 2.2.13
    PHP version 5.2.10

    The problems I have are the same I find in the Justin demo site.

  • justinjustin May 2010

    hey aristotelesgonzalez

    i do simple invoices hosting at smarterinvoices.com

    all aspects of Simple Invoices are guaranteed to work 100%

    cost $10USD per month

    cheers

    justin

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

    hey aristotelesgonzalez

    i've setup your smarterinvoices.com account and emailed you the details - let me know if you have any issues/queries

    cheers

    justin

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

Categories