Nanhe Kumar
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: There has been an error cropping your imageI have resolved this issue with WordPress 5.0 ,PHP 7.2 Nginx
sudo apt-get install php7.2-gd
sudo systemctl restart nginx
Now you can check my site its working fine https://www.nanhekumar.com/
Forum: Fixing WordPress
In reply to: 413 Request Entity Too LargeNginx configuration:
# vi /etc/nginx/nginx.conf
OR
# vi /usr/local/nginx/conf/nginx.conf
Add the following line to http or server or location context to increase the size limit in nginx.conf, enter:# set client body size to 256M #
client_max_body_size 256M;Save and close the file. Reload the nginx webserver, enter:
# /usr/local/nginx/sbin/nginx -s reload
OR
# /sbin/nginx -s reload
OR use the following on RHEL/CentOS/Debian/Ubuntu Linux:
# service nginx reloadPHP configuration (optional):
Edit php.ini and set the following directives
;This sets the maximum amount of memory in bytes that a script is allowed to allocate
memory_limit = 256M;The maximum size of an uploaded file.
upload_max_filesize = 256MSave and close the file. Make sure you reload/restart back-end apache or nginx web server as per your setup.
- This reply was modified 9 years, 6 months ago by Nanhe Kumar. Reason: formating
i am facing problem
Cannot use string offset as an array in wp-content/plugins/additional-image-sizes-zui/vendor/beingzoe/zui_php/ZUI/WpAdditionalImageSizes.php on line 883what is problem if change code in line like this
if(is_array($path_parts) && is_array($metadata)){
$delete_wp_file = $path_parts[‘dirname’] . “/” . $metadata[‘sizes’][$size][‘file’];
}
error gone but image is not creating all sizesHi
Now you can solve this problem in very easy step
Open your plugin file dcwp_social.php
path :wp-content/plugins/slick-social-share-buttons/inc/dcwp_social.php
and go to line number 629
and comment the line
like this
/*$title .= ‘
<meta property=”og:description” content=”‘.substr(@strip_tags(str_replace(array(“[“,”]”,'”‘),””,$post_by_id[‘post_content’])), 0, 200).'”/>
‘;*/Forum: Installing WordPress
In reply to: Installing Word Press with Go Daddy Hosting.link is not working
Forum: Installing WordPress
In reply to: 500 – Internal server error Godaddyhow can solve this problem on godaddy windows server
Same problem is here
http://www.feniksonline.org/firsttalent/blog/
IIS 7
PHP 5
500 – Internal server errori have already set the permission of directory