↓
 

A Pipe and a Keyboard

A sort of Linux scrapbook

  • Home
  • About
  • Software
  • List of posts

Category Archives: Tech stuff

Post navigation

<< 1 2 … 19 20 21 22 23 24 25 … 27 28 >>

Download failed. Could not create Temporary file

A Pipe and a Keyboard Posted on February 16, 2010 by RichardMarch 3, 2010

Last week I posted that I was having problems upgrading or updating WordPress core and plugins.  Every attempt resulted in the message – “Download failed. Could not create Temporary file”.  The only solution at the time was to change permissions on wp-content to 0777 and then to revert to 0755 after.

I have finally found a definitive answer that does not require changing permissions or ownerships.  or does it compromise the security of the server.

The solution is quite simple.  All that is required is to add the following two lines to the wp-config.php file.

define('WP_TEMP_DIR', ini_get('upload_tmp_dir'));
putenv('TMPDIR=' . ini_get('upload_tmp_dir'));

As I said, I run several sites, so it was a matter of updating each config file.  I then attempted a core upgrade and a plugin upgrade on each.  Success!  No more meddling with directory permissions.

So, if anyone out there is having the same problem – there is the answer.

Posted in Tech stuff | 28 Replies

Upgrade permissions

A Pipe and a Keyboard Posted on February 9, 2010 by RichardFebruary 9, 2010

I have a wee problem that I find quite irritating.

I look after a number of blogs, all running WordPress, and running on a mix of servers.  On a fairly regular basis, plugins, or even the core code needs to be updated and that is fine.

My problem arises with the plugins.  In order to do an automatic upgrade, I have to go into each server in turn and change permissions on the “wp-content” directory, from 755 to 777.  After the upgrade, I have to remember to revert to 755 again.  Failure to do this results in a message telling me that the update could not download to the temporary directory.

Is there a way around all this faffing with permissions?  Is there a plugin or something that will automate the process?

It’s not exactly a critical problem, but a resolution would make life a little easier!

Posted in Blogging, Tech stuff | 2 Replies

Infected websites

A Pipe and a Keyboard Posted on December 28, 2009 by RichardDecember 28, 2009

I am being driven demented at the moment.

There is a web site that I used to subscribe to via RSS, though I can’t see any mention of it in my current feeds (and I have a couple of hundred of them).

The problem is that either the site has been hacked, or the owner has inadvertently uploaded a virus.  Either way, I am getting a loud alert from my anti-virus software every few minutes to say that I am attempting to connect to an infected site.

I have tried e-mailing the webmaster, but either he doesn’t read his mails very often, or I have the wrong address.  Leastwise, I have had no response; just more alerts.

There is a moral to this, of course.

If you do maintain a website, it is no harm to have a visit once or twice a day to check for infection.

An infected site is at worst very dangerous and at best, a bloody nuisance.

Posted in Tech stuff | 11 Replies

Google to end the world?

A Pipe and a Keyboard Posted on December 15, 2009 by RichardDecember 15, 2009

What do Google know that we don’t?

Is the world going to end on the 31st December?

Why are they giving us a countdown?

Go into Google homepage and click on ‘I’m Feeling Lucky’ (without anything in the search box).

You’ll see what I mean.

Hmmmm.

Posted in General, Tech stuff | 10 Replies

Increase in virus activity

A Pipe and a Keyboard Posted on November 18, 2009 by RichardNovember 18, 2009

Having tried several anti-virus packages over the years, I have settled with Avast!.  It normally sits on my taskbar quietly monitoring things and I generally forget about it.  The only time I remember it’s there is when I do a complete scan, or when it makes me jump with a loud advice that it has just updated itself.

Every couple of months, a banner flashes at the bottom of the screen to warn me that an infected mail has arrived.  Sirens blare, and I have the opportunity to delete the mail, which I do.

Yesterday, it went off twice, which is very unusual.  Normally I could expect five or six alerts in a full year, so two in one day was exceptional.

So far today, I have had nine infected mails.  Yes – nine.

Is there a new flood of the damn things on the Internet?

Or have I just been chosen as the lucky recipient of this month’s batch?

Posted in Tech stuff | 4 Replies

Post navigation

<< 1 2 … 19 20 21 22 23 24 25 … 27 28 >>

Recent Posts

  • GRUB problems
  • Tab bar broken again in Firefox 133
  • WP phpMyAdmin Session mismatch
  • When Linux slows down
  • Firefox broken again

Categories

  • Blogging
  • General
  • Linux
  • Media
  • Tech stuff
  • Writing

Blogroll

  • Head Rambles
  • Kirk M's Just Thinkin'
  • Wordpress Beginner
  • Wordpress Development

Archives

©2025 - A Pipe and a Keyboard - Weaver Xtreme Theme
↑