Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: config.php/dist-configure.php

    While the install has gon through, there is a faulty PHP file somewhere. This is not unusual when you FTP the program files to the server - and often happens if you send the whole bang shoot up in one go.

    What happens is that during the ftp process, a file gets corrupted and with PHP being quite fussy, a faulty file usually renders a blank - or partially blank - screen

    You need to use this tool:
    http://www.zen-cart.com/index.php?ma...roducts_id=860

    (read the simple instructions embedded in the file)

    Then, go collect the error message in the cache folder and post it up here for us to see...
    20 years a Zencart User

  2. #12
    Join Date
    Jan 2010
    Posts
    15
    Plugin Contributions
    0

    Default Re: config.php/dist-configure.php

    Thanks to you all for your help, it turns out that the problem was caused by an upgrade on my hosting site to a new PHP version.

    If anyone else has this problem (I am with one.com hosting), the solution is below:

    Blank screen when installing ZenCart on PHP 5.3.0:

    Main changes to make are listed below (not comprehensive, but worked with me)

    = = = = =
    - Prefix 'set_magic_quotes_runtime' with '@' in application_top.php
    (there are two files with this name, one in includes and one in
    /admin/includes). There are other uses of set_magic_quotes_runtime in
    the code, but I'll deal with them as I come to them.

    - Replace "ereg('thing', $other)" with "preg_match('/thing/', $other)",
    .....
    one file that has a problem is
    includes/classes/db/mysql/query_factory.php
    Calls such as "ereg('^[0-9]', $key)" need to be replaced by
    "preg_match('/^[0-9]/', $key)" in several places,
    note the / / surrounding the string."

    - 'date_diff' is now a keyword in PHP 5.3.0
    (http://th2.php.net/manual/en/function.date-diff.php) so change the
    function to something like zen_date_diff in:
    admin/orders.php
    admin/includes/header.php
    admin/includes/modules/orders_download.php
    admin/includes/functions/general.php
    includes/modules/payment/paypal/paypal_functions.php
    includes/functions/functions_general.php


    ..Hopefully this will help someone out, and prevent the hurling of laptops out of windows while trying to resolve!...

  3. #13
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: config.php/dist-configure.php

    I trust you are aware that there is a PATCH for sites running under 5.3. Did you use the patch?
    20 years a Zencart User

  4. #14
    Join Date
    Jan 2010
    Posts
    15
    Plugin Contributions
    0

    Default Re: config.php/dist-configure.php

    Quote Originally Posted by schoolboy View Post
    I trust you are aware that there is a PATCH for sites running under 5.3. Did you use the patch?
    I didn't, no, this information was passed to me by my hosting provider following a previous query, may have been slightly easier rather than fiddling around with php coding (I am not technical in the slightest)..

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 9
    Last Post: 1 Sep 2012, 03:13 AM
  2. dist-configure.php
    By ckosloff in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 8 May 2008, 09:11 AM
  3. Can't rename dist-configure.php because there is already a configure.php
    By mamasylvia in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 17 Mar 2008, 06:57 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