Jump to content
sidude

Problem Trying To Insert External Links

Recommended Posts

Hi, NOW SOLVED see below

 

I'm a new user of Prestashop, have got my site up and running all ok after a few problems which searching the forums are now all ok. However I have run into a problem that I can't seem to solve.

 

Whenever I try and add a link to an external site whether it be on a CMS page or anywhere in the BO by using http://www.domain.com the page won't save and I get want appears to be a 406 unacceptable followed by 404 error.

 

I have no problems with creating internal links its just whenever http:// is put anywhere in a field for a link, even in a description field I get the error when trying to save the page.

 

It must be something simple but I just can't figure it out, everything else BO and FO works fine. I'm sure it must be something simple and I've tried all sorts.

 

If anyone could give me some help or suggestions it would be great.

 

Thanks

 

Prestashop v 1.5.3.1

Edited by sidude (see edit history)

Share this post


Link to post
Share on other sites

Hi Sidude,

A question:

- Is your site up and running on a host, or still ony locally installed? If using a host, do you have cPanel or similar available?

 

If you have cPanel, try the following:

Open the ModSec Manager app (hopefully available, in cPanel normally located as one of the 'security block' apps)

Turn off the mod_security for your website (uncheck the box next to your site domain name)

 

hit the Update button and see if your site still has problems.

 

Let me know if this helps...

 

My 2 cents,

Pascal

Share this post


Link to post
Share on other sites

Hi,

 

The site is up and running on a shared hosting. I have looked in cPanel but do not have Modsec Manager listed anywhere?

 

I have just read googled and tried adding the following code into .htaccess to turn off mod security but it made no difference

 

<IfModule mod_security.c>

SecFilterEngine Off

SecFilterScanPOST Off

</IfModule>

 

Does mod_security need to be diabled in order for Prestashop to work correctly?

 

thanks..

Share this post


Link to post
Share on other sites

It shouldn't (I have it turned on) but sometimes errors like this are connected to it, so I wanted to see if it was a cause in your case...

 

Hmm, we have to think of other causes...

Share this post


Link to post
Share on other sites

Good point!

 

 

It shouldn't (I have it turned on) but sometimes errors like this are connected to it, so I wanted to see if it was a cause in your case...

 

Hmm, we have to think of other causes...

Share this post


Link to post
Share on other sites

Thanks for the replies, I have now sorted the issue out.

 

It was a mod_security issue, PascalVG was correct.

 

I contacted the hosting company who were excellent had a look through at everything for me, it turns out that they tweeked mod_security on my admin folder and everything is now fine.

 

I wasn't aware that mod_security wouldn't affect my BO in this way, I don't know enough about it to be honest but it also appears that it can be directory/folder specific.

 

Anyway thanks PascalVG as you pointed me in the right direction. So if anyone else has this problem it looks like this is the answer.

 

Not sure how I amend this topic to solved?

Share this post


Link to post
Share on other sites

Hi sidude,

Glad I could help :-)

Edit original message.

Then press "edit full browser" button

Edit header by adding [sOLVED] at the front

 

Cheers,

Pascal

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More