abigail Posted September 24, 2018 Share Posted September 24, 2018 I've had this code working for years. A few months ago the links (to affiliate site) stopped showing. I didn't do anything about it until a few weeks ago. I noticed that the links showed in Opera and not in Firefox. I added a line that advises people to use another browser other than Opera. I also posted at FF forum but no one there knows why this is happening to me. Today I went to Opera and the links do not show there either. These links are provided by the affiliate site and I have no control over them, but I don't notice anything unusual about them. Hopefully Larry or someone else will see the problem. Following is the code that is included. <?php if (!defined('ADVICE_ENV')) { die;} // this is for the new pages that I don't have a banner ?> <p class="noshowlink-box"><title="In case the link does not show.">In case the link does not show you should use a different browser such as Opera.</p> <div class="centered-banner"> <script type="text/javascript" src="http://www.the-tree-of-life.com/lib/jquery/jquery.js"></script> <script type="text/javascript" src="http://www.the-tree-of-life.com/js/core.js"></script> <script type="text/javascript"> //<![CDATA[ if (typeof(cart_banner) == "undefined") var cart_banner = new Array(); cart_banner[25] = { BoxWidth: '236', BoxHeight: '16', OutlineColor: '#296DC1', TitleTextColor: '#FDFDFD', TextColor: '#333333', TextBackgroundColor: '#F9F9FF', ShowURL: 'Y' /* Y - yes; N - no*/ } //]]> </script> <script id="id_script_banner_25" type="text/javascript" src="http://www.the-tree-of-life.com/index.php?dispatch=aff_banner.view&bid=25&type=js_content&sl=EN&product_ids=&aff_id=55"></script> </div> <p class="na-box">This Banner Link is not yet available, meanwhile, click on banner above and search for this treatment.</p> And here is link to one place that file is included and the link should show. These links are all around my website. http://adviceofthequeen.com/unique/reactive-airways-disease-treatment#reactive-airways-disease-treatment This is running on Windows 7. I think I also tested at the library and the links did not show using FF. I just noticed the webhostinghub gives me the option to change my PHP version but I have no idea if I should do this. I can go up to 7.2Current: PHP 5.4System Default: PHP 7.0 Link to comment Share on other sites More sharing options...
Larry Posted September 26, 2018 Share Posted September 26, 2018 If I try to load http://www.the-tree-of-life.com/lib/jquery/jquery.js directly in my browser I get a 404. Same for the core.js script. It looks like those files have been moved. You should talk to whomever gave you those links to use to find out what links you should use now instead. Link to comment Share on other sites More sharing options...
abigail Posted September 26, 2018 Author Share Posted September 26, 2018 Thank you very much for pointing that out to me. However, when I go to my site, adviceofthequeen.com, the links do not even show. That is a separate problem, right? That I need to solve. Link to comment Share on other sites More sharing options...
abigail Posted September 26, 2018 Author Share Posted September 26, 2018 One other thing I noticed with that site and it's 404 page, it appears they are forcing the entire site to https (before only the login pages and such were https). Apparently, when they change that script to https, that is when the page is not found. That they will probably fix once they become aware of this. But that link still does not show on my site. Link to comment Share on other sites More sharing options...
Larry Posted September 26, 2018 Share Posted September 26, 2018 Yes, it looks like your site doesn't include those JavaScript links. I don't know if that's a problem or not (it is a problem if your site needs that JavaScript). But it's pretty unusual to pull a JS file from another site. Link to comment Share on other sites More sharing options...
abigail Posted September 26, 2018 Author Share Posted September 26, 2018 This is the way that affiliate site gave me the links. I have no choice about that. And I do need those links. The last thing I can think of is Malwarebytes, which I have submitted a ticket to them. Link to comment Share on other sites More sharing options...
Recommended Posts