PRITLOG - Think Simple
Pritlog is a simple, fatfree blog, made in PHP.
The idea of this blog, is directly taken from a very simple yet powerful blog software called PPLOG (Perl Powered Blog). PPLOG is a creation of Federico Ramírez (fedekun) - fedekiller@gmail.com.
I just wanted to experiment with creating a similar blog in PHP. Hence PRITLOG.
Thanks to
- Ken, Bert, John, Andreas, Alexandre, Charles and few others for the testing, feedback and suggestions for developing this version.
- Federico Ramírez, for the inspiration.
- Barry K, the creator of Puppy Linux, for introducing me to PPLOG.
- My wife, for the support and encouragement.
- God, for enabling me to program.
Support/Feedback
pritlog @ hardkap.com or
Hardkap Forums or
Pritlog Website
License
PRITLOG now uses the MIT License.
http://www.opensource.org/licenses/mit-license.php
Changes for Version 0.811
- About block can now handle multi line data.
- Deleting comment resulted in showing a page not found. This is fixed.
- Page entries will not have option for comments. This will enable a CMS like operation.
- The default login session timeout has been changed to never timeout. This can be changed in the admin panel.
- Refreshing the page after submitting a comment or a new post was causing duplicate entries to be posted. This could lead to easy spamming. This has been fixed.
- Global privacy option has been added to control the privacy of the blog posts.
- Draft option has been added to posts. Users can keep a post as draft and only they and the admin of the site will be able to see the post.
Installation
If this is your first time installing:
- Download the package and extract the contents to your hard disk.
- Make sure you have a web hosting account with PHP.
- Connect to your hosting account using an FTP client.
- Create a folder on your website. (Example: "blog")
- Change the permissions of this folder to 755. (In some cases 777 is required)
- Upload the contents to this folder using the FTP client.
- In your browser, go to the Pritlog url (Example: http://yoursite.com/blog/)
- Visit the admin panel using the default login:
userid - 'admin' and password - 'password' and change this default password
- Start Pritlogging!
Updating from an earlier version
If you are on Pritlog 0.81, just overwrite all the files except your data folder ones.
If you are using Pritlog version earlier than 0.81, you will need to go through updating one version at a time until you are at 0.811.
Troubleshooting
1. Reset Admin Password
If you lose or forget your main admin password, the only way to reset it is to manually edit the config_admin.php file and change the characters between the first and the second '|' character to a0c551398833948214f921e984868883. After you change this on your server, you can use 'password' to login to the admin menu. Now you can change the password as you wish.
2. Sqlite not working
Pritlog will run out of the box on most servers with PHP5. In some cases however, even though Sqlite is compiled into PHP5, the host may not have Sqlite enabled.
Pritlog already has code to try to dynamically load Sqlite module if not already loaded. But even this may not work on some servers
You can try this solution if you have access to php.ini on your server. All you have to do is to add the below lines to your php.ini (somewhere near other 'extension=' lines):
; Loading PDO
extension=pdo.so
extension=pdo_sqlite.so
extension=sqlite.so
extension=pdo_mysql.so
If the above solution does not work, try talking to your web hosting company to find out how to enable Sqlite.