Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2013
    Location
    United States
    Posts
    1
    Plugin Contributions
    0

    application error Install ZC 1.5.3 - Call to undefined method queryFactory

    HI Zen Cart Genius

    I installed ZC before some year ago and works fine in other version.

    Now I try to Install ZC version 1.5.3 on a new server, with new software versions, as:
    Centos 6.5 - 64Bits
    MySql 5.7.4 - 64bits
    PHP 5.5.14
    Apache 2.2.15

    And the installation don't work.

    When I finish the ..ZC_install/index... I Got a white page.

    Please take a look.
    http://www.oxionsupply.com/zc_install/index.php

    and then
    http://www.oxionsupply.com

    On the Logs I Got this:
    [17-Jul-2014 01:13:53 America/New_York] PHP Fatal error:
    Call to undefined method queryFactory::ErrorMsg() in /var/www/html/oxionsupply.com/zc_install/includes/classes/installer.php on line 686

    [17-Jul-2014 01:28:36 America/New_York] PHP Fatal error: 1146:Table 'oxionsupply.counter_history' doesn't exist
    :: select startdate, counter, session_counter from counter_history where startdate='20140717' ==>
    (as called by) /var/www/html/oxionsupply.com/includes/counter.php on line 23 <== in /var/www/html/oxionsupply.com/includes/classes/db/mysql/query_factory.php on line 155

    -----------

    Actually the installation created the tables and populate the database, but I think some of the tables don't create well.

    Please do you have some idea about the Problem? and the solution?

    I appreciate your help.

    Thank you
    Joao Nunes





    -----------------------------------------------------
    The Logs Install:

    ---------------
    Jul 17 2014 0:59 -- inspect
    System Inspection Results:
    ------------------------------
    NA: Webserver => Apache/2.2.15 (CentOS)
    NA: HTTP Host => www.oxionsupply.com
    NA: Path_Translated => /var/www/html/oxionsupply.com/zc_install/index.php(SCRIPT_FILENAME)
    NA: Real Path => /var/www/html/oxionsupply.com
    NA: Server Free Disk Space => 95.33 GB
    NA: PHP O/S => Linux
    NA: PHP API Mode => apache2handler
    NA: PHP Max Execution Time per page => 300
    OK: MySQL Support => ON
    OK: PHP Version => 5.5.14
    OK: PHP Sessions Support => ON
    OK: PHP Session.AutoStart => OFF
    OK: PHP session.use_trans_sid => OFF
    OK: Suggested SQL Cache Folder => /var/www/html/oxionsupply.com/cache
    OK: PHP GD Support => ON
    OK: GD Version => GD bundled (2.1.0 compatible)
    OK: PHP ZLIB Compression Support => ON
    OK: PHP OpenSSL Support => ON
    OK: PHP cURL Support => ON
    OK: CURL NON-SSL Capability => Okay
    OK: CURL SSL Capability => Okay
    OK: PHP Upload Support => ON upload_max_filesize=10M; post_max_size=16M
    OK: PHP Upload TMP dir =>
    OK: Apache .htaccess Support => ON
    NA: PHP include_path => .:/usr/share/pear:/usr/share/php
    NA: PHP SMTP destination => [email protected]:[email protected]
    NA: PHP sendmail path => /usr/sbin/sendmail -t -i
    NA: PHP sendmail 'from' => [email protected]
    OK: PHP open_basedir restrictions =>
    OK: PHP Output Buffering (gzip) => ON
    OK: PHP XML Support => ON
    OK: PHP Session.Save_Path => /var/www/html/oxionsupply.com/cache-->Writeable
    OK: includes/configure.php => Writeable
    OK: admin/includes/configure.php => Writeable
    OK: cache => OK 777 read/write/execute
    OK: images => OK 777 read/write/execute (INCLUDE SUBDIRECTORIES TOO)
    OK: includes/languages/english/html_includes => OK 777 read/write (INCLUDE SUBDIRECTORIES TOO)
    OK: logs => OK 777 read/write/execute
    OK: media => OK 777 read/write/execute
    OK: pub => OK 777 read/write/execute
    OK: admin/backups => OK 777 read/write
    OK: admin/images/graphs => OK 777 read/write/execute
    PHP Extensions compiled: Core, date, ereg, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, apache2hand$
    ------------------------------

    ---------------
    Jul 17 2014 1:03 -- database_setup1
    Installer - Page: database_setup -- collected information: Array
    (
    [language] => english
    [DIR_FS_SQL_CACHE] => /var/www/html/oxionsupply.com/cache
    [DB_TYPE] => mysql
    [DB_PREFIX] =>
    [DB_CHARSET] => utf8
    [DB_SERVER] => localhost
    [DB_SERVER_USERNAME] => xxxxxxx
    [DB_SERVER_PASSWORD] => ***private***
    [DB_DATABASE] => xxxxxx
    [SQL_CACHE_METHOD] => file
    )

    -----------------

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Install ZC 1.5.3 - Call to undefined method queryFactory

    Quote Originally Posted by Joaonv View Post
    On the Logs I Got this:
    [17-Jul-2014 01:13:53 America/New_York] PHP Fatal error:
    Call to undefined method queryFactory::ErrorMsg() in /var/www/html/oxionsupply.com/zc_install/includes/classes/installer.php on line 686
    That will only happen if it doesn't have the /includes/classes/db/mysql/query_factory.php file on the server and therefore can't load it, and thus the function/method isn't defined. Solution: make sure all the files are uploaded to the server.

    Quote Originally Posted by Joaonv View Post
    [17-Jul-2014 01:28:36 America/New_York] PHP Fatal error: 1146:Table 'oxionsupply.counter_history' doesn't exist
    :: select startdate, counter, session_counter from counter_history where startdate='20140717' ==>
    (as called by) /var/www/html/oxionsupply.com/includes/counter.php on line 23 <== in /var/www/html/oxionsupply.com/includes/classes/db/mysql/query_factory.php on line 155
    That happens when visiting the store home page without first fully installing the database via zc_install.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v154 Call to undefined method currencies::get_decimal_places() in paypalwpp.php line 1055
    By Kenton in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 12 Apr 2016, 07:04 AM
  2. Call to undefined method authorizenet_aim::tableCheckup()
    By Appa306 in forum General Questions
    Replies: 2
    Last Post: 15 Jul 2011, 01:45 AM
  3. Replies: 1
    Last Post: 8 May 2010, 04:43 PM
  4. Replies: 4
    Last Post: 14 Sep 2009, 02:32 AM
  5. Replies: 3
    Last Post: 18 Apr 2007, 03:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR