Page 1 of 1

Data not being populated in the admin

Posted: Mon Aug 20, 2012 10:48 am
by vaidyanathan
Hi,
I've got my site started up on port 8080 and it looks like it is supposed to look.
I'm also able to login to the admin site - however I don't see any data in there - it's empty.
The admin started up here: http://localhost:8081/admin

So in the tutorial where we change the content of the 'FAQ Page', I see that nothing is being displayed in the 'FAQ page' in the first place and secondly there are no entries under 'content-management->pages' ..

Looks like the site and the admin are talking to different databases.
I'm using 2.0.0 M4

Re: Data not being populated in the admin

Posted: Mon Aug 20, 2012 10:53 am
by vaidyanathan
Duh, sorry, my bad - it does not show up all the pages by default and you have to enter FAQ in the description ...

BUG in rendering of the FAQ page

Posted: Mon Aug 20, 2012 11:17 am
by vaidyanathan
Hi,
Looks like the FAQ page has a bug.
The normal HTML comes in, till the header - the body part AGAIN has all the HTML content - this is in 2.0.0.M4

Check the 'view-source' of the rendered FAQ page (note HEAD element coming in two times):

Code: Select all

<!DOCTYPE HTML>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--><!--[if IE 7]>    <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]--><!--[if IE 8]>    <html class="no-js lt-ie9" lang="en"> <![endif]--><!--[if gt IE 8]><!--><html class="no-js" lang="en"><!--<![endif]-->

<head>
   <meta charset="utf-8" />
   <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

   <title>Broadleaf Demo</title>
   <meta name="description" content="Broadleaf Demo Store" />
   <meta name="author" content="Broadleaf Commerce" />

   <meta name="viewport" content="width=device-width" />
   
    <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,600|Oxygen" type="text/css" />
    <link rel="stylesheet" href="/css/jquery.rating.css" />
   <link rel="stylesheet" href="/css/style.css" />
   

   <script src="/js/libs/modernizr-2.5.3.min.js"></script>
</head>

<body>
   <div id="notification_bar"></div>
   <header>
   <div id="header_content">
      <div id="cart_info">
         
            <a class="account" href="/login">Login</a>
            &nbsp;|&nbsp;
            <a class="account" href="/register">Register</a>
            &nbsp;|&nbsp;
         
         
         <a id="cartLink" class="fancycart" href="/cart">
            <img alt="Shopping Cart Icon" src="/img/shopping_cart.png" />
            &nbsp;
            <span class="headerCartItemsCount">0</span>
            <span class="headerCartItemsCountWord"> items</span>
         </a>
      </div>
      
      <div id="logo"><h1><a href="/">The Heat Clinic Home</a></h1></div>
      
      <div id="search">
         <form method="GET" action="/search">
         <input type="text" class="search" name="q" value="" />
         <input type="submit" id="search_button" value="go" />
         </form>
      </div>
   </div>
</header>
   
   <div id="content" class="width_setter group" role="main">
   
      <nav>   
   
   
   
   <ul>
      <li>
         <a class="home" href="/">Home</a>
      </li><li>
         <a href="/hot-sauces">Hot Sauces</a>
      </li><li>
         <a href="/merchandise">Merchandise</a>
      </li><li>
         <a href="/clearance">Clearance</a>
      </li><li>
         <a href="/new-to-hot-sauce">New to Hot Sauce?</a>
      </li><li>
         <a href="/faq">FAQs</a>
      </li>
   </ul>
</nav>
      
      <!DOCTYPE HTML>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--><!--[if IE 7]>    <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]--><!--[if IE 8]>    <html class="no-js lt-ie9" lang="en"> <![endif]--><!--[if gt IE 8]><!--><html class="no-js" lang="en"><!--<![endif]-->

<head>
   <meta charset="utf-8" />
   <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

   <title>Broadleaf Demo</title>
   <meta name="description" content="Broadleaf Demo Store" />
   <meta name="author" content="Broadleaf Commerce" />

   <meta name="viewport" content="width=device-width" />
   
    <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,600|Oxygen" type="text/css" />
    <link rel="stylesheet" href="/css/jquery.rating.css" />
   <link rel="stylesheet" href="/css/style.css" />
   

   <script src="/js/libs/modernizr-2.5.3.min.js"></script>
</head>

<body>
   <div id="notification_bar"></div>
   <header>
   <div id="header_content">
      <div id="cart_info">
         
            <a class="account" href="/login">Login</a>
            &nbsp;|&nbsp;
            <a class="account" href="/register">Register</a>
            &nbsp;|&nbsp;
         
         
         <a id="cartLink" class="fancycart" href="/cart">
            <img alt="Shopping Cart Icon" src="/img/shopping_cart.png" />
            &nbsp;
            <span class="headerCartItemsCount">0</span>
            <span class="headerCartItemsCountWord"> items</span>
         </a>
      </div>
      
      <div id="logo"><h1><a href="/">The Heat Clinic Home</a></h1></div>
      
      <div id="search">
         <form method="GET" action="/search">
         <input type="text" class="search" name="q" value="" />
         <input type="submit" id="search_button" value="go" />
         </form>
      </div>
   </div>
