shopeasy Posted October 4, 2010 Share Posted October 4, 2010 Hi everyone,I was going to post this in a specific section, but I can't work out if it's a "Module" problem, "Configuration" problem etc, etc, etc, so I thought "General Discussion" might be the best place.I am having many errors with various site "Links" to other pages. The error locks up IE when one of these links is selected and you end up with the usual "Internet Explorer - Not Responding" and the only way to shut it down is via Task Manager.On links that work, the the address for the specific page is shown in the bottom left hand corner of IE (above the "Start" button") as: - http://www.mysite.com/contact-form.php and so on. These links actually work fine, no problems.On links that don't work, the address for the specific page, again, shown in the bottom left hand corner of IE (above the "Start" button) as: - http://www.mysite.com/content/1-delivery. With all the links that don't work, the are showing this "address".These dodgy file address are present in the "footer Links", "Site Map" and the "Information" links.The thing is that there is no "content" folder in either the root directory or anywhere in in side Presta Shop that I can find. All these links that are not working are looking for the respective file in a "contents" folder that does not appear to exist. Also I noticed that after you click on one of these links, the "addressing" above the Start Button (bottom left corner of IE) changes to "waitinf for http://www.mysite.com/content/modules/blockphponline/modules/blockphponline.....................(can't see the rest, hidden behind progress bar) and then this is where it locks up. Another unusual this is that in the "Online Help Block", the picture for the Online/Offline becomes a piece of the sites main logo that is normally at the top header. The main store logo is still up on the top header in it's correct position, but a piece of it is where the Online/Offline image should be.I have been having issues with the "Online Help Module" and post some question in the "Modules" forum but haven't got any help with this yet. I have got it working mostly, so although the problem is not fully resolved yet, it's not as bad as when I posted regarding this.I fumble around with HTML and PHP and am by no means a [spam-filter], real rank amature would best fit. I really need help with this "big time". I am trying really hard to get this site "live" very soon and so far have done o.k. with tweaking things.This issue has brought me to a grinding halt though. This is way beyond anything I have learn't so far. The "Legal Notice" is one of the links that is faulty and I can't even find any reference to the words Legal Notice" after searching every file in the whole of my Presta Shop install.If any one can help me to find and fix this huge major site error, I would so, so much appreciate it. This problem is so bad, I can never go live with it still there. Any one that visits the site and clicks on one of these links will have their PC/Laptop freeze up straight away.Please, please, please help me ...............................................MarkSED Link to comment Share on other sites More sharing options...
rocky Posted October 5, 2010 Share Posted October 5, 2010 The "content" directory is an imaginary directory created by friendly URLs. You will get "not found" errors if you turn on Friendly URLs, but forget to generate a .htaccess file. Upload a blank .htaccess file with chmod 666 permissions if one doesn't already exist, then go to Tools > Generators tab and click "Generate .htaccess file". Link to comment Share on other sites More sharing options...
shopeasy Posted October 6, 2010 Author Share Posted October 6, 2010 Hi Rocky,Thanks for your reply.I tried what you suggested and created a new .htaccess file. On the front end, it didn't change the messed up links. When I went back into the back end, I was locked out completely. Requested a new password several times and none of the new passwords were working.Got fed up so I trashed everything on the host and decide to upload and install v1.3.2 instead. Thought I should as I was starting all over again anyway. Did a fresh install, no mod's at all and the links were working but the reference was coming up as: cms.php?id_cms=#, not with the /content/ reference that was appearing before.All the links were working properly. Went into BO and changed to "friendly URL's" and went back to front end. The reference of /content/ was back and the links stopped working again. Switched off "friendly URL's" and checked again, and their working again.Look's like my host does not accept friendly URL rerouting.As a complete newbie, can I ask you what problems/disadvantages this is going to cause for me ?Thanks again for your help.SED Link to comment Share on other sites More sharing options...
rocky Posted October 6, 2010 Share Posted October 6, 2010 It won't cause any problems to have friendly URLs turned off. It just means your site's URLs won't be search-engine or user-friendly. Link to comment Share on other sites More sharing options...
shopeasy Posted October 6, 2010 Author Share Posted October 6, 2010 Thanks again for your reply rocky,I have found the problem (not fixed yet) that is causing this. The server does allow friendly URL and the fault is with the blockphponline Live Help module I installed.Some where in this module is a coding error that is giving me an error reported on one of my server error logs as;File does not exist: /home/local_host/public_html/content, referer: http://www.mysite.com/content/modules/blockphponline/modules/blockphponline/modules/blockphponline/modules/blockphponline/PrestaShopCpop.htmlSome thing in this module is requesting this html page from the same directory but 4 times in a row and of course, no such directory exists.Any ideas on which file from this module would request this PrestaShopCpop.html file ?P.S. with this module removed, friendly URL is enabled and no errors in any links. I want to fix this because I really like this OnLine Help module especially the BO function.SED Link to comment Share on other sites More sharing options...
rocky Posted October 6, 2010 Share Posted October 6, 2010 Sorry, I've never used that module before, so I can't help. I suggest that you check the module's thread for help. If there isn't a solution there, send a message to the creator of the module. Link to comment Share on other sites More sharing options...
shopeasy Posted October 7, 2010 Author Share Posted October 7, 2010 Thanks Rocky,I have already checked the thread many times but no one else has reported this problem. I have tried to contact the modules author but he hasn't been on in a while and hasn't responded.Frustration led me to go through the files one by one. I have found that this module is not URL friendly so have made some changes to a couple of files and all good now. Works perfect.Hope the author doesn't mind me changing some of his code.P.S. How do I change the topic's title to read [sOLVED]SED Link to comment Share on other sites More sharing options...
rocky Posted October 7, 2010 Share Posted October 7, 2010 Click the EDIT button on your first post, then you can edit the topic title and add [sOLVED] to the front. Link to comment Share on other sites More sharing options...
ballhog Posted March 19, 2011 Share Posted March 19, 2011 To fix Contact Us this is what I did. I opened " modules/blockcmx/blockcms.tpl "original line :getPageLink('contact-form.php', true)}" title="{l s='Contact us' mod='blockcms'}">{l s='Contact us' mod='blockcms'}Added ' / ' Slash as such to contact-form.php to make it /conact-form.phpgetPageLink('/contact-form.php', true)}" title="{l s='Contact us' mod='blockcms'}">{l s='Contact us' mod='blockcms'}Actually had to add the forward slash to all links to a php file. Link to comment Share on other sites More sharing options...
Recommended Posts