Skip to content

Update instructions

Codeplay edited this page Jan 14, 2024 · 1 revision

Update instructions for v2.2 => Run these SQL queries in PHPMyAdmin:

ALTER TABLE commentsCHANGEcomment comment VARCHAR(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL; ALTER TABLE postsADDslugVARCHAR(255) NOT NULL AFTERtitle; ALTER TABLE categoriesADDslugVARCHAR(255) NOT NULL AFTERcategory; ALTER TABLE pagesADDslugVARCHAR(255) NOT NULL AFTERtitle;

  • Execute the upgrade PHP file by visiting: http://yoursite.com/install/upgrade-v2.2.php. [Replace "yoursite.com"]
  • Go to the Admin Panel of phpBlog, open page Menu and update all entries that contain page?name=< number(s) > to page?name=< page_slug >. (Page slugs can be found via PHPMyAdmin, table "pages", column "slug").
  • Go to the Admin Panel of phpBlog, open page Menu and update all records that contain ?id= in column Path with ?name= if there are such.

Clone this wiki locally