Mar
25
2009
2

Fix “Missing a temporary folder” in WordPress 2.7

As I was writing my article about the installation process of Openfire, I’ve tried to upload a file but got an error message instead of my file :( wordpress/wp-content/2009/03/wordpress_27_missing_tmp_directory-300×124.png” alt=”wordpress_27_missing_tmp_directory” width=”300″ height=”124″ />

Because I wasn’t able to upload a file, I’ve done a quick google search and found this blog entry
.

The problem was easy to fix: the upload_tmp_dir is not set in php.ini.

After adding

1
php_admin_value upload_tmp_dir /var/www/domain/php/upload

to my Apache Vhost-configuration and doing a reload, everything worked as expected.

Thanks, Dwight Jack!

Written by saz in: Apache2,Linux | Tags: , ,
Dec
23
2006
0

Apache2 shows error message ‘undefined virtualhost name’ after enabling and configuring mod_cband

After setting up mod_cband, I’ve tried to restart Apache2. Apache is restarting, but is displaying a message like the following one:

1
[Sat Dec 23 00:38:01 2006] [warn] Invalid command 'CBandLimit', undefined virtualhost name

Some searching through the internet brought up a solution for my problem.

In my virtual-host configuration I’ve added the mod_cband-specific entries at the top.
And that’s my mistake. Every directive specific to mod_cband must be added after the ServerName-directive. As you might realized, if you want to use mod_cband, you have to add the ServerName-directive to your virtual-host configuration.

HTH.

Written by saz in: Apache2 |

Powered by WordPress | Theme: Aeros 2.0 by TheBuckmaker.com