cBB Editor error, breaks the ACP


no_avatar
Swamp_Monkey
 
Mensajes: 42
Registrado: Mar Ene 19, 2016 3:26 pm
 Mar Abr 23, 2019 11:13 am • a través de Web
It breaks the ACP, I get the following error:

Código: Seleccionar todo
Fatal error: Uncaught Error: Class 'canidevcoretemplate' not found in /path/to/ext/canidev/editor/libraries/editor.php:76 Stack trace: #0 [internal function]: canideveditorlibrarieseditor->__construct(Object(phpbbauthauth), Object(canideveditorlibrariesbbcodesparser), Object(phpbbconfigdb), Object(phpbbconfigdb_text), Object(SymfonyComponentDependencyInjectionContainerBuilder), Object(phpbbdbdriverfactory), Object(phpbbeventdispatcher), Object(phpbblanguagelanguage), Object(phpbbpath_helper), Object(phpbbrequestrequest), Object(phpbbuser), 'php') #1 /path/to/vendor/symfony/dependency-injection/ContainerBuilder.php(925): ReflectionClass->newInstanceArgs(Array) #2 /path/to/vendor/symfony/dependency-injection/ContainerBuilder.php(467): SymfonyComponentDependencyInjectionContainerBuilder->createService(Object(SymfonyComponentDependencyInjectionDefinition), Object(SplObjectStor in /path/to/ext/canidev/editor/libraries/editor.php on line 76


I can no longer access the ACP, but the forum actually works (the editor does not).

(running phpBB 3.2.5, error occurs in both prosilver and FLATBOOTS, MySQL(i) 5.6.41-84.1, PHP 7.1.24)
Avatar de Usuario
IvanPF
Administrador
 
Mensajes: 2029
Registrado: Vie Jun 17, 2011 12:15 am
Ubicación: España (Spain)
 Mar Abr 23, 2019 11:50 am • a través de Web
Hi,

Have you uploaded all the contents of the package, including the "core" folder?
no_avatar
Swamp_Monkey
 
Mensajes: 42
Registrado: Mar Ene 19, 2016 3:26 pm
 Mar Abr 23, 2019 1:18 pm • a través de Web
Well I feel really foolish now. That was it. Thanks!

I have another small issue. Under FLATBOOTS, the original posting buttons still show up. This doesn't happen under prosilver, so I assume it's a FLATBOOTS issue (yes, I installed the appropriate FLATBOOTS style components for both the core and the editor).
Avatar de Usuario
IvanPF
Administrador
 
Mensajes: 2029
Registrado: Vie Jun 17, 2011 12:15 am
Ubicación: España (Spain)
 Mar Abr 23, 2019 1:27 pm • a través de Web
It is possible that some extension will interfere because it should not appear if you have installed the style adaptation.
Can you give me access to the publication page of your forum with a test user or similar so you can see it?
no_avatar
Swamp_Monkey
 
Mensajes: 42
Registrado: Mar Ene 19, 2016 3:26 pm
 Mar Abr 23, 2019 1:56 pm • a través de Web
IvanPF escribió:It is possible that some extension will interfere because it should not appear if you have installed the style adaptation.
Can you give me access to the publication page of your forum with a test user or similar so you can see it?


Yes, I'm trying to figure out which extensions will work with it and which won't.

There appears to be an issue with the phpBB Media Embed Plugin extension. If you insert one of the supported media types, the post will appear but nothing afterwards (i.e., no buttons, no way to reply or post after that). Completely breaks the page on which it's posted.

*Contenido privado*
no_avatar
Swamp_Monkey
 
Mensajes: 42
Registrado: Mar Ene 19, 2016 3:26 pm
 Mar Abr 23, 2019 2:33 pm • a través de Web
Seems like any extension that adds a custom BBCode breaks the editor as well - BB@mention for FLATBOOTS screws it all up, but not if I remove the BBCodes it adds.

Manually-added custom BBCodes are fine, however.
Avatar de Usuario
IvanPF
Administrador
 
Mensajes: 2029
Registrado: Vie Jun 17, 2011 12:15 am
Ubicación: España (Spain)
 Mar Abr 23, 2019 3:06 pm • a través de Web
There appears to be an issue with the phpBB Media Embed Plugin extension. If you insert one of the supported media types, the post will appear but nothing afterwards (i.e., no buttons, no way to reply or post after that). Completely breaks the page on which it's posted.

This extension has been tested and should work with the publisher (at least in prosilver).
What bbcode gives you the error? Can you give me an example of text that proves the fault?

Código: Seleccionar todo
Seems like any extension that adds a custom BBCode breaks the editor as well - BB@mention for FLATBOOTS screws it all up, but not if I remove the BBCodes it adds.

I do not know that extension but, if two extensions use a similar called bbcode or some similar feature, they will give you an error.
For example, for flatboots I think there is an extension called "bbcode order" that gives problems because it uses variables that the editor also uses.

I have reviewed the button problem.
It seems that the template of your style has some change with respect to the original FLATBOOTS.
I have edited a file from the editor, upload it to the folder /ext/canidev/editor/styles/FLATBOOTS/theme/ and then clean the cache from the ACP. That should solve the problem.
Adjuntos
editor.css
(13.47 KB) Descargado 259 veces
no_avatar
Swamp_Monkey
 
Mensajes: 42
Registrado: Mar Ene 19, 2016 3:26 pm
 Mar Abr 23, 2019 3:37 pm • a través de Web
You're the best! I didn't realize that my template was messed up, I probably messed with it at some point trying to get something to work, but I'm usually good at fixing it! Anyway, thanks for the quick response.

Yes, I had disabled bbcodeorder+ because I figured it would cause problems (also smart snappy reply).

I'll keep looking at the media embed plugin and see if I can recreate the error on a clean install.

Thanks for creating this extension, by the way, this is something I've been wanting for a LONG time.
no_avatar
Swamp_Monkey
 
Mensajes: 42
Registrado: Mar Ene 19, 2016 3:26 pm
 Mar Abr 23, 2019 8:49 pm • a través de Web
This is what happens when you try to embed media with the phpBB Media Embed plugin:

https://www.alligatorunderground.com/ph ... f=21&t=284

See how there's nothing after the post? It should be like a normal thread.

HOWEVER, those sites supported by cBB Editor (Twitter, YouTube, Facebook, etc.) all work normally.
Avatar de Usuario
IvanPF
Administrador
 
Mensajes: 2029
Registrado: Vie Jun 17, 2011 12:15 am
Ubicación: España (Spain)
 Mar Abr 23, 2019 9:02 pm • a través de Web
Thanks for report. I will try to find the problem
Siguiente

¿Quién está conectado?

Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 0 invitados