Page 1 of 612345...Last »

PHP Warning: Division by zero in ~/public_html/forums/cn/template/wind/thread.htm on line 14

[04-Sep-2010 13:46:24] PHP Warning:  Division by zero in ~/public_html/forums/cn/template/wind/thread.htm on line 14

I’ve received this bug. Just make sure the value is not equal to zero, then it won’t be divided by it.

<!– EOT; $tmpCount=0; $idp = 100/$db_txtadnum; foreach ($arrayAdvert as $value) {

if ($tmpCount==0) {print <<<EOT –>

change to.

. . . → Read More: PHP Warning: Division by zero in ~/public_html/forums/cn/template/wind/thread.htm on line 14

Problem with index.php/archives and index.php/category

We know that WordPress is most famous blog in the world, and the default link for WordPress is using /archives and /category.

But this make problems to those sites that are not using WordPress, like my site is using Phpwind.

Most of the search engine in the world will search for example.com/archives/… example.com/category/… . . . → Read More: Problem with index.php/archives and index.php/category

Find files containing text in Linux

grep -lir “text you want to find” * You could put it as background if it is longer time search

grep -lir “text you want to find” * > searchresult.txt &

example.

I want to search ‘archives/simple’ in my ‘data’ directory cd ./data/ grep -lir “archives/simple” * > searchresult.txt &

After done, . . . → Read More: Find files containing text in Linux

[Solved]Locked table in MySQL

InnoDB Supports transactions, row-level locking, and foreign keys MyISAM Default engine as of MySQL 3.23 with great performance

I’m running phpwind with huge requests. I meet the problem is every time my database will be freeze and lockup. I’ve been traced for few days, I found that the tables pw_datastore and pw_threads always . . . → Read More: [Solved]Locked table in MySQL

MySQLTuner result and Tuning Primer result

My server eat up of high CPU resource. I’ve figure out by using

[root@server ~]# /usr/bin/watch -n 5 ‘mysqladmin proc stat’

and found out that these results.

| 214024 | phpwind | localhost | phpwind | Query | 318 | Copying to tmp table | SELECT pt.tid,pt.fid,pt.subject,pa.attachurl FROM pw_threads pt ,pw_attachs pa,pw_forums pf . . . → Read More: MySQLTuner result and Tuning Primer result

You don’t have permission to access /wp-admin/plugins.php?page=visitor-maps-Fvisitor-maps.php&_wpnonce=524eba1ec4&do_geo=1

After you install or update the Visitor Maps plugin, you need to update the Maxmind GeoLiteCity database too. You will notice the message appear.

Visitor Maps plugin needs the Maxmind GeoLiteCity database installed. Install Now

But some of you have this problem, because the server installed mod_security, and we can’t see the actual error . . . → Read More: You don’t have permission to access /wp-admin/plugins.php?page=visitor-maps-Fvisitor-maps.php&_wpnonce=524eba1ec4&do_geo=1

Miss Universe 2010

Jimena Navarrete

Final results Contestant

Miss Universe 2010 – Mexico – Jimena Navarrete 1st Runner-up Jamaica – Yendi Phillipps 2nd Runner-up Australia – Jesinta Campbell 3rd Runner-up Ukraine – Anna Poslavska 4th Runner-up Philippines – Venus Raj

Top 10

Albania – Angela Martini Ireland – Rozanna Purcell South Africa – Nicole Flint Guatemala – Jessica . . . → Read More: Miss Universe 2010

陈老师人体艺术

陈老师人体艺术

陈老师人体艺术竟然可以搜索上6800万次。原来美国人都是色鬼来的。

这些统计都是来自互联网色情内容统计报告。

Incoming search terms:陈老师人体艺术人体艺术艺术人体人體藝術陈老师人体陈老师的人体艺术美国人体艺术陈老师人体艺陳老師人體藝術

Ctrl-V, Ctrl-X, Ctrl-Z

DSCF5800

I’ve using these shortcut keys for many years since the day have Microsoft Windows.

CAPTCHA token file is missing

After you install the SI Contact Form WP plugin, you may face this error while sending the form.

There is a problem with the directory /captcha-secureimage/captcha-temp/. The directory is not found, a permissions problem may have prevented this directory from being created. Fixing the actual problem is recommended, but you can uncheck this . . . → Read More: CAPTCHA token file is missing

Page 1 of 612345...Last »

Advertisement