TEMA:

CB shows code instead of values in emails 1 año 10 meses antes #255816

  • Avatar de tihana.krivic
  • tihana.krivic
  • Fuera de línea
  • Moderador
  • Moderador
  • Registered
  • Mensajes: 12079
  • Gracias recibidas: 778
Hi,

ok, I will come back to you, when I get an answer from colleague.

This is not connected with a problem with your BF issue :)

Regards,
Tihana

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

CB shows code instead of values in emails 1 año 10 meses antes #256147

  • Autor del tema
  • hverdel
  • Fuera de línea
  • Navegador Junior
  • Navegador Junior
  • Registered
  • Mensajes: 41
  • Gracias recibidas: 0
I uninstalled CB, and installed from a fresh downloaded.
I got the message that the component was installed succesfully.

Now when going to Datasources in backend i get the error that table #_contentbuilder_storages is missing.

These are the CB tables that do exist:
#_contentbuilder_articles
#_contentbuilder_elements
#_contentbuilder_forms
#_contentbuilder_list_records
#_contentbuilder_list_states
#_contentbuilder_rating_cache
#_contentbuilder_records
#_contentbuilder_registered_users
#_contentbuilder_resource_access

They all are empty.

When manually creating the table, MySql reports:
#1071 - Specified key was too long. Max key length is 767 bytes.
I think this is caused by the fact that we're using utf8mb4, thus 4 bytes per character. The name column is a VARCHAR(255), resulting in 1020 bytes.

Tables #_contentbuilder_storages and #_contentbuilder_storage_fields are now created without the alternate key.
Tables #_contentbuilder_users and #_contentbuilder_verifications ar created according to script.

Which actions do i need to compensate for the missing keys/constraints?

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Última Edición: Post by hverdel.

CB shows code instead of values in emails 1 año 10 meses antes #256160

  • Avatar de tihana.krivic
  • tihana.krivic
  • Fuera de línea
  • Moderador
  • Moderador
  • Registered
  • Mensajes: 12079
  • Gracias recibidas: 778
Hi,

1) there should be these tables:
	#_contentbuilder_articles
	#_contentbuilder_elements
	#_contentbuilder_forms
	#_contentbuilder_list_records
        #_contentbuilder_list_states
	#_contentbuilder_rating_cache
        #_contentbuilder_records
	#_contentbuilder_registered_users
	#_contentbuilder_resource_access
	#_contentbuilder_storages
        #_contentbuilder_storage_fields
        #_contentbuilder_users
         #_contentbuilder_verifications
What I had in mind was to export my ContentBuilder DB so you can import it to your site. Afterwards you should be able to install the CB ( this was the fix for previous user ).

2) This is because the maximum length of a utf8mb4 character is four bytes. For a utf8 character it would be three bytes resulting in max index prefix length of 254.
One option you have is to just place lower limit on your VARCHAR fields.

Hope this helps

Regards,
Tihana

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Moderadores: ForumSupport
Tiempo de carga de la página: 0.129 segundos

Live Support Chat Opened!

Join our Discord chat here and enter the Crosstec channels to receive live support and talk directly to the team!