Jack_mcs Posted January 3, 2022 Share Posted January 3, 2022 @artfulweb The error occurs when something is displayed before the code but finding that can be difficult. Here are some things to check: - Check in the includes/hooks/shop/sitewide/ and templates/default/includes/hooks/shop/sitewide/ directories to see if there are any files added by addons. There will be some files there so you need to look at the original files to see which are not added by addons. If there are others, you can try renaming this one to something like aaa_seoUrl.php. The inclusion of hook files are done alphabetically so renaming it assures it is loafed before the others. As far as I know this only applies but directory but it might be better to search all of the includes/hooks/shop/ files (and the one in templates) for the startsearch code. Again, some of the stock ones will have that code. You just need to look for ones that are not stock files, - Try to isolate the failure. To do this, add a link, using the tep_href_link function, on a page that doesn't have one - maybe the contact us page. If the error still occurs then it is probably due to something in one of the modules. Try turning off modules, like navbar, logo and infoboxes. This is difficult for a live shop but it is a good way to elimiate potential problems. I would concentrate first on modules that were added by addons. As mentioned, the addon works for me here but that is in a test shop without any addons. - Try enabling the developer console in your browser. Cause the error to occur and then check the path the code took to get there. Any file in the path can be the cause. If one of them has a space before the first <?php or if a file has the BOM set, it will cause this. For the BOM you will need a program or editor that can identify that. Again, I would look at files added by addons first. - Assuming the problem is due to an addon or your installation, the quickest way might be to create a new shop and just install this addon. If it works, which it should, then you can install the other addons you use and see if it fails at some point. That's all I can think of for now. I hope it helps find the problem. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.