dimanche 19 avril 2015

Wordpress displays content of my php.ini file on every pages

I'm facing a real problem that i've never seen before.. I could'nt find any post on this subject on any help forum. So please help me if you encountered this thing !! :)


Let me explain: I'm hosting a wordpress site at 1and1.com on a mutualized hosting. All is up to date (wordpress and all plugins installed) The problem is that it shows twice the content of my php.ini file on the top of every pages of my site. Here is the text displayed:



upload_max_filesize = 64M
post_max_size = 64M
memory_limit = 128M
upload_max_filesize = 64M
post_max_size = 64M
memory_limit = 128M


It appears just after the BODY opening tag.


I managed to solve the problem once last week by deleting the php.ini file but it seems that it has been recreated automatically because the problem appears again today.


EDIT: I found that only php.ini files located in the 2 following directories are displayed: /wp-content/plugins/js_composer/include/autoload/params /wp-content/plugins/js_composer/include/autoload/vendors They are directories from the plugin : Visual Composer It seems to include every files located in that directory without any distinction between .php or any other extension or name. Is it a normal behavior?


Does anyone has information about this? Or just a direction to search?


Thank you very much for any idea!


Aucun commentaire:

Enregistrer un commentaire