Posts Tagged ‘file’

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…)

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 Can I Make Office 2007 Save in The Older Format by Default?

To change default file save options in Office Excel 2007

1. Double-click Microsoft Office Excel 2007, double-click Excel Options, and click Save.
2. In the right pane, right-click Save Excel files as, and select Prop­er­ties.
3. In Save files in this for­mat, select Enabled.
4. In the drop-down box, select a default file save for­mat.
5. Click Apply to save the settings.

To change default file save options in Office Pow­er­Point 2007

1. Double-click Microsoft Office Pow­er­Point 2007, double-click Pow­er­Point Options, and click Save.
2. In the right pane, right-click Save files in this for­mat, and select Prop­er­ties.
3. In Save files in this for­mat, select Enabled.
4. In the drop-down box, select a default file save for­mat.
5. Click Apply to save the settings.

To change default file save options in Office Word 2007

1. Double-click Microsoft Office Word 2007, double-click Word Options, and click Save.
2. In the right pane, right-click Save files in this for­mat, and select Prop­er­ties.
3. In Save files in this for­mat, select Enabled.
4. In the drop-down box, select a default file save for­mat.
5. Click Apply to save the settings.