dhavalp

WordPress wp-admin login issue

when we try to access wp-admin and get error “Warning: Cannot modify header information – headers already sent by (output started at /websites/LinuxPackage05/7y/tz/nj/mysite-hosting.co.uk/public_html/wp-includes/pluggable.php:1) in /websites/LinuxPackage05/7y/tz/nj/7ytznj-256344.mysite-hosting.co.uk/public_html/wp-includes/pluggable.php on line 898” and can not access wp-admin then it will be plugin conflict issue. So normally you would have to deactivate all plugin and...Read more …
dhavalp

Problem with remote server

When i open “Remmina remote desktop client” and connect with credential it gave error “Uable to connect to RDP server”. This is something like host file permission issue. To solve this issue run code given below in ubuntu terminal: Code: echo "" > ~/.freerdp/known_hosts This solve the host permission issue.Read more …
dhavalp

Fatal Error on plugin installation

I got the error “Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 49152 bytes) in /home/wellington/public_html/dev/wp-admin/includes/file.php on line 357” when installing plugin in wordpress. By default, WordPress automatically tries to increase PHP memory limit if it is less than 64MB. However, 64MB is often not high...Read more …
dhavalp

How to find average in cakephp 3

There is a different method to find average of the column in cakephp 3. refere below code to find average of the column. $query = $review->find(); $query->select([‘averagerating’ => $query->func()->avg(‘rating’)]) ->where([‘id’ => $review[‘id’]]) ->order([‘id’ => ‘DESC’]) ->first();Read more …
dhavalp

Install Plugin must need .htaccess file in root folder

For run new installed plugin and any other module we need to add .htaccess file with code mention below is must in root folder, otherthen it cant find the root of plugin and plugin will not found in the website.   <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^$ webroot/ [L] RewriteRule...Read more …