Results 1 to 10 of 19

Hybrid View

  1. #1
    Join Date
    Oct 2006
    Location
    Hanover, PA
    Posts
    71
    Plugin Contributions
    0

    Default Re: Add Product, Page Disappears

    I just looked at the web site (FireFox) and everything is viewable. If you're viewing in IE6 (I checked at work), it will not work, neither in IE7. I have not bothered to make it IE7 compatible yet (it will NOT be IE6 compatible at all) because I am not done working on the standards compliant coding.

    So anyway, back to the original question...Why, when you click on "Air Pumps" for example, why does the content disappear?
    [FONT=Century Gothic].: Stef :.[/FONT]

  2. #2
    Join Date
    Mar 2007
    Location
    AZ
    Posts
    1,911
    Plugin Contributions
    2

    Default Re: Add Product, Page Disappears

    Quote Originally Posted by TripleMoons View Post
    So anyway, back to the original question...Why, when you click on "Air Pumps" for example, why does the content disappear?
    Run the Debug Utililty to find the problem files. Available in the downloads section

    I know you know - nothing shows in IE7 except the background and a bar.

    Tina

  3. #3
    Join Date
    Oct 2006
    Location
    Hanover, PA
    Posts
    71
    Plugin Contributions
    0

    Default Re: Add Product, Page Disappears

    Quote Originally Posted by charmedbytina2
    I know you know - nothing shows in IE7 except the background and a bar.
    To view the web site in it's current state, use FireFox.
    The web site is not IE compatible yet.

    Quote Originally Posted by charmedbytina2
    Run the Debug Utililty to find the problem files. Available in the downloads section
    Very cool, I did not know this existed.

    I got four DEBUG files:

    Code:
    [27-Jun-2008 20:39:14] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/www/uptownbirds.com/shoponline/index.php:67) in /home/www/uptownbirds.com/shoponline/includes/functions/sessions.php on line 108
    [27-Jun-2008 20:39:14] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/uptownbirds.com/shoponline/index.php:67) in /home/www/uptownbirds.com/shoponline/includes/init_includes/init_templates.php on line 78
    Code:
    [27-Jun-2008 20:39:20] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/www/uptownbirds.com/shoponline/index.php:67) in /home/www/uptownbirds.com/shoponline/includes/functions/sessions.php on line 108
    [27-Jun-2008 20:39:20] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/uptownbirds.com/shoponline/index.php:67) in /home/www/uptownbirds.com/shoponline/includes/init_includes/init_templates.php on line 78
    Code:
    [27-Jun-2008 20:39:25] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/www/uptownbirds.com/shoponline/index.php:67) in /home/www/uptownbirds.com/shoponline/includes/functions/sessions.php on line 108
    [27-Jun-2008 20:39:25] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/uptownbirds.com/shoponline/index.php:67) in /home/www/uptownbirds.com/shoponline/includes/init_includes/init_templates.php on line 78
    [27-Jun-2008 20:39:25] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/uptownbirds.com/shoponline/index.php:67) in /home/www/uptownbirds.com/shoponline/includes/functions/functions_general.php on line 44
    Code:
    [27-Jun-2008 20:39:23] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/www/uptownbirds.com/shoponline/index.php:67) in /home/www/uptownbirds.com/shoponline/includes/functions/sessions.php on line 108
    [27-Jun-2008 20:39:23] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/uptownbirds.com/shoponline/index.php:67) in /home/www/uptownbirds.com/shoponline/includes/init_includes/init_templates.php on line 78
    ===== Friday, June 27, 2008 1:44:43 PM America/New_York =====
    Now, line 67 in index.php is this:

    Code:
    <div class="row1right"> 522-526 Amsterdam Avenue<br />
    I'm not exactly sure what's wrong with this line that could possibly be causing a problem with the listing? I commented out the entire DIV and it didn't fix the problem.
    [FONT=Century Gothic].: Stef :.[/FONT]

  4. #4
    Join Date
    Oct 2006
    Location
    Hanover, PA
    Posts
    71
    Plugin Contributions
    0

    Default Re: Add Product, Page Disappears

    Also just figured out when you click "Add To Cart" I get the same blank screen.
    [FONT=Century Gothic].: Stef :.[/FONT]

  5. #5
    Join Date
    Mar 2007
    Location
    AZ
    Posts
    1,911
    Plugin Contributions
    2

    Default Re: Add Product, Page Disappears

    Quote Originally Posted by TripleMoons View Post
    Also just figured out when you click "Add To Cart" I get the same blank screen.
    New error message for this?

    Usually the first file listed is the problem - check it for blanks at the end of the coding.

    Tina

  6. #6
    Join Date
    Oct 2006
    Location
    Hanover, PA
    Posts
    71
    Plugin Contributions
    0

    Default Re: Add Product, Page Disappears

    Quote Originally Posted by charmedbytina2 View Post
    New error message for this?

    Usually the first file listed is the problem - check it for blanks at the end of the coding.
    No, I think it appears to be the same error:

    Code:
    [27-Jun-2008 20:39:58] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home/www/uptownbirds.com/shoponline/index.php:67) in /home/www/uptownbirds.com/shoponline/includes/functions/sessions.php on line 108
    [27-Jun-2008 20:39:58] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/www/uptownbirds.com/shoponline/index.php:67) in /home/www/uptownbirds.com/shoponline/includes/functions/sessions.php on line 108
    [27-Jun-2008 20:39:58] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/www/uptownbirds.com/shoponline/index.php:67) in /home/www/uptownbirds.com/shoponline/includes/init_includes/init_templates.php on line 78
    What do you mean blanks? Spaces?

    I don't see anything:

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <title>Uptown Birds, LLC ~ Hand-Fed Birds, Reptiles, Fresh Water &amp; Marine Fish, Small Animals &amp; Supplies | Available</title>
    <link href="../sp-stylecart.css" rel="stylesheet" type="text/css" />
    <script type="text/JavaScript">
    <!--
    function mmLoadMenus() {
      if (window.mm_menu_0224122050_0) return;
      window.mm_menu_0224122050_0 = new Menu("root",111,22,"Century Gothic, Arial, Verdana",16,"#723716","#723716","#FFFFD6","#99B27F","left","middle",5,0,1000,-5,7,true,false,true,0,false,true);
      mm_menu_0224122050_0.addMenuItem("Avian","location='../species-avian.html'");
      mm_menu_0224122050_0.addMenuItem("Reptile","location='../species-reptile.html'");
       mm_menu_0224122050_0.hideOnMouseOut=true;
       mm_menu_0224122050_0.bgColor='#FFFFD6';
       mm_menu_0224122050_0.menuBorder=3;
       mm_menu_0224122050_0.menuLiteBgColor='#FFFFD6';
       mm_menu_0224122050_0.menuBorderBgColor='#FFFFD6';
    
      window.mm_menu_0224122413_0 = new Menu("root",141,22,"Century Gothic, Arial, Verdana",16,"#723716","#723716","#FFFFD6","#99B27F","left","middle",5,0,1000,-5,7,true,false,true,0,false,true);
      mm_menu_0224122413_0.addMenuItem("Avian","location='../available-avian.html'");
      mm_menu_0224122413_0.addMenuItem("Reptile","location='../available-reptile.html'");
       mm_menu_0224122413_0.hideOnMouseOut=true;
       mm_menu_0224122413_0.bgColor='#FFFFD6';
       mm_menu_0224122413_0.menuBorder=3;
       mm_menu_0224122413_0.menuLiteBgColor='#FFFFD6';
       mm_menu_0224122413_0.menuBorderBgColor='#FFFFD6';
    
    mm_menu_0224122413_0.writeMenus();
    } // mmLoadMenus()
    
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    }
    
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    }
    
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    }
    
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    }
    //
    </script>
    <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
    </script>
    <script type="text/javascript">
    _uacct = "UA-2272101-10";
    urchinTracker();
    </script>
    <script language="JavaScript" src="mm_menu.js"></script>
    </head>
    <body onLoad="MM_preloadImages('images/hp/nav/down_01.png','images/hp/nav/down_02.png','images/hp/nav/down_03.png','images/hp/nav/down_04.png','images/hp/nav/down_05.png','images/hp/nav/down_06.png','../images/sp/nav/down_01.png','../images/sp/nav/down_02.png','../images/sp/nav/down_03.png','../images/sp/nav/down_04.png','../images/sp/nav/down_05.png','../images/sp/nav/down_06.png')">
    <script language="JavaScript1.2">mmLoadMenus();</script>
    <div class="row1">
      <div class="row1right"> 522-526 Amsterdam Avenue<br />
        New York, NY 10024<br />
        212-877-BIRD (2473) </div>
    </div>
    <div class="row2">
      <div align="center"> <a href="../gallery.html"><img src="../images/sp/nav/up_01.png" alt="gallery" width="120" height="64" border="0" id="Image1" onMouseOver="MM_swapImage('Image1','','../images/sp/nav/down_01.png',1)" onMouseOut="MM_swapImgRestore()" /></a> <a href="../services.html"><img src="../images/sp/nav/up_02.png" alt="services" width="124" height="63" border="0" id="Image2" onMouseOver="MM_swapImage('Image2','','../images/sp/nav/down_02.png',1)" onMouseOut="MM_swapImgRestore()" /></a> <a href="../available.html"><img src="../images/sp/nav/up_03.png" alt="available" name="image2" width="141" height="63" border="0" id="Image3" onMouseOver="MM_swapImage('Image3','','../images/sp/nav/down_03.png',1);MM_showMenu(window.mm_menu_0224122413_0,0,63,null,'image2')" onMouseOut="MM_swapImgRestore();MM_startTimeout();" /></a> <a href="../species.html"><img src="../images/sp/nav/up_04.png" alt="species" name="image1" width="111" height="63" border="0" id="Image4" onMouseOver="MM_swapImage('Image4','','../images/sp/nav/down_04.png',1);MM_showMenu(window.mm_menu_0224122050_0,0,63,null,'image1')" onMouseOut="MM_swapImgRestore();MM_startTimeout();" /></a> <a href="http://www.uptownbirds.com/shoponline/"><img src="../images/sp/nav/up_05.png" alt="shop online" width="183" height="63" border="0" id="Image5" onMouseOver="MM_swapImage('Image5','','../images/sp/nav/down_05.png',1)" onMouseOut="MM_swapImgRestore()" /></a> <a href="http://uptownbirds.com/shoponline/index.php?main_page=contact_us&zenid=a491683e134a92bd37f7245deb87ab8b"><img src="../images/sp/nav/up_06.png" alt="contact" width="121" height="63" border="0" id="Image6" onMouseOver="MM_swapImage('Image6','','../images/sp/nav/down_06.png',1)" onMouseOut="MM_swapImgRestore()" /></a> </div>
    </div>
    <div class="row3"> </div>
    <div class="row4">
      <h10>Shop Online</h10>
    <?php
    /**
     * index.php represents the hub of the Zen Cart MVC system
     * 
     * Overview of flow
     * <ul>
     * <li>Load application_top.php - see {@tutorial initsystem}</li>
     * <li>Set main language directory based on $_SESSION['language']</li>
     * <li>Load all *header_php.php files from includes/modules/pages/PAGE_NAME/</li>
     * <li>Load html_header.php (this is a common template file)</li>
     * <li>Load main_template_vars.php (this is a common template file)</li>
     * <li>Load on_load scripts (page based and site wide)</li>
     * <li>Load tpl_main_page.php (this is a common template file)</li>
     * <li>Load application_bottom.php</li>
     * </ul>
     *
     * @package general
     * @copyright Copyright 2003-2005 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: index.php 2942 2006-02-02 04:41:23Z drbyte $
     */
    /**
     * Load common library stuff 
     */
      require('includes/application_top.php');
    
      $language_page_directory = DIR_WS_LANGUAGES . $_SESSION['language'] . '/';
      $directory_array = $template->get_template_part($code_page_directory, '/^header_php/');
      foreach ($directory_array as $value) { 
    /**
     * We now load header code for a given page. 
     * Page code is stored in includes/modules/pages/PAGE_NAME/directory 
     * 'header_php.php' files in that directory are loaded now.
     */
        require($code_page_directory . '/' . $value);
      }
    /**
     * We now load the html_header.php file. This file contains code that would appear within the HTML <head></head> code 
     * it is overridable on a template and page basis. 
     * In that a custom template can define its own common/html_header.php file 
     */
      require($template->get_template_dir('html_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/html_header.php');
    /**
     * Define Template Variables picked up from includes/main_template_vars.php unless a file exists in the
     * includes/pages/{page_name}/directory to overide. Allowing different pages to have different overall
     * templates.
     */
      require($template->get_template_dir('main_template_vars.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/main_template_vars.php');
    /**
     * Read the "on_load" scripts for the individual page, and from the site-wide template settings
     * NOTE: on_load_*.js files must contain just the raw code to be inserted in the <body> tag in the on_load="" parameter.
     * Looking in "/includes/modules/pages" for files named "on_load_*.js"
     */
      $directory_array = $template->get_template_part(DIR_WS_MODULES . 'pages/' . $current_page_base, '/^on_load_/', '.js');
      foreach ($directory_array as $value) { 
        $onload_file = DIR_WS_MODULES . 'pages/' . $current_page_base . '/' . $value;
        $read_contents='';
        $lines = @file($onload_file);
        foreach($lines as $line) {
          $read_contents .= $line;
        }
      $za_onload_array[] = $read_contents;
      }
    /**
     * now read "includes/templates/TEMPLATE/jscript/on_load/on_load_*.js", which would be site-wide settings
     */
      $directory_array=array();
      $tpl_dir=$template->get_template_dir('.js', DIR_WS_TEMPLATE, 'jscript/on_load', 'jscript/on_load_');
      $directory_array = $template->get_template_part($tpl_dir ,'/^on_load_/', '.js');
      foreach ($directory_array as $value) { 
        $onload_file = $tpl_dir . '/' . $value;
        $read_contents='';
        $lines = @file($onload_file);
        foreach($lines as $line) {
          $read_contents .= $line;
        }
        $za_onload_array[] = $read_contents;
      }
    
      // set $zc_first_field for backwards compatibility with previous version usage of this var
      if (isset($zc_first_field) && $zc_first_field !='') $za_onload_array[] = $zc_first_field;
    
      $zv_onload = "";
      if (isset($za_onload_array) && count($za_onload_array)>0) $zv_onload=implode(';',$za_onload_array);
    
      //ensure we have just one ';' between each, and at the end
      $zv_onload = str_replace(';;',';',$zv_onload.';');
    
      // ensure that a blank list is truly blank and thus ignored.
      if (trim($zv_onload) == ';') $zv_onload='';
    /**
     * Define the template that will govern the overall page layout, can be done on a page by page basis
     * or using a default template. The default template installed will be a standard 3 column layout. This
     * template also loads the page body code based on the variable $body_code.
     */
      require($template->get_template_dir('tpl_main_page.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_main_page.php');
    ?>
    </html>
    <?php
    /**
     * Load general code run before page closes
     */
    ?>
    <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
    </div></div>
    <div class="footerweb">
      <div id="footercontent"> <a href="gallery.html">Gallery</a> | <a href="services.html">Services</a> | <a href="available.html">Available</a> | <a href="species.html">Species</a> | <a href="http://www.uptownbirds.com/shoponline/">Shop Online</a> | <a href="#">Contact</a> | <a href="http://www.uptownbirds.com/blog/">Blog</a> | <a href="index.html">Home</a><br />
      Copyright 2008 Uptown Birds, LLC | Designed &amp; Developed by <a href="http://www.triplemoonsdesign.com" target="_blank">Triple Moons Design</a> | Cart Powered by <a href="http://zen-cart.com">Zen Cart</a></div>
    </div>
    </body>
    </html>
    [FONT=Century Gothic].: Stef :.[/FONT]

  7. #7
    Join Date
    Oct 2006
    Location
    Hanover, PA
    Posts
    71
    Plugin Contributions
    0

    Default Re: Add Product, Page Disappears

    I switched to the classic template and the problem still exists, so it has nothing to do with my template.

    Does anyone know what this problem is?
    [FONT=Century Gothic].: Stef :.[/FONT]

  8. #8
    Join Date
    Aug 2007
    Location
    Newcastle, NSW, Australia
    Posts
    13
    Plugin Contributions
    0

    Default Re: Add Product, Page Disappears

    Hi Stef

    I just solved the identical problem! Wizzo!!

    It must have been an error in modifying includes/languages/english.php as a fresh upload of the file solved the issue completely.

    Charlie

  9. #9
    Join Date
    Oct 2006
    Location
    Hanover, PA
    Posts
    71
    Plugin Contributions
    0

    Default Re: Add Product, Page Disappears

    No, that wasn't my problem. I actually have no idea what the problem was, but I recreated my index.php file (the one I was getting those errors from) and everything worked after that. So when I was editing the other one I may have boo-booed and put something in that wasn't supposed to be there.
    [FONT=Century Gothic].: Stef :.[/FONT]

 

 

Similar Threads

  1. Shopping icon disappears on product page
    By jimmie in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 16 Nov 2013, 01:42 AM
  2. One product page disappears - Others OK
    By suzijohn in forum Basic Configuration
    Replies: 1
    Last Post: 16 Mar 2011, 04:22 AM
  3. Footer disappears when adding product on product info page.
    By GodfatherAntiques in forum General Questions
    Replies: 0
    Last Post: 12 Mar 2011, 08:01 PM
  4. Right Layout box disappears on Product Info Page
    By hamid84 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 4 Oct 2010, 08:05 PM
  5. Footer Disappears on Product Info Page Only
    By BlackOrchidCouture in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 8 Jun 2010, 11:38 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