Bienvenido, Invitado
Recordarme

TEMA:

Another PHP 8.0 Issue 4 meses 2 semanas antes #269785

  • Autor del tema
  • thering1975
  • Fuera de línea
  • Senior Breezer
  • Senior Breezer
  • Mensajes: 90
  • Gracias recibidas: 0
So as recommended updated one site to V8.0 and made the tweak ref magic quotes so i could access the actual backend.

However now when i try to link google drive in the backend of one of the forms, as soon as i enter the 2 codes and click save. I get a blank white page and the info is not saved.

Looking in the logs i see this error message:
Got error 'PHP message: PHP Fatal error:  Array and string offset access syntax with curly braces is no longer supported in xxx/xxx/xxx/ /public_html/plugins/breezingforms_addons/gdata/breezingforms_addons_gdata_libraries/Google/Utils.php on line 65

This is on:

BF 1.9.1 Stable (941)
PHP 8.0.15
Joomla 3.10.6

I also cannot install the Module as this errors out in the installer.

The fact that according to the extension manager the latest BF version is 2+ years old (downloaded today) the fixes aren't likely to be coming anytime soon as i see many issues on the forums ref Php 8.0 with a promise of a new version which obviously does not seem to exist

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

Another PHP 8.0 Issue 4 meses 2 semanas antes #269786

  • Avatar de tihana.krivic
  • tihana.krivic
  • Ausente
  • Moderator
  • Moderator
  • Mensajes: 10539
  • Karma: 3
  • Gracias recibidas: 705
Hi,

here you can find fix for breezingforms and php8:
crosstec.org/en/forums/41-breezingforms-...or-php-8.html#269665

If you have a problem with gdata, then I will send this to my colleague who is working on fix of gdata
Because team from google drive change everything and we needed to fix plugin, my colleague Mirko works on this

Regards,
Tihana

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

Última Edición: Post by tihana.krivic.

Another PHP 8.0 Issue 4 meses 2 semanas antes #269787

  • Autor del tema
  • thering1975
  • Fuera de línea
  • Senior Breezer
  • Senior Breezer
  • Mensajes: 90
  • Gracias recibidas: 0
Forbidden Link

And also, the error in in your coding for the Gdata plugin, not Google Drive, the authentication bit works fine, its the saving of the token, and as you can see the PHP error above is nothing to do with Google

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

Última Edición: Post by thering1975.

Another PHP 8.0 Issue 4 meses 2 semanas antes #269788

  • Avatar de tihana.krivic
  • tihana.krivic
  • Ausente
  • Moderator
  • Moderator
  • Mensajes: 10539
  • Karma: 3
  • Gracias recibidas: 705
Hi,

please go to this path:
/public_html/plugins/breezingforms_addons/gdata/breezingforms_addons_gdata_libraries/Google/Utils.php
and in line 65 you will see this code:
      $ordinalValue = ord($str{$ret});
replace curly braces with [] like this
$ordinalValue = ord($str[$ret]);
and that is it

Regards,
Tihana

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

Another PHP 8.0 Issue 4 meses 2 semanas antes #269791

  • Autor del tema
  • thering1975
  • Fuera de línea
  • Senior Breezer
  • Senior Breezer
  • Mensajes: 90
  • Gracias recibidas: 0
Okay

That gets rid of the php error, but you are right the gdrive plugin is broken as after entering the code it saves. then nothing it jjust goes back to the screen where you click the oauth button.

Also tried with my own GAuth client ID's and the same, it does not seem to save or link to Gdrive just refreshes and shows the gdrive login button

Thanks anyway

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

Última Edición: Post by thering1975.

Another PHP 8.0 Issue 4 meses 2 semanas antes #269792

  • Avatar de tihana.krivic
  • tihana.krivic
  • Ausente
  • Moderator
  • Moderator
  • Mensajes: 10539
  • Karma: 3
  • Gracias recibidas: 705
Hi,

I will forward this topic to my colleague who is working on gdata plugin.
You can contact him on email: ma@evolutio.hr

He will sent you fixed version of gdata

Regards,
Tihana

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

  • Página:
  • 1
  • 2
Moderadores: ForumSupport
Tiempo de carga de la página: 0.056 segundos