</header>
   
   <div id="content" class="width_setter group" role="main">
   
      <nav>   
   
   
   
   <ul>
      <li>
         <a class="home" href="/">Home</a>
      </li><li>
         <a href="/hot-sauces">Hot Sauces</a>
      </li><li>
         <a href="/merchandise">Merchandise</a>
      </li><li>
         <a href="/clearance">Clearance</a>
      </li><li>
         <a href="/new-to-hot-sauce">New to Hot Sauce?</a>
      </li><li>
         <a href="/faq">FAQs</a>
      </li>
   </ul>
</nav>
      
      <section id="left_column">
   
         <header>
            <h1></h1>
         </header>
         
         <div class="clearfix"></div>
         
         <div></div>
         
      </section>
   
      <section id="right_column">
         <header>Featured Products</header>
         <div id="options">
            <div class="section">
               <a href=""><img src="img/bannerad.jpg" alt="The Essentials Collection" /></a>
            </div>
            
            <div class="section">
               <h3>Must Have Sauces</h3>
               <ul id="featured_products">
                  <li>
                     <div class="image">
                        <a href="sauce.html">
                        <img src="img/sauces/Day-of-the-Dead-Habanero-Hot-Sauce-Close.jpg" alt="Sauce Image" />
                        <div class="price">$6.99</div>
                        </a>
                     </div>
                     
                     <div class="content">
                     <div class="title">Day of the Dead Habanero Hot Sauce</div>
                        Donec sed odio dui. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.
                     </div>
                     <div class="add_to_cart"><a href="">Buy Now</a></div>
                  </li>
                  
                  <li>
                     <div class="image">
                        <a href="sauce.html">
                        <img src="img/sauces/Blazin-Saddle-XXX-Hot-Habanero-Pepper-Sauce-Close.jpg" alt="Sauce Image" />
                        <div class="price">$6.99</div>
                        </a>
                     </div>
                     
                     <div class="content">
                     <div class="title">Blazin' Saddle XXX Hot Habanero Pepper Sauce</div>
                        Donec sed odio dui. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.
                     </div>
                     <div class="add_to_cart"><a href="">Buy Now</a></div>
                  </li>            
               </ul>
            </div>
         </div>
         
      </section>
      
         
   </div>
   
   <footer class="group">
   <div id="left_content">
      <h4>Delivering Texas Sized Heat</h4>
      &copy; Copyright 2012 The Heat Clinic<br />
      <a href="">Privacy Policy</a>
   </div>
   <div id="right_content">
      <h4>Since Nineteen Seventy Eight</h4>
      All Rights Reserved.<br />
      <a href="">Customer Service</a>
   </div>
   
   
   
   <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
   <script>
      //<![CDATA[
      window.jQuery || document.write('<script src="js/libs/jquery-1.7.2.min.js"><\/script>')
      //]]>
   </script>
   
   <script src="/js/plugins.js"></script>
   <script src="/js/libs/jquery.MetaData.js"></script>
   <script src="/js/libs/jquery.rating.pack.js"></script>
   
   
   <script src="/js/BLC.js"></script>
   <script src="/js/heatClinic.js"></script>
   <script src="/js/accountOperations.js"></script>
   <script src="/js/cartOperations.js"></script>
    <script src="/js/checkoutOperations.js"></script>
   <script src="/js/globalOnReady.js"></script>
    <script src="/js/manageAccountOperations.js"></script>
    <script src="/js/reviewOperations.js"></script>
   
</footer>
   
</body>
</html>
         
   </div>
   
   <footer class="group">
   <div id="left_content">
      <h4>Delivering Texas Sized Heat</h4>
      &copy; Copyright 2012 The Heat Clinic<br />
      <a href="">Privacy Policy</a>
   </div>
   <div id="right_content">
      <h4>Since Nineteen Seventy Eight</h4>
      All Rights Reserved.<br />
      <a href="">Customer Service</a>
   </div>
   
   
   
   <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
   <script>
      //<![CDATA[
      window.jQuery || document.write('<script src="js/libs/jquery-1.7.2.min.js"><\/script>')
      //]]>
   </script>
   
   <script src="/js/plugins.js"></script>
   <script src="/js/libs/jquery.MetaData.js"></script>
   <script src="/js/libs/jquery.rating.pack.js"></script>
   
   
   <script src="/js/BLC.js"></script>
   <script src="/js/heatClinic.js"></script>
   <script src="/js/accountOperations.js"></script>
   <script src="/js/cartOperations.js"></script>
    <script src="/js/checkoutOperations.js"></script>
   <script src="/js/globalOnReady.js"></script>
    <script src="/js/manageAccountOperations.js"></script>
    <script src="/js/reviewOperations.js"></script>
   
</footer>
   
</body>
</html>

Re: Data not being populated in the admin

Posted: Tue Aug 21, 2012 9:00 am
by aazzolini
Can you try this on M5 and let me know if it's still an issue?

If it's still happening, I'll fix it for M6.

Thanks!