Logs to see if the email is created/deleted in cpanel server

ARUN Post in LOG ANALYSIS, LOG FILES, MAIL, WHM BACKEND
0

root@server [/usr/local/cpanel/logs]# grep mytest ./access_log | grep addpop
208.46.180.9 – arunp [05/17/2012:04:57:57 -0000] “GET /cpsess4756242303/json-api/cpanel?cpanel_jsonapi_version=2&cpanel_jsonapi_module=Email&cpanel_jsonapi_func=addpop&email=mytest&password=__HIDDEN__&quota=250&domain=arunp.in&cache_fix=1337230678750 HTTP/1.1″ 200 0 “http://72.44.91.97:2082/cpsess4756242303/frontend/x3/mail/pops.html” “Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19″
root@server [/usr/local/cpanel/logs]#

 

root@server [/usr/local/cpanel/logs]# grep mytest ./access_log | grep delpop
208.46.180.9 - arunp [05/17/2012:05:01:00 -0000] “GET /cpsess4756242303/json-api/cpanel?cpanel_jsonapi_version=2&cpanel_jsonapi_module=Email&cpanel_jsonapi_func=delpop&email=mytest&domain=arunp.in&cache_fix=1337230862987 HTTP/1.1″ 200 0 “http://72.44.91.97:2082/cpsess4756242303/frontend/x3/mail/pops.html” “Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19″
root@server [/usr/local/cpanel/logs]#

HTTP output character conversion is improperly configured mbstring.http_output must be set to pass. You can check the current value on the PHP information page.

ARUN Post in ERROR
0

Error in phpbb admin page as mentioned below :

HTTP output character conversion is improperly configured  mbstring.http_output must be set to pass. You can check the current value on the PHP information page.

Solution :

First try with php.ini and .htaccess

==================

mbstring.http_input = pass
mbstring.http_output = pass

==================

If that wont work open the config.php file and add the below line under “<?php”

++++++++++++++++++++++++++++++++++++++

ini_set(“mbstring.http_input”, “pass”);
ini_set(“mbstring.http_output”, “pass”);

++++++++++++++++++++++++++++++++++++++

HTTP input character conversion is improperly configured mbstring.http_input must be set to pass. You can check the current value on the PHP information page.

ARUN Post in ERROR
0

Error in phpbb admin page as mentioned below :

HTTP input character conversion is improperly configured  mbstring.http_input must be set to pass. You can check the current value on the PHP information page.

Solution :

First try with php.ini and .htaccess

==================

mbstring.http_input = pass
mbstring.http_output = pass

==================

If that wont work open the config.php file and add the below line under “<?php”

++++++++++++++++++++++++++++++++++++++

ini_set(“mbstring.http_input”, “pass”);
ini_set(“mbstring.http_output”, “pass”);

++++++++++++++++++++++++++++++++++++++

 

How to increase the number of files viewable through FTP

ARUN Post in FTP
0

Edit  pure-ftpd.conf

vi /etc/pure-ftpd.conf

and change the value of the below field.

LimitRecursion

Remember to restart FTP service

warning: date() [function.date]: It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function.

ARUN Post in PHP
0

warning: date() [function.date]: It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function.

Solution :

Open the appropriate file giving that is giving the error

On top before the first function add :

date_default_timezone_set(‘UTC’);

date_default_timezone_set(‘America/Los_Angeles’);

 

Roundcube logo location path in cpanel server

ARUN Post in MAIL, WHM BACKEND
0

/usr/local/cpanel/base/3rdparty/roundcube/skins/default/images/roundcube_logo.png

Craftysyntax3.2.0 error

ARUN Post in Uncategorized
0

[SELECT `session_data` FROM `livehelp_sessions` WHERE `session_id` = 'c2991aff8b77cff7fbee9675cdb8408ee' AND `expires` > 4536021092] ( 1146 : Table ‘testusr_newtable.livehelp_sessions’ doesn’t exist )

SOLUTION :

Login to the specified database  >>

CREATE TABLE `livehelp_sessions` ( `session_id` varchar(100) NOT NULL default ”, `session_data` text NOT NULL, `expires` int(11) NOT NULL default ’0′, PRIMARY KEY (`session_id`) ) ENGINE=MyISAM;

WordPress Permalink shows blankpage

ARUN Post in WORDPRESS
0

Solution :

Open    wp-admin/includes/misc.php  and change the line in RED as indicated below

function got_mod_rewrite() { 
//$got_rewrite = apache_mod_loaded('mod_rewrite', true); //old line with false negative; 
$got_rewrite = true;//force the response to true as we know mod_rewite is installed;
 return apply_filters('got_rewrite', $got_rewrite); }

Find the wordpress theme from database

ARUN Post in WORDPRESS
0

select * from wp_options where `option_name` = ‘siteurl’;

select * from wp_options where `option_name` = ‘home’;

SELECT * FROM `wp_options` WHERE `option_name` = ‘current_theme’;

UPDATE `user_wrdp1`.`wp_users` SET `user_pass` = MD5( ’12345678′ ) WHERE `wp_users`.`ID` =1;
UPDATE `wp_users` SET `user_pass` = MD5( ’12345678′ ) WHERE `wp_users`.`ID` =1;

Restarting network overwrites /etc/resolv.conf

ARUN Post in NETWORK
0

Solution :

Open the below file and add  NM_CONTROLLED=no to the bottom

vi /etc/sysconfig/network-scripts/ifcfg-eth0

NM_CONTROLLED=no