How to set counters through cpanel
Web Hosting Tutorials, Cpanel Hosting January 30th, 2007Counter is used for counting visitors on your website. You are able to access counter option through cpanel >> cgi center >> counters. You can set counter for your cpanel account as per below.
* Go to counter option in your cpanel hosting control panel. Cpanel >> CGI center >> counters.
* Click radio button against counter.
* Edit/Reset a counter
* Counter name:- defaults counter name is cpanel username. This will cerate username.dat file under /var/cpanel/Counter directory.
* Click on Make HTML it generates following lines.
* Copy the above lines then on shell prompt go to directory
# cd /var/cpanel/Counters
Check file is created with the name username.dat. Change the file permission to 777.
# vi username.dat
Paste the above copied lines in file then save the file. Now counter is set for your main cpanel domain name.
WordPress database error: [Table 'wp_comments' is marked as crashed and should be repaired]
SELECT * FROM wp_comments WHERE comment_post_ID = '96' AND comment_approved = '1' ORDER BY comment_date
