Zen Cart Logo
Forums / General Questions / Warning message not showing

Warning message not showing

Locked

Views: 924

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
18 Aug 2008, 11:03 AM
#1
thecookbookshop avatar

thecookbookshop

New Zenner

Join Date:
Aug 2008
Posts:
3
Plugin Contributions:
0

Warning message not showing

Hi

I have a local off line website that has everything running perfect. However on the online website, which is exactly the same (except Magic SEO is installed) the warning message does not show when no products are found from the search menu.

I have copied /pages folder from my offline website which shows the warning onto my main website but still no luck.

I printed out from line 457 on header_php.php

if ($result->number_of_rows == 0) {.. }

the $result->number_of_rows and on both I get a 0 when expect, so im lost now :unsure:

Looking at the source code from my offline and online the only difference I can see is:

<div class="messageStackCaution larger"><img src="includes/templates/cookbookshop-yellow/images/icons/warning.gif" alt="Warning" title=" Warning " width="20" height="20" /> There is no product that matches the search criteria.</div>

p.s Do this have anything to do with magic SEO, says on its website it does no effect any code??

Any help or ideas would be much appreciated.

Thank you

10 Sep 2008, 2:36 PM
#2
thecookbookshop avatar

thecookbookshop

New Zenner

Join Date:
Aug 2008
Posts:
3
Plugin Contributions:
0

Re: Warning message not showing

Please anyone? Still had no luck. Did a search for anyfile that contains "seach" on my offline site, then uploaded the files over my online files but still not working?

Spent ages on this now :frusty:

26 Nov 2008, 6:38 PM
#3
tekram avatar

tekram

Zen Follower

Join Date:
Feb 2006
Posts:
111
Plugin Contributions:
0

Re: Warning message not showing

Any solution to this? i am getting the same prob...