Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2007
    Location
    Cannon Beach, OR
    Posts
    180
    Plugin Contributions
    0

    Default PHP 5.3 Disaster

    I have 2 sites running 1.3.8a and 1.3.9h. My site was upgraded last night to php 5.3. I installed the patch that is supposed to make 1.3.8x work on PHP 5.3. However both sites are fully down. Blank page with huge error logs. Below are the 2 log files.

    The site was working fine immediately after the upgrade. But about 5 hours later began having trouble then went completely offline. I now get blank pages or the browser says it can't reach the web site. I can't log in to either admin.

    I have a site that is 1.5.0 and is working fine.

    Upgrading is a very painful option at this point. But I realize it's the full solution to the problem. I just can't have my sites down that long. I was hoping someone could make some sense of the log files. I can't figure out where to start.

    Code:
    [17-Sep-2013 08:15:20 America/Los_Angeles] PHP Warning:  PHP Startup: PDO: Unable to initialize moduleModule compiled with module API=20060613
    PHP    compiled with module API=20090626
    These options need to match
     in Unknown on line 0
    [17-Sep-2013 08:15:20 America/Los_Angeles] PHP Warning:  PHP Startup: pdo_sqlite: Unable to initialize module
    Module compiled with module API=20060613
    PHP    compiled with module API=20090626
    These options need to match
     in Unknown on line 0
    [17-Sep-2013 08:15:20 America/Los_Angeles] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so: undefined symbol: third_arg_force_ref in Unknown on line 0
    [17-Sep-2013 08:15:20 America/Los_Angeles] PHP Warning:  PHP Startup: pdo_mysql: Unable to initialize module
    Module compiled with module API=20060613
    PHP    compiled with module API=20090626
    These options need to match
     in Unknown on line 0
    [17-Sep-2013 08:15:20 America/Los_Angeles] PHP Warning:  PHP Startup: Unable to load dynamic library '/htscanner.so' - /htscanner.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Sep-2013 08:15:32 America/Los_Angeles] PHP Warning:  PHP Startup: homeloader: Unable to initialize module
    Module compiled with module API=20060613
    PHP    compiled with module API=20090626
    These options need to match
     in Unknown on line 0
    [17-Sep-2013 08:15:32 America/Los_Angeles] PHP Warning:  PHP Startup: PDO: Unable to initialize module
    Module compiled with module API=20060613
    PHP    compiled with module API=20090626
    These options need to match
     in Unknown on line 0
    [17-Sep-2013 08:15:32 America/Los_Angeles] PHP Warning:  PHP Startup: pdo_sqlite: Unable to initialize module
    Module compiled with module API=20060613
    PHP    compiled with module API=20090626
    These options need to match
     in Unknown on line 0
    [17-Sep-2013 08:15:34 America/Los_Angeles] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so: undefined symbol: third_arg_force_ref in Unknown on line 0
    [17-Sep-2013 08:15:34 America/Los_Angeles] PHP Warning:  PHP Startup: pdo_mysql: Unable to initialize module
    Module compiled with module API=20060613
    PHP    compiled with module API=20090626
    These options need to match
     in Unknown on line 0
    [17-Sep-2013 08:15:34 America/Los_Angeles] PHP Warning:  PHP Startup: Unable to load dynamic library '/htscanner.so' - /htscanner.so: cannot open shared object file: No such file or directory in Unknown on line 0
    Code:
    [17-Sep-2013 08:41:04 America/Los_Angeles] PHP Warning:  PHP Startup: PDO: Unable to initialize moduleModule compiled with module API=20060613
    PHP    compiled with module API=20090626
    These options need to match
     in Unknown on line 0
    [17-Sep-2013 08:41:04 America/Los_Angeles] PHP Warning:  PHP Startup: pdo_sqlite: Unable to initialize module
    Module compiled with module API=20060613
    PHP    compiled with module API=20090626
    These options need to match
     in Unknown on line 0
    [17-Sep-2013 08:41:04 America/Los_Angeles] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so: undefined symbol: third_arg_force_ref in Unknown on line 0
    [17-Sep-2013 08:41:04 America/Los_Angeles] PHP Warning:  PHP Startup: pdo_mysql: Unable to initialize module
    Module compiled with module API=20060613
    PHP    compiled with module API=20090626
    These options need to match
     in Unknown on line 0
    [17-Sep-2013 08:41:04 America/Los_Angeles] PHP Warning:  PHP Startup: Unable to load dynamic library '/htscanner.so' - /htscanner.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Sep-2013 08:42:13 America/Los_Angeles] PHP Warning:  PHP Startup: homeloader: Unable to initialize module
    Module compiled with module API=20060613
    PHP    compiled with module API=20090626
    These options need to match
     in Unknown on line 0
    [17-Sep-2013 08:42:13 America/Los_Angeles] PHP Warning:  PHP Startup: PDO: Unable to initialize module
    Module compiled with module API=20060613
    PHP    compiled with module API=20090626
    These options need to match
     in Unknown on line 0
    [17-Sep-2013 08:42:13 America/Los_Angeles] PHP Warning:  PHP Startup: pdo_sqlite: Unable to initialize module
    Module compiled with module API=20060613
    PHP    compiled with module API=20090626
    These options need to match
     in Unknown on line 0
    [17-Sep-2013 08:42:13 America/Los_Angeles] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so: undefined symbol: third_arg_force_ref in Unknown on line 0
    [17-Sep-2013 08:42:13 America/Los_Angeles] PHP Warning:  PHP Startup: pdo_mysql: Unable to initialize module
    Module compiled with module API=20060613
    PHP    compiled with module API=20090626
    These options need to match
     in Unknown on line 0
    [17-Sep-2013 08:42:13 America/Los_Angeles] PHP Warning:  PHP Startup: Unable to load dynamic library '/htscanner.so' - /htscanner.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [17-Sep-2013 08:42:17 America/Los_Angeles] PHP Warning:  PHP Startup: homeloader: Unable to initialize module
    Module compiled with module API=20060613
    PHP    compiled with module API=20090626
    These options need to match
     in Unknown on line 0
    [17-Sep-2013 08:42:17 America/Los_Angeles] PHP Warning:  PHP Startup: PDO: Unable to initialize module
    Module compiled with module API=20060613
    PHP    compiled with module API=20090626
    These options need to match
     in Unknown on line 0
    [17-Sep-2013 08:42:17 America/Los_Angeles] PHP Warning:  PHP Startup: pdo_sqlite: Unable to initialize module
    Module compiled with module API=20060613
    PHP    compiled with module API=20090626
    These options need to match
     in Unknown on line 0
    [17-Sep-2013 08:42:17 America/Los_Angeles] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so: undefined symbol: third_arg_force_ref in Unknown on line 0
    [17-Sep-2013 08:42:17 America/Los_Angeles] PHP Warning:  PHP Startup: pdo_mysql: Unable to initialize module
    Module compiled with module API=20060613
    PHP    compiled with module API=20090626
    These options need to match
     in Unknown on line 0
    [17-Sep-2013 08:42:17 America/Los_Angeles] PHP Warning:  PHP Startup: Unable to load dynamic library '/htscanner.so' - /htscanner.so: cannot open shared object file: No such file or directory in Unknown on line 0
    Last edited by kehrli; 17 Sep 2013 at 05:01 PM.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: PHP 5.3 Disaster

    pdo_sqlite - I am not sure that ZenCart has support for this perferring just mysql

    Contact your host

    Upgrade from 1.3.8a

  3. #3
    Join Date
    Aug 2007
    Location
    Cannon Beach, OR
    Posts
    180
    Plugin Contributions
    0

    Default Re: PHP 5.3 Disaster

    Quote Originally Posted by kobra View Post
    pdo_sqlite - I am not sure that ZenCart has support for this perferring just mysql

    Contact your host

    Upgrade from 1.3.8a
    Thank you very much.

    Can you figure out why sqlite is being called? The server has MySQL 5.0.96-community-log installed. I've tried to analyze the error message, but I can't get a leg up on it. I can't see what module is calling the function, nor what function is being called. I've searched in the Developer's Tool Kit for the names of the modules, but they don't exist in any of my php files. Do you have any idea what could be triggering pdo_sqlite?

  4. #4
    Join Date
    Aug 2007
    Location
    Cannon Beach, OR
    Posts
    180
    Plugin Contributions
    0

    Default Re: PHP 5.3 Disaster

    Ok, I'm getting a leg up on this one. It looks like my host messed up the upgrade. The errors are from calls from php.ini. The modules it's calling are complaining that they were compiled with an earler api version than php - so won't load. I've gotten rid of the errors by commenting these modules out of the php.ini file. The problem is that I need them. So, I'm waiting on my hosting tech support... again... to get them to correct their bogus upgrade. Will post again when it's fully resolved.

    Note, it appears the patch for using php 5.3 with 1.3.8a is actually working fine. 1.3.9h is working also now.

    My error was trying to fine the problem in the php files. It was actually in the php.ini file.

  5. #5
    Join Date
    Aug 2007
    Location
    Cannon Beach, OR
    Posts
    180
    Plugin Contributions
    0

    Default Re: PHP 5.3 Disaster

    Ok. The bottom line was my php.ini files. I had one in my public_html folder. But there was also one in my home directory. These were pointing to older, incompatible libs. This was the cause of the break. When I renamed the php.ini files and used the system file, everything was OK.

    Spend 2 days upgrading from 1.3.8a to 1.3.9h, mostly due to simple seo url mod. It was hard to get it going. But all is good now.

  6. #6
    Join Date
    Nov 2005
    Location
    France
    Posts
    600
    Plugin Contributions
    8

    Default Re: PHP 5.3 Disaster

    You really should consider upgrading to 1.5.1, let alone 1.3.9h. It's far more secure than any 1.3.x install.

    Upgrading a 1.3.9h site to 1.5.1 is about 10 hours of work and really not difficult if you approach it in a methodical way. (Although i would say that as i've done 100 + this year lol)

    Always make sure you have a dependable backup of your store and db before you start.
    If you follow the correct process, your live site will only be down for around 30-60 mins while you merge the database at go live.

 

 

Similar Threads

  1. v151 Attribute Disaster
    By SilverHD in forum Setting Up Categories, Products, Attributes
    Replies: 32
    Last Post: 14 Nov 2013, 05:39 AM
  2. Enabling SSL... a bit of a disaster
    By Dunk in forum General Questions
    Replies: 2
    Last Post: 29 Dec 2008, 02:59 PM
  3. Froogle Disaster PLEASE HELP!!!!
    By mobilecustomsusa in forum General Questions
    Replies: 0
    Last Post: 7 Jun 2007, 02:22 AM
  4. disaster my stupid mistake
    By barco57 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 7
    Last Post: 18 Sep 2006, 04:02 AM

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