Blank results screen

General Support for technical Issues relating to AlegroCart
Post Reply
Delpfine
Posts: 142
Joined: Fri Feb 08, 2013 3:47 pm
Location: Austin, TX

Blank results screen

Post by Delpfine » Fri Feb 08, 2013 4:01 pm

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. ;)

User avatar
Brent
Site Admin
Posts: 4459
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh

Re: Blank results screen

Post by Brent » Fri Feb 08, 2013 5:16 pm

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.

Delpfine
Posts: 142
Joined: Fri Feb 08, 2013 3:47 pm
Location: Austin, TX

Re: Blank results screen

Post by Delpfine » Sat Feb 09, 2013 8:52 am

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.

User avatar
Brent
Site Admin
Posts: 4459
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh

Re: Blank results screen

Post by Brent » Sat Feb 09, 2013 10:18 am

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?

Delpfine
Posts: 142
Joined: Fri Feb 08, 2013 3:47 pm
Location: Austin, TX

Re: Blank results screen

Post by Delpfine » Sat Feb 09, 2013 12:40 pm

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.

User avatar
Brent
Site Admin
Posts: 4459
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh

Re: Blank results screen

Post by Brent » Sat Feb 09, 2013 3:33 pm

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.

Delpfine
Posts: 142
Joined: Fri Feb 08, 2013 3:47 pm
Location: Austin, TX

Re: Blank results screen

Post by Delpfine » Sun Feb 10, 2013 8:28 am

Yes, I see multiple_columns.tpl in the catalog > template > default > shared folder.

User avatar
Brent
Site Admin
Posts: 4459
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh

Re: Blank results screen

Post by Brent » Sun Feb 10, 2013 10:01 am

You need to retrace the steps for what you changed in the PHP code in the catagory.

Delpfine
Posts: 142
Joined: Fri Feb 08, 2013 3:47 pm
Location: Austin, TX

Re: Blank results screen

Post by Delpfine » Mon Feb 11, 2013 11:39 am

All fixed now. Thanks!

Post Reply