Here's another - LnBlog 0.3.2 released

The releases are coming fast and furious lately. Verion 0.3.2 is now available from the download page. In addition to a number of bug fixes, there has been some cleanup of the configuration process, based on the feedback from the last release.

The file writing setup page now includes a new configuration constant - the document root, which stores your HTTP root directory in the fsconfig.php file. This removes the need to recalculate it all the time and allows you to change it easily if there is any problem doing the calculation. Of course, you already have a working installation, you won't need to worry about this.

I also added a page to test the document root and a page to automatically guess your correct FTP root. They're just pop-ups that are called from the file writing config page and you can copy and paste the results. Nothing fancy, just a little something to help people who are having trouble with these.

And while I'm on the topic, I also added (untested) support for adding a port number to the FTP host. It works by using the standard hostname:port syntax in the FTP host configuration. If anyone has occasion to use it, let me know if it works.

The rest of the changes are just small bug fixes and usability enhancements. If you're really interested, you can read the ChangeLog. If you find any bugs or have any suggestions, please feel free to contact me

You can reply to this entry by leaving a comment below. This entry accepts Pingbacks from other blogs. You can follow comments on this entry by subscribing to the RSS feed.

Comments #

    The administrative page not showing.

    Hello.
    I'm installing LnBlog into my folder on the intranet server, say
    http://server:81/myusername

    Then, I follow the instructions in the install.html file. After I've configured administrator's password, I'm redirected to the page, where I'm supposed to enter the administrator's login and password. I do that, but instead of showing me the administrative page, it again shows me the page, where there are entry fields for username and password.

    But

    Comments engine doesn't convert the urls to hyperlinks correctly.

    In the previous message I've entered h-t-t-p://server:81/username

    Good question....

    Well, the comment link problem was easy. I'm not sure when I broke that function, but it's a two-line fix. I'll try to post an update tonight.

    I'm a little confused about the other thing. It sounds like you were able to set the administrator password with no problem. Then you are redirected to the administrator login page, you enter the username "administrator" and the password you set, and then what? It sounds like you're being sent back to the same administrator login page and aren't seeing any error messages. Is that right?

    The first thing I should probably ask is: do you have cookies enabled in you web browser? Currently, the login routine sets a cookie in addition to storing information in the server session. The original idea was to try to avoid session hijacking in shared hosting situations, although in retrospect, I'm not sure it was worth the trouble.

    Other possibilities are that the server redirect is failing for some reason (in that case, try going directly to the URL), or you're unable to write to PHP's $_SESSION variable (not sure what would cause that), or you used some wacky password that's all whitespace. I can't really think of anything else. Some more information would be helpful, if you can come up with any.

    The other thing you should be aware of is that the routine that computes URLs currently doesn't account for non-standard web server ports, so once you get past the admin pages, using port 81 *will* give you problems. I'll try to fix that before posting the next update. It shouldn't be too hard to fix (I hope).

    FYI

    I should also mention, you the login information is stored in the passwd.php file in the LnBlog directory. If you want to check that the admin account was actually created, make sure there's an "administrator" entry in that file. You can just delete the file to reset the login information and go through the setup again.

Add your comments #

A comment body is required. No HTML code allowed. URLs starting with http:// or ftp:// will be automatically converted to hyperlinks.