Page 1 of 1

Blank results screen

Posted: Fri Feb 08, 2013 4:01 pm
by Delpfine
I am new to Alegro Cart. It is the fourth cart that I've downloaded. I like it the best for customization of all the carts that I have tried. Thanks! I have several questions, so I'll start in this thread with the most important one.

I have added a product to each category that I created and two products in one category. Two days ago I could see the products in the shop. But, starting yesterday, I can't see anything in the results except for the pagination bar and the breadcrumbs. For example, for the Bracelets category that has two products, it correctly says "Results 1 - 2 of 2." And, the breadcrumbs says "Home > Bracelets." But the rest of the center is blank.

I've been in the css a lot and some of the php. If I touched something, I don't know what I did! My shop is:

http://www.delpfinewelchdesigns.com/shop

After I get this one solved, I'll ask my next question. ;)

Re: Blank results screen

Posted: Fri Feb 08, 2013 5:16 pm
by Brent
It appears something in the multi column display template is creating an error. Check your error log files to see if any error show. In the center of your page source, you will see where the display is supposed to be.

Code: Select all

<?php } else { ?> <!-- Muliple column display --> 
  <?php if($columns > 1){
   $heading_info = isset($heading_info) ? " - " . $heading_info : " - ".$text_product;
   include $shared_path . 'multiple_columns.tpl';
  }?>
 <?php } ?> 
  <!-- End of mulitple column display -->
For some reason, the include is not happening.

Re: Blank results screen

Posted: Sat Feb 09, 2013 8:52 am
by Delpfine
Would the error log be in logs > error_log? The only file in the folder is index.php.

I see in the source where that section is missing. Which file do I need to add the section to?

Thanks.

Re: Blank results screen

Posted: Sat Feb 09, 2013 10:18 am
by Brent
The main file that generates this it the template/default/content/category.tpl
That file creates the breadcrumbs and results that you now see.
It then calls the multiple_columns.tpl and this is what creates your display that is missing.
Did you modify either of these two files?

Re: Blank results screen

Posted: Sat Feb 09, 2013 12:40 pm
by Delpfine
No, I didn't modify either of those files. What I did do was switch back and forth from two to three to two columns from the admin dashboard. The missing section in the page source is there in the category.tpl file.

Re: Blank results screen

Posted: Sat Feb 09, 2013 3:33 pm
by Brent
Could you check in the shared folder and make sure the file multiple_columns.tpl was uploaded. It is like it is not being loaded and run.

Re: Blank results screen

Posted: Sun Feb 10, 2013 8:28 am
by Delpfine
Yes, I see multiple_columns.tpl in the catalog > template > default > shared folder.

Re: Blank results screen

Posted: Sun Feb 10, 2013 10:01 am
by Brent
You need to retrace the steps for what you changed in the PHP code in the catagory.

Re: Blank results screen

Posted: Mon Feb 11, 2013 11:39 am
by Delpfine
All fixed now. Thanks!