Skip to content

hardkap/pritlog

Repository files navigation

PRITLOG

PRITLOG is an extremely simple, small and powerful blog system. It does not use or need a MYSQL database and fully works based on Sqlite. Sqlite is very similar to flat files and does not need any server setup and comes as default with most PHP5 installations. Just drop Pritlog into your server and it starts running. No separate installation is required.

PRITLOG now uses the MIT License.
MIT License

CHANGES FOR 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:

First time

  • 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.

Enjoy!

About

Simple, lightweight blogging app in PHP, Sqlite

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published