NextGEN Scroll Gallery on WordPress – Error on page: Warning: Division by zero

NextGEN Scroll Gallery on WordPress – Error on page: Warning: Division by zero

Few days back my hosting company send me a warning that disk space consumption on my server has hit 80%. I was shocked because no new client came on board. I became worried thinking if my server has been compromised or any account on the box has been hacked! I instantly logged into the server and tried to figure out the domain consuming disk space more than the allocated quota. Once I was able to figure out the domain, I instantly started analyzing it’s disk consumption folder wise. All this lead me to a error_log file which grew up to 18 GB in last 15 days time. This site has average 1500 visitors per day. I inspected the error_log to see which page is generating so many errors and to my surprise it was a page with NextGen Scroll Gallery. This gallery page was created two years ago and didn’t had an iota of any error till last 15 days. Now, the page was full of several lines showing following error:

Warning: Division by zero in nggScrollGallery.php on line 296

Of course, it had folder name etc. prepended  to the script name (which I have omitted here due to same security reason). In order to try and solve this error, I created a new gallery page but it worked fine. I compared both the gallery page (the one which was generating errors and the newly created one). Everything was same except the gallery id. I created another page with same gallery id. This time the error showed up. So, the problem was with gallery.

I went to manage gallery option and re-generated the thumbnails but this didn’t solve the problem. Then I imported meta data for all the images in gallery. The next moment the gallery was working fine. Seems, somehow the meta data information for images in the gallery got corrupted or deleted. Re-importing this information solved the issue. After that I deleted the error_log and my disk consumption status also went back to normal.

Advertisement

PCLZIP_ERR_BAD_FORMAT – WordPress Upgradation Problem

Recently I was asked by a client of mine to upgrade her self-hosted WordPress blog to 2.71. from 2.6. I though it to be a smooth task as this was a pretty new installation without any plugins or themes and I had upgraded at least 10 other self hosted WordPress blogs (far bigger than this one) few days back without any problem. I logged on to the blog’s dashboard and upgrade warning from WordPress was flashing on the screen. I gladly clicked on upgrade button and thought the task is taken care of. But what the hell!!!! Continue reading “PCLZIP_ERR_BAD_FORMAT – WordPress Upgradation Problem”

Version 3.0.3 of phpBB (Open Source Forums Software) Released

phpBB Group relesead version 3.0.3 of it’s widely used Open Source Forums solution phpBB. This release addresses numerous stability fixes, performance tweaks and general bugs fixed. Apart from some tiny new features, this version also introduces two major new features: template inheritance and a post-based queue. The new version can be downloaded from http://www.phpbb.com/downloads/. Continue reading “Version 3.0.3 of phpBB (Open Source Forums Software) Released”

Parallels Launched Plesk 8.4.0

Parallels (formerly Sw Soft), launched Plesk 8.4.0, though an official communication from the company is still awaited. Surprisingly, there is no mention of this release either on Parallerls website or forums. Good news for Pleask users is that Plesk 8.4.0 supports DomainKeys, long awaited anti spam solution promoted and used by Yahoo!. A small list of What’s New, showing from within the control panel, includes Continue reading “Parallels Launched Plesk 8.4.0”

phpBB (Widely used Open Source Forum Solution) Releases Ver. 2.0.23

phpBB Group relesead version 2.0.23 of it’s widely used Open Source Forum solution phpBB. This release addresses several bugfixes and some security issues. The new version can be downloaded from http://www.phpbb.com/downloads/.

From the changelog of this release we can see following fixes / upgrades: Continue reading “phpBB (Widely used Open Source Forum Solution) Releases Ver. 2.0.23”

Google Made changes in Verification Process for Adsense Publishers

Recently Google made changes in verification process for Adsense publishers.  To make sure that the AdSense account details, publishers provide to Google are valid and correct, it uses two methods of verification. First one is using PIN (Personal Identification Number) and second is Phone Number verification. Google uses one or both of these verification methods in order to ensure the security and accuracy of adsense publisher’s information so that payments from AdSense account can be released in favour of the publisher. Continue reading “Google Made changes in Verification Process for Adsense Publishers”

WordPress.com upgardes Free Space to Three Gigabytes

Today, wordpress.com made an announcement to upgrade free upload space by 6o times from 50mb to 3000mb for all wordpress blogs hosted on it. This upgrade will give its’ users freedom to blog rich media withour having to worry about storage space left in their wordpress account. To remind you 1GB paid space at a normal web hosting company costs approx. $300 per year. Continue reading “WordPress.com upgardes Free Space to Three Gigabytes”

Steps to Move Your Web Site from one Server to Another

During the lifetime of a website moments come when need arises to move the site from one domain name to other. This migration process is painful for bigger and more active websites. If hosting control panel on both servers are same then migration becomes easier. However, sometimes you need to migrate your site to a server having different control panel. In this scenario, to ensure smooth migration of an active web site from one server to another follow the steps given in this tutorial: Continue reading “Steps to Move Your Web Site from one Server to Another”

SWsoft Releases Plesk 8.3 for Windows and Linux/Unix!

SWsoft announced the availability of version 8.3 of its’ flagship product PLESK. Pleask is a multi-platform control panel and the latest release includes over 50 new features for Linux and Windows users. As per an announcement by SWsoft the release of SWsoft Plesk 8.3 continues SWsoft’s Open Fusion initiative of enabling integration of all types of web hosting software.  This new version of the software further integrates Plesk with Virtuozzo, 3rd party, and other web applications as well as continuing to deliver innovative ease of use, the highest levels of stability and performance, security and unmatched value. Continue reading “SWsoft Releases Plesk 8.3 for Windows and Linux/Unix!”

Gmail about to Reach 6GB Storage Mark!

Gmail about to Touch 6GB Storage SpaceGoogle is known for doing things in its’ own style. Started with 2 GB mail box facility (besides other features), now Gmail is about to reach a mark where it seems to touch a new height. As evident from attached screen shot it is about to touch 6GB storage space and it’s still couting. Perhaps a time will come when you will be able to get unlimited storage space from Gmail like Yahoo! and few others. And mind you, it’s all for free. You need not shell out a single cent for this.

Now, this is what can be called a real new year gift in true style.