Error 500 when trying to add plugins : where to change php informations ?

Posted in: Newspaper
Post count: 15

Hello,
I have issues with the theme : error 500 appears when I try to add an extension.

I tried to use this guide : https://forum.tagdiv.com/requirements-for-newspaper/
but I dont find the lines in the files php.ini and .htaccess

Do I have to add it ? Is it somewhere else ?
Thank you

Post count: 37

You should try on a staging site first…

Post count: 15

Yeah, the website is quite new, so almost nobody is coming on it right now.
Any help ?

Post count: 15

I don’t know if it helps, but the server of my website is 1&1 / ionos.
Thank you for your help !

Post count: 22421

Hi,
This usually happens when you have too little WP memory. Usually it is the default 40mb. You need to increase this to 256mb and also increase the php memory by using this guide: https://forum.tagdiv.com/requirements-for-newspaper/

Thank you!

Post count: 15

Hello,
That’s exactly what I tried to do, but as I said in my first post, I don’t know where to change that lines, because they are not in the php.ini and .htaccess files.

php.ini
max_input_vars = 5000
max_execution_time = 300
post_max_size = 50M
upload_max_filesize = 50M

.htaccess
php_value max_input_vars 5000
php_value max_execution_time 300
php_value post_max_size 50M
php_value upload_max_filesize 50M

Are the lines available in another file ?
Do I have to add the lines ? if yes, where ?

I would be happy getting some help here, thanks !

Post count: 15

Up !
Any help with that please ?

Post count: 1043

Ensure in the root folder of your site (in cpanel) you click on settings on the top right corner and enable this option and save http://prntscr.com/mj7ozh. You should see your .htaccess. Just copy the code provided in the guide for .htaccess and paste it just above where it says #Begin WordPress . For the php.ini just look for multiphp ini editor in your cpanel and make the changes from there by inserting the values provided.

Post count: 15

Hi,
Thank you for you answer. I just did that, but it seems that something is going wrong… :s
Am I doing something bad ?

.htaccess file
htaccess

on my website
website

Post count: 15

Hi guys,
Any help with that, please ?
Thank you very much
Jonathan

Post count: 15

Up ?
Any help ? I’m still strugling here. Thank you

Post count: 20688

Hi,

The best way of doing this would be to contact the hosting provider and ask them to do it for you, or at least specify what is their recommend method of doing it.
Also ask if it’s possible to upgrade the PHP version to 7 or 7.1, older versions if used can cause various problems.

Thanks

Post count: 15

Hi Simion,

My PHP version is already 7.2
I will try to ask them about this then, thank you.

Post count: 15

OK i found the information, so here is what should be the parameters right now.
Should be OK then, no ?

php

Help :'(

Post count: 20688

Those look alright, please send us an email at contact@tagdiv.com and provide admin login, as well as cPanel if possible. Mention what should be do exactly to see the issue. We will investigate. Include a link to this topic in the email.

Post count: 15

Hi Simion,
I just sent you an email. Thank you 🙂

Viewing 16 posts - 1 through 16 (of 16 total)
The forum ‘Newspaper’ is closed to new topics and replies.