Viewing Wordpress Archives

Having Strange Errors Utilizing Gzip in WordPress 2.9 and 2.9.1?

For­tu­nately your not alone. A recent bug fix was just released which addresses an error which is received while updat­ing the Word­Press core, as well as Word­Press plu­g­ins. This error typ­i­cally effects http.php, located at wp-includes/http.php, and looks sim­i­lar to the code listed below.

(more…)

Force Nextgen Gallery To Crop Thumbnails From The Top Of The Image… **Updated**

wordpress-glossy
In our orig­i­nal post, we sim­ply deleted a line to change the start­ing posi­tion of NextGEN’s thumb­nail crop. With the most recent ver­sion of NextGEN Gallery,1.4.3 at the time of this update. While this was a func­tional fix, it was gen­er­at­ing errors. So here’s our much improved, and clean fix.

(more…)

Utilizing GZip with WordPress, Finally a Fast Blog…

The first half of this arti­cle will be taken directly from our pre­vi­ous post, as the need for a sin­gle default php.ini is nec­es­sary to con­fig­ure gzip. If read­ing our Magento post is what brought you to the site, and you’ve already con­fig­ured your default php.ini, than skip to the .htac­cess por­tion of the post. Oth­er­wise, were off…

(more…)

The Correct Way To Set Up gzip with Magento

We wrote this arti­cle in response to post­ings offer­ing advice to users of Magento, an open source ecom­merce sys­tem. The advice is being given with good inten­tions, and the intent is only to assist their fel­low Magento users. But the advice being give may actu­ally have the poten­tial cause harm to the users site, or at the least a good deal of down time. The advice being offered is to help speed up Magento by enabling a server side caching sys­tem called gzip. What peo­ple don’t real­ize is that their being told to enable two sep­a­rate caching sys­tems. These two sys­tems tend not to play well together, and could cause harm to your install. While most peo­ple see pos­i­tive results, there are a rare few see­ing server side errors, data­base errors, and are stumped as to why.

(more…)

How Do I Specify a Class For IMG Inserted With Visual Editor…

SantasLittleHelper

The fol­low­ing is in response to a ques­tion on WordPress.org. We’ve become extremely pro­fi­cient with word­press in the past few years, and we’re always com­ing up with inno­v­a­tive ways of using this amaz­ing prod­uct. We try to post most all our fixes, hacks, and tricks, in the hopes that it will prove use­ful to some­one. Hope­fully this will be no different.

(more…)

WordPress, Fatal error: Allowed memory size of 33554432 bytes exhausted

Danger Will Robinson
Dur­ing a rou­tine update to a Word­Press site we received the fol­low­ing error: Fatal error: Allowed mem­ory size of 33554432 bytes exhausted (tried to allo­cate 7680 bytes) in /home/website/public_html/wp-includes/functions.php on line 1342 Scary stuff, but no need to panic. Chances are your Word­Press install is quite well used with lots pages, posts, and plu­g­ins. First off, don’t start dis­abling plu­g­ins and hack­ing code. Fol­low these sim­ple steps and you’ll be updated in no time.

(more…)

My WordPress Blog is Sending Mail With My Webhosts Address

Here’s our solu­tion. Be sure your work­ing with the most up to date file. Local copies can become out­dated with online updates. Edit the fol­low­ing file: wordpress-root-directory/wp-includes/class-phpmailer.php

On line 75 (valid on Word­Press 2.7.1 — 2.8.7) and edit, “root@localhost.com” to the address you’de like to appear in admin­is­tra­tive emails, ie. user@yourdomain.com. You’ll also want to change your From­Name, on line 81, and your email address on line 88. Sim­ply fill the empty quotes.

71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
  /**
   * Sets the From email address for the message.
   * @var string
   */
  var $From              = 'root@localhost';
 
  /**
   * Sets the From name of the message.
   * @var string
   */
  var $FromName          = 'Root User';
 
  /**
   * Sets the Sender email (Return-Path) of the message.  If not empty,
   * will be sent via -f to sendmail or as 'MAIL FROM' in smtp mode.
   * @var string
   */
  var $Sender            = '';

And that’s it. Your sever will now send admin­is­tra­tive Emails from your cho­sen name, and address. Let us know if this was helpful.

How I Made Our Background Image.…

The image you see in the back­ground is actu­ally 8 images all pieced together to make my vir­tual desk­top. I was hav­ing an inspi­ra­tional day and decided I would take pic­tures of every­thing on my desk. I then took those images, with the help of Pho­to­shop CS2, and com­bined them into the image you now see. It’s amaz­ing what you can do when you’re inspired.