Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2004
    Posts
    10
    Plugin Contributions
    0

    Default Apache Exception on installation

    Going through installation. Have created zencart mysql schema.
    First screen has everything ticked green.

    Webserver = Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i PHP/5.3.0
    HTTP Host = localhost
    Path_Translated = D:/www/htdocs/zencart/zc_install/index.php(SCRIPT_FILENAME)
    Real Path = D:\www\htdocs\zencart
    PHP O/S = WINNT
    PHP API Mode = apache2handler
    PHP Max Execution Time per page = 30

    Second screen which asks for MySQL details displays OK but I get a deprecated function notice from PHP.

    Deprecated: Function set_magic_quotes_runtime() is deprecated in D:\www\htdocs\zencart\zc_install\includes\application_top.php on line 22

    So I manually set:

    $php_magic_quotes_runtime = 'OFF';
    $php_magic_quotes_sybase = 'OFF';

    and commented out the lines 21 thru 27.

    using either 127.0.0.1 or localhost or not commenting above lines gives the following apache exception as soon as I hit the "save database settings" button.
    No visible errors in apache error log files or mysql log files. I just get a windows alert box on httpd.exe which says:

    The instruction at "0x021e2072" referenced memory at "0x00000000". The memory could not be "read"
    Click OK to terminate the program.


    I think it is making calls to MySQL because if I don't put password in, then I get can't connect to database message on screen as you would expect. So whether error is in MySQL or Apache I'm not sure.

    So is zencart PHP 5.3 ready ?
    is it MySQL server 5.1.36 ready ?
    is it MySQL client 5.1.11 ready ?

    and if it is then HELP !!!

  2. #2
    Join Date
    Aug 2004
    Posts
    10
    Plugin Contributions
    0

    Default Re: Apache Exception on installation

    N.B. Other PHP MySQL software on my setup are working OK.

    No tables were created in the zencart schema before the exception.

    using latest version of zencart I downloaded today.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Apache Exception on installation

    Zen Cart v1.3.8a is NOT compatible with PHP 5.3.

    The upcoming v1.3.9 and v2.0 *will* be compatible with PHP 5.3. Until then, use something lower than 5.3.
    .

    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.

  4. #4
    Join Date
    Aug 2004
    Posts
    10
    Plugin Contributions
    0

    Default Re: Apache crashes on install?

    Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i PHP/5.3.0

    Zencart 1.3.8a fullset

    I tried the new patch for PHP 5.3 but I still got the apache crash when installing. It happened on the database page. No tables were installed.

    I got round the problem by doing a manual install.

    First you need to work out zencart calculates its default password and use that code generate and new md5 value for password.
    Then edit the mysql_zencart.sql file to add that passphrase md5 value. If you don't do this you won't be able to access the admin area.
    Then run the mysql_zencart.sql file through a phpMyAdmin import to generate all your tables.
    Then manually edit the configure.php files in admin/includes and includes to set the correct paths and db login details.

    And copy the php 5.3 patch files to the relevant directories.

    It works for me now but was frustrating because auto install wouldn't work even with php 5.3 patch files applied before install.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Apache crashes on install?

    Quote Originally Posted by percepts View Post
    Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i PHP/5.3.0

    Zencart 1.3.8a fullset

    I tried the new patch for PHP 5.3 but I still got the apache crash when installing. It happened on the database page. No tables were installed.
    From experience, an "apache crash" is almost always a result of a problem with your server configuration.

    Quote Originally Posted by percepts View Post
    First you need to work out zencart calculates its default password and use that code generate and new md5 value for password.
    Then edit the mysql_zencart.sql file to add that passphrase md5 value. If you don't do this you won't be able to access the admin area.
    That's overkill. The default username is "Admin" and the password "admin", also explained here: https://www.zen-cart.com/tutorials/index.php?article=2
    .

    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.

  6. #6
    Join Date
    Aug 2004
    Posts
    10
    Plugin Contributions
    0

    Default Re: Apache crashes on install?

    Quote Originally Posted by DrByte View Post
    From experience, an "apache crash" is almost always a result of a problem with your server configuration.
    Maybe. But never had this problem with other installs using MySQL. The only clue was in the event logs which claim apache trying access address 000000... which isn't a lot of help.
    php and mysql logs show nothing but apache auto restarts itself. So I have no idea how to overcome the glitch so that normal install works. Everything works after the manual instal so there's nothing else to trace for a problem.


    Quote Originally Posted by DrByte View Post
    That's overkill. The default username is "Admin" and the password "admin", also explained here: https://www.zen-cart.com/tutorials/index.php?article=2
    wish I'd known that.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Apache crashes on install?

    Quote Originally Posted by percepts View Post
    wish I'd known that.
    You didn't ask

    Nevertheless, I'm glad you finally got it to work for you despite your server issues.
    .

    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.

  8. #8
    Join Date
    Aug 2004
    Posts
    10
    Plugin Contributions
    0

    Default Re: Apache crashes on install?

    Quote Originally Posted by DrByte View Post
    You didn't ask

    Nevertheless, I'm glad you finally got it to work for you despite your server issues.

    I thought you were telepathic
    Last edited by percepts; 14 Nov 2009 at 12:56 AM.

 

 

Similar Threads

  1. Replies: 7
    Last Post: 28 Feb 2012, 10:26 PM
  2. Free Shipping with 1 Exception
    By tmdelia in forum Built-in Shipping and Payment Modules
    Replies: 13
    Last Post: 19 Nov 2010, 02:21 PM
  3. Apache not running after installation
    By InterSign in forum General Questions
    Replies: 1
    Last Post: 22 Apr 2008, 04:09 PM

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