Jump to content

Missing file and parameter errors


Recommended Posts

I did an auto-install of 1.5.2 through Bluehost then did a one-click upgrade in PS admin and noticed a couple of error messages. How do I fix them?

 

1. Optional parameters: Please fix the following error(s)

  • magicquotes

 

2. Missing files (1)

  • .gitignore

Link to comment
Share on other sites

.gitignore should be optional... Well, at worst, you can create an empty file of this name on the root of your site. Don't forget the initial dot.

magicquotes is a PHP setting that is recommended to disable.

You should have a file named .htaccess at the root of your site. You can edit it and add, at its start, the following lines:

SetEnv REGISTER_GLOBALS 0

SetEnv MAGIC_QUOTES 0

  • Like 1
Link to comment
Share on other sites

  • 1 month later...
.gitignore should be optional... Well, at worst, you can create an empty file of this name on the root of your site. Don't forget the initial dot. magicquotes is a PHP setting that is recommended to disable. You should have a file named .htaccess at the root of your site. You can edit it and add, at its start, the following lines: SetEnv REGISTER_GLOBALS 0 SetEnv MAGIC_QUOTES 0

 

The ROOT meaning ROOT of your server Public_HTML folder or ROOT of the PrestsShop install? I have it installed in a sub directory of a Wordpress installation which is in the ROOT Public_HTML folder. I added magic_quotes_gpc = Off to the WordPress PHP.ini file and no change. I placed your other suggestion in the WordPress .htaccess file and it blocked access to PrestaShop.

 

Has anybody found a solution?

Link to comment
Share on other sites

tried doing the

 

SetEnv REGISTER_GLOBALS 0

SetEnv MAGIC_QUOTES 0

 

in .htaccess file but failed ,

 

any other ideas this is really frustrating

tried doing the

 

SetEnv REGISTER_GLOBALS 0

SetEnv MAGIC_QUOTES 0

 

in .htaccess file but failed ,

 

any other ideas this is really frustrating

 

There was a fix noted in another post to add or create this in a php.ini file of a WordPress installation and place it in your ROOT folder (didn't work for me):

 

; Magic quotes

;

; Magic quotes for incoming GET/POST/Cookie data.

magic_quotes_gpc = Off

; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.

magic_quotes_runtime = Off

; Use Sybase-style magic quotes (escape ' with '' instead of \').

magic_quotes_sybase = Off

extension=pdo.so

extension=pdo_mysql.so

Link to comment
Share on other sites

  • 3 months later...

Hey PS folks,

I run PS v1.5.4.1

I'm just went to an VPS server, all things are going smooth, big Error 503 prob solved!!!

But I have also the follow message in BO --> Advance parameter --> configuration information:

Verplichte parameters: OK

Optionele parameters: Repareer aub de volgende fout(en)

  • magicquotes <----

 

And on the FO, homepage, left colum, under:

 

Notice: Undefined index: s in /home/admin/domains/erotiekfabriek.be/public_html/config/smartyfront.config.inc.php on line 44Notice: Undefined index: s in /home/admin/domains/erotiekfabriek.be/public_html/config/smartyfront.config.inc.php on line 54

 

I have try to add the lines as above to add to my php.ini

But nothing chance.

I'm new in the VPS word and where can you chance things in your server enviroment?

 

Best Regards,

Generaal

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...