Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2009
    Posts
    1
    Plugin Contributions
    0

    Default Blank Screen After Installation on Fedora 12

    After successfully installing Zen Cart on my Fedora 12 Linux Box, I immediately got a blank screen when I tried either the main page or the admin page. After using the information found in the tutorial, "I am getting a blank page (or blank part of a page)", I realized that Zen Cart was defining the function
    date_diff in both includes/functions/functions_general.php and in admin/includes/functions/general.php.

    I fixed this problem by enclosing both definitions in a
    if(!function_defined("date_diff")){
    function date_diff($date1, $date2) {

    //$date1 today, or any other day

    //$date2 date to check against



    $d1 = explode("-", $date1);

    $y1 = $d1[0];

    $m1 = $d1[1];

    $d1 = $d1[2];



    $d2 = explode("-", $date2);

    $y2 = $d2[0];

    $m2 = $d2[1];

    $d2 = $d2[2];



    $date1_set = mktime(0,0,0, $m1, $d1, $y1);

    $date2_set = mktime(0,0,0, $m2, $d2, $y2);



    return(round(($date2_set-$date1_set)/(60*60*24)));

    }

    }

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

    Default Re: Blank Screen After Installation on Fedora 12

    You're using a version of PHP for which the version of Zen Cart you're using was not designed.
    You'll need this PHP 5.3 patch: http://www.zen-cart.com/forum/showthread.php?t=140960
    .

    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.

  3. #3
    Join Date
    Dec 2009
    Location
    UK
    Posts
    11
    Plugin Contributions
    0

    Default Re: Blank Screen After Installation on Fedora 12

    Hello,

    It can be a memory limit issue as well..whats the memory limit set?

 

 

Similar Threads

  1. v154 Blank Screen After Upgrade (fixed) but now blank screen after login!
    By Kias Henry in forum Upgrading to 1.5.x
    Replies: 6
    Last Post: 23 Jun 2015, 07:32 PM
  2. Hitting a wall with installation : blank screen
    By Northfur in forum Upgrading to 1.5.x
    Replies: 22
    Last Post: 8 Jan 2015, 05:30 AM
  3. v152 Blank screen after upgrade
    By roodney in forum Upgrading to 1.5.x
    Replies: 8
    Last Post: 11 Dec 2013, 05:57 PM
  4. Blank screen after login
    By Fantix in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 5 Nov 2008, 11:10 PM
  5. Solution: Blank screen on installation
    By Eckhart in forum Installing on a Windows Server
    Replies: 1
    Last Post: 22 Sep 2008, 07:08 PM

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