We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10529
    • 73 Posts
    Finally got around to upgrading from 1.02 to 1.05 on quite a big site - all working except for a really frustrating issue in that on my home page I’m unable to use Quick Manager - all I get is a black screen.

    After hours of fiddling, I’ve narrowed it down to one snippet that is causing the conflict - if I take that snippet off the page then all works

    The snippet pulls the live weather data in from another file and also stops people from using the file on their own sites, which has happened in the past http://www.anotherharddayattheoffice.co.uk/weathercam.html

    This is the first part of the HTML template code
    {{SSBlogHeader2011}}
    			{{SSNavigation}}
    		</div><!-- end #top -->
    	{{SSSlideshow2011}}
    <div id="main">
    			<div id="content">
    				<div id="maintext">
    
    			
    </div><!-- end #maintext -->
    
    <div class="grid1">
    
    [*#content*]
    [*WeatherBlog*]
    </div>
    
    <div class="grid2">
    <h4>Current Weather</h4>
             [!Weather1!]
    </div>
    <div class="grid3">
    </div>
    
    <div class="grid2">
    [*Tides*]
    </div>


    And the offending snippet is [!Weather1!]

    Here’s the code

    <?php
    $section = "weather";
    $allow = true;
    $allowedReferrers = array('anotherharddayattheoffice.co.uk');
    if(strlen($_SERVER['HTTP_REFERER'])>1) {
    	foreach ($allowedReferrers as $referer) {
    		if(stristr($_SERVER['HTTP_REFERER'],$referer))
    		{
    			$allow = true;			
    		}
    	}
    } 
    $output = '';
    if($allow) { 
    
    ob_start();
    include_once('031258.htm');
    $output = ob_get_contents();
    ob_end_clean();
    
     } else { 
    $output = '<img src="http://www.seaspritesports.com/images/header2007.jpg" onLoad="window.location=\'http://www.seaspritesports.com/\'"></img>';
     }
    return "".$output."";
    ?>


    Any ideas?
      • 16610
      • 634 Posts
      What is the content of file: 031258.htm?

      Seems like a javascript conflict. Do you use jQuery or other JS libraries on front-end? Check QM+ plugin configuration options, especially "Query noConflict mode in front-end".
        Mikko Lammi, Owner at Maagit