Archive for the ‘blog’ Category

“Unable to create directory…” error in WordPress

I moved my WordPress site to another host. After the moving, I had an error:

Unable to create directory /hsphere/local/home/infous/starikovs.com/wp-content/uploads/2010/09. Is its parent directory writable by the server?

The first idea I had was about folders or files permissions. I changed the permissions but an error sill was there. After I googled some time I found that there’s a setting that sets the uploading path. I changed this setting and an uploading started to work OK!

To change an uploading path go to:

wp-admin -> Settings -> Miscellaneous -> Store uploads in this folder, and set the correct path. I chose the default folder wp-content/uploads and it works well in my case.

Today, I had a terrible problem with WordPress. When I tryed to log in, wp-login.php always redirected to wp-login.php and it was looked like a loop. I read a lot of forums and articles and nothing helped.

In my case, the problem was in plugins. For the test value, I started to remove plugins one by one and I found that the problem was in plugin xLanguage. After I removed the plugin’s folder by FTP, the problem was fixed. Huh, it took two hours for me to solve this problem!

Here’re the advices I found at forums and other resources but they didn’t help me:

  • Clearing cookies.
  • Clearing browser cache.
  • Restarting browser.
  • Logging in using an incorrect user name and password then logging in using the correct ones.
  • Hacking wp-config.php and adding define statements: DOMAIN_CURRENT_SITE, ADMIN_COOKIE_PATH.

Welcome to my web development blog!

So, my blog has arrived! Here I’m going to publish some articles about web development, to share my experience and thoughts with others. I hope that it will be the place where You always are able to find something new, useful and helpful. Also, I’m glad to contact with everybody by email if You have some questions or wishes.

Several words about how I create this blog :) After I decided to create an own blog I started to find how I can do it. As I’m familiar with WordPress and it’s very popular and flexible, I chose it. The second question, what theme to use. I wanted something special and unique so I decided to create theme with help of Artisteer. By the way, Artisteer can create themes not only for WordPress but for Blogger, Joomla, Drupal, DotNetNuke and just HTML templates. So, it’s cool!

A good idea + Artisteer = great result!

A couple of hours and theme’s done. And without any coding of XHTML, CSS and PHP. Of course, after generating a theme with help of Artisteer there’s a probability to modify a CSS to satisfy with requirements that couldn’t be done with Artisteer, but as usual it’s few lines of code. Well, i’m not going to stop with this design, but to improve it time to time.