soufianejayden
Forum Replies Created
-
Forum: Plugins
In reply to: [Meta for WooCommerce] facebook required permissiontake a look screen shoot https://cdn.filestackcontent.com/kPMfPDGbRK2F7hIWij3k
Forum: Plugins
In reply to: [Meta for WooCommerce] facebook required permissioni think the problem comes out from facebook woocomerce plugins
- This reply was modified 4 years, 9 months ago by soufianejayden.
Forum: Fixing WordPress
In reply to: [NSFW] A 500 error has occured wordpressi don’t understand you brother can you explain me ?
Forum: Fixing WordPress
In reply to: [NSFW] A 500 error has occured wordpressyeah 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-admini 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”;
?>