Moderator
t-p
(@t-p)
Internal server errors are usually described in more detail in the server error log. If you have access to your server error log, generate the error again, note the date and time, then immediately check your server error log for any errors that occurred during that time period. If you don’t have access to your server error log, ask your hosting provider to look for you.
Meanwhile try:
so if you have access to your admin panel, try deactivating all plugins. If you don’t have access to your admin panel, try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.
If that does not resolve the issue, try switching to the default theme for your version of WordPress to rule-out a theme-specific issue. If you don’t have access to your admin panel, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue.
yeah i have access in my Cpanel the last time i edit something in file .htaccess
and suddenly i got the error I use a lot of different way like i change name of plugins
plugins-test and themes-test to try refresh page to see it work or not and still got the error i deleted the file .htaccess and i still got the error
i increase the memory limit into wp-config.php
i add php.ini with 256m memory limit inside folder wp-admin
i download this file display_error.php from support and i didn’t know where error coming from
it show me this
<?
$version = phpversion();
if (preg_match(“/^5.2/” , $version))
{
$version = ‘5.2’;
}
if (preg_match(“/^5.3/” , $version))
{
$extension = ini_get(“extension_dir”);
if (preg_match(“/\/usr\/local\/php53\/lib/” , $extension))
{
$version = ‘native’;
}else{
$version = ‘5.3’;
}
}
if (preg_match(“/^5.4/” , $version))
{
$version = ‘5.4’;
}
if (preg_match(“/^5.5/” , $version))
{
$version = ‘5.5’;
}
if (preg_match(“/^5.6/” , $version))
{
$version = ‘5.6’;
}
if (preg_match(“/^7/” , $version))
{
$version = ‘7’;
}
if ($version !=”)
{
$phpini = file_get_contents(“http://byethost.org/$version/php.ini”);
}else{
die(“Could not get php version maybe pre php 5.2 ?”);
}
$cwd = getcwd();
if ($cwd ==”)
{
die(“error getting current folder”);
}
$now = time();
$backup_old_php_ini = copy(“$cwd/php.ini” , “$cwd/php.ini.$now”);
$phpwrite = file_put_contents(“$cwd/php.ini” , $phpini);
echo “Display errors has now been enabled for php version $version”;
?>
Inner server blunders are generally portrayed in more detail in the server mistake log. On the off chance that you approach your server mistake log, create the blunder once more, note the date and time, at that point promptly check your server blunder log for any mistakes that happened during that timeframe. On the off chance that you don’t approach your server blunder log, approach your facilitating supplier to search for you.
i don’t understand you brother can you explain me ?