Bludit 4.0.0 Beta

cborne
Jr. Bludit
Posts: 9
Joined: Tue Oct 26, 2021 9:15 pm

On a new post : "Error from API. Open the inspector from the browser for more details."
When I attempt to upload image : "File Manager. An error occurred while trying to upload the file."

and at last trying to save "Error, page not created."
User avatar
Edi
Site Admin
Posts: 2609
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

With Beta 1 or Beta 2?
Gumroad - Useful plugins for Bludit | Nützliche Plugins für Bludit
Planet-Bludit - Tipps, Snippets und hilfreiche Links (auf Deutsch)
cborne
Jr. Bludit
Posts: 9
Joined: Tue Oct 26, 2021 9:15 pm

Last beta. I see in the original 3.x my "upload" is on 777, here upload in "775". I am changing CHMOD.
User avatar
Edi
Site Admin
Posts: 2609
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

Strange. 775 should be fine.

Which version of PHP do you use?
Gumroad - Useful plugins for Bludit | Nützliche Plugins für Bludit
Planet-Bludit - Tipps, Snippets und hilfreiche Links (auf Deutsch)
cborne
Jr. Bludit
Posts: 9
Joined: Tue Oct 26, 2021 9:15 pm

Edi wrote: Tue Oct 26, 2021 10:40 pm Strange. 775 should be fine.
same in 777, impossible to upload or save something.
cborne
Jr. Bludit
Posts: 9
Joined: Tue Oct 26, 2021 9:15 pm

Edi wrote: Tue Oct 26, 2021 10:40 pm Strange. 775 should be fine.

Which version of PHP do you use?
php 7.4. I can try on a new install but for me, the goal is to migrate from 3.x to 4.x
cborne
Jr. Bludit
Posts: 9
Joined: Tue Oct 26, 2021 9:15 pm

log :

Code: Select all

functions.js?version=4.0.0:44 Creating page.
api.js?version=4.0.0:46 Responsebody: (...)bodyUsed: trueheaders: Headers {}ok: trueredirected: falsestatus: 200statusText: ""type: "basic"url: "https://test.grinome.org/api/pages"[[Prototype]]: Response
api.js?version=4.0.0:47 SyntaxError: Unexpected token a in JSON at position 0
functions.js?version=4.0.0:44 An error occurred while trying to create the page.
functions.js?version=4.0.0:44 S.EventcurrentTarget: documentdata: undefineddelegateTarget: documenthandleObj: {type: 'keydown', origType: 'keydown', data: undefined, guid: 46, handler: ƒ, …}isDefaultPrevented: ƒ Te()jQuery36008707081321222516: trueoriginalEvent: KeyboardEvent {isTrusted: true, key: 'Tab', code: 'Tab', location: 0, ctrlKey: false, …}relatedTarget: undefinedtarget: body.h-100timeStamp: 3530.5type: "keydown"altKey: (...)bubbles: (...)button: (...)buttons: (...)cancelable: (...)changedTouches: (...)char: (...)charCode: (...)clientX: (...)clientY: (...)code: (...)ctrlKey: (...)detail: (...)eventPhase: (...)key: (...)keyCode: (...)metaKey: (...)offsetX: (...)offsetY: (...)pageX: (...)pageY: (...)pointerId: (...)pointerType: (...)screenX: (...)screenY: (...)shiftKey: (...)targetTouches: (...)toElement: (...)touches: (...)view: (...)which: (...)[[Prototype]]: Object
and when I upload

Code: Select all

functions.js?version=4.0.0:44 Creating page.
api.js?version=4.0.0:46 Responsebody: (...)bodyUsed: trueheaders: Headers {}ok: trueredirected: falsestatus: 200statusText: ""type: "basic"url: "https://test.grinome.org/api/pages"[[Prototype]]: Response
api.js?version=4.0.0:47 SyntaxError: Unexpected token a in JSON at position 0
functions.js?version=4.0.0:44 An error occurred while trying to create the page.
functions.js?version=4.0.0:44 S.EventcurrentTarget: documentdata: undefineddelegateTarget: documenthandleObj: {type: 'keydown', origType: 'keydown', data: undefined, guid: 46, handler: ƒ, …}isDefaultPrevented: ƒ Te()jQuery36008707081321222516: trueoriginalEvent: KeyboardEvent {isTrusted: true, key: 'Tab', code: 'Tab', location: 0, ctrlKey: false, …}relatedTarget: undefinedtarget: body.h-100timeStamp: 3530.5type: "keydown"altKey: (...)bubbles: (...)button: (...)buttons: (...)cancelable: (...)changedTouches: (...)char: (...)charCode: (...)clientX: (...)clientY: (...)code: (...)ctrlKey: (...)detail: (...)eventPhase: (...)key: (...)keyCode: (...)metaKey: (...)offsetX: (...)offsetY: (...)pageX: (...)pageY: (...)pointerId: (...)pointerType: (...)screenX: (...)screenY: (...)shiftKey: (...)targetTouches: (...)toElement: (...)touches: (...)view: (...)which: (...)[[Prototype]]: Object
functions.js?version=4.0.0:44 File Manager. Uploading file.
functions.js?version=4.0.0:44 File Manager. An error occurred while trying to upload the file.
cborne
Jr. Bludit
Posts: 9
Joined: Tue Oct 26, 2021 9:15 pm

Hum it works, It was beta 1 and not beta 2 ... :oops: :oops: :oops: :oops: :oops:

but there is a problem with the title, when i saved it was "Test bludit 1" but bludit create https://test.grinome.org/vide
User avatar
Edi
Site Admin
Posts: 2609
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

cborne wrote: Tue Oct 26, 2021 10:48 pm php 7.4. I can try on a new install but for me, the goal is to migrate from 3.x to 4.x
This is the next step. ;-)

Meanwhile try with a fresh installation.
Gumroad - Useful plugins for Bludit | Nützliche Plugins für Bludit
Planet-Bludit - Tipps, Snippets und hilfreiche Links (auf Deutsch)
cborne
Jr. Bludit
Posts: 9
Joined: Tue Oct 26, 2021 9:15 pm

For all ancien posts I have invalid path, in the log

Code: Select all

rc2Contentscript.js:249 Uncaught TypeError: Cannot read properties of null (reading 'scrollHeight')
    at rc2Contentscript.js:249
(anonymous) @ rc2Contentscript.js:249
setInterval (async)
listenToParent @ rc2Contentscript.js:246
(anonymous) @ rc2Contentscript.js:626
functions.js?version=4.0.0:44 Setting up the page
functions.js?version=4.0.0:44 File Manager. Getting files for the current page: l-échec-scolaire-un-choix-comme-un-autre
l-%C3%A9chec-scolaire-un-choix-comme-un-autre:1159 GET https://test.grinome.org/bl-content/uploads/pages/l-%C3%A9chec-scolaire-un-choix-comme-un-autre/20211002echec.jpg 404
functions.js?version=4.0.0:44 File Manager. An error occurred while trying to get the files for the current page.
Post Reply