WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.9 R24 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.13.x) »
  • Modules »
  • own modules - migrating from 2.8.3 to 2.13
  • Print
Pages: [1]   Go Down

Author Topic: own modules - migrating from 2.8.3 to 2.13  (Read 9018 times)

Offline moabie

  • Posts: 11
own modules - migrating from 2.8.3 to 2.13
« on: March 17, 2021, 02:51:14 PM »
Hello.
I've made a lot of WB (v. 2.8.3) modules for my own use. Some of them are made from 'Hello World', other from diff. modules (my_news from News etc.).
As far I know, there are a lot of core changes with new WB 2.13 and - corresponding to them - way to make modules.

After migrating 2.8.3->2.13 there are some errors,
for example:
Code: [Select]
There was an uncatched exception
malformed document created
in line (67) of (/modules/output_filter/Filters/filterCssToHead.php):
I pressume will be more..

My question is: is there a list of changes to review all old modules?
I don't see new "Hello world" module in add-ons Repository, so I don't have a pattern to work on..
Logged

Offline dbs

  • Betatester
  • **
  • Posts: 8927
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: own modules - migrating from 2.8.3 to 2.13
« Reply #1 on: March 17, 2021, 04:34:16 PM »
Hi, i think there is no list.
But you can do a forum search with your error messages like "malformed document created".
Seems this happens if this filter finds no <head></head>

so far i know
- $database = new database(); // can be deleted or commented
- double indexes like $TEXT['WORD1']['WORD2'];  // new: $TEXT['WORD1_WORD2'];


Logged
https://onkel-franky.de

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4548
  • Gender: Male
Re: own modules - migrating from 2.8.3 to 2.13
« Reply #2 on: March 17, 2021, 05:23:21 PM »
Quote from: moabie on March 17, 2021, 02:51:14 PM

After migrating 2.8.3->2.13 there are some errors,
for example:
Code: [Select]
There was an uncatched exception
malformed document created
in line (67) of (/modules/output_filter/Filters/filterCssToHead.php):
I pressume will be more..

Like dbs already wrote. Normally happend with not well integrated simplepagehead. Have a look in your Template
Code: [Select]
<head>
...
</head>
<body>

and in the package there is a DOCU Folder with a CHANGELOG File

Dietmar
« Last Edit: March 17, 2021, 05:28:50 PM by Luisehahne »
Logged
Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.13.x) »
  • Modules »
  • own modules - migrating from 2.8.3 to 2.13
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2