Viewof fopen magicquotes error in PrestashopWhen configuring your Prestashop ecommerce site you may run into a problem in the configuration that gives an error for magicquotes or fopen. (See snapshot to the right) This is caused by a configuration setting in your php.ini that needs to be changed.

Check your configuration

Required parameters: OK

Optional parameters: Please fix the following error(s)

    fopen
    magicquotes

You will need to have fopen On and Magicquotes Off for these errors to go away. Below are the steps to fix the fopen and magicquotes error in your PrestaShop configuration.

Fixing the fopen and magicquotes error

  1. Login into your cPanel.
  2. Go to the File Manager, select your public_html directory and click Go.
  3. Open your php.ini with the code editor.

    Code view of phpini PrestashopFind the allow_url_fopen line like the code below and change it from Off to On. (See image to the right)

    ;;;;;;;;;;;;;;;;;;
    ; Fopen wrappers ;
    ;;;;;;;;;;;;;;;;;;
    
    ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    allow_url_fopen = Off

    Code view of magicquotes PrestashopFind the magic_quotes_gpc line like the code below and change it from On to Off. (See image to the right)

    ;Magic quotes
    ;
    
    ; Magic quotes for incoming GET/POST/Cookie data.
    magic_quotes_gpc = On

  4. Log into your PrestaShop Dashboard.
  5. Click the Configuration Information PrestashopGo to Advanced Parameters > Configuration Information.
  6. Parameters OK PrestashopLook at the Check your configuration again. This time you should see the errors gone with the required and optional parameters showing as OK.
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Like this Article?

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!