Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Sep 2010
    Posts
    17
    Plugin Contributions
    0

    Default Admin page shows blank

    Hello

    We have removed some module and after that it shows blank admin screen ...i checked recent log file

    it shows following code can some one help us to get rectify the same we tried reinstalling the zen cart before same issues happened but due to other modules and configuration we cannot reinstall the same its tedious process i can say so by looking in to error if some one can help that would be gr8

    here is the error

    [07-Jan-2012 03:48:30] PHP Fatal error: Cannot redeclare bmz_split_version_string() (previously declared in /home/vivasupp/public_html/renamedadmin/includes/functions/extra_functions/functions_bmz_update_old.php:13) in /home/vivasupp/public_html/renamedadmin/includes/functions/extra_functions/functions_bmz_update.php on line 36

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Admin page shows blank

    That extra_functions folder loads ALL the files which end in .php
    So, since you renamed a file and kept the .php extension on it, the system is loading the old one first, and then trying to load the new one, which duplicates the same stuff.

    /home/vivasupp/public_html/renamedadmin/includes/functions/extra_functions/functions_bmz_update_old.php
    /home/vivasupp/public_html/renamedadmin/includes/functions/extra_functions/functions_bmz_update.php

    Rule of thumb: whenever you make a "backup" copy of a file by renaming it, DO NOT keep the ".php" extension. Instead, use .bak or .php1 or something else. Or delete the file altogether after copying the backup to your own PC for safekeeping.
    .

    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
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Admin page shows blank

    Also, in the future, please DO NOT start new threads on the SAME topic in multiple places, such as this.
    ie: http://www.zen-cart.com/forum/showthread.php?t=190751

    It's akin to spamming the forum, and is frowned upon, and makes more work for volunteers who answer questions.
    .

    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. Admin page shows blank
    By asian in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 7 Jan 2012, 05:49 PM
  2. Sidebox shows blank page
    By cj97 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 Jul 2010, 10:59 PM
  3. Admin shows a Blank page! urgent
    By m3suriya in forum General Questions
    Replies: 2
    Last Post: 19 Jun 2007, 05:07 PM
  4. Login page shows up blank
    By vera in forum General Questions
    Replies: 12
    Last Post: 6 Jul 2006, 01:10 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