Home Forum
2025-03-10
Benvenuto, Ospite
Nome Utente Password: Ricordami

Version 1.5.5 strpos Warnings
(1 Online) (1) Ospite
  • Pagina:
  • 1

ARGOMENTO: Version 1.5.5 strpos Warnings

Version 1.5.5 strpos Warnings 13 Anni, 10 Mesi fa #2159

  • cmb
  • Offline
  • Fresh Boarder
  • Messaggi: 13
I installed Version 1.5.5 Community to replace 1.5.4 Community. Now on unredirected bad URLs the following warning message is displayed before the Joomla default error message:

Warning: strpos() [function.strpos]: Empty delimiter in <site_directory>/public_html/plugins/system/redj.php on line 79

That message appears three times. I went back to version 1.5.4. The messages are not displayed. The visitor only sees the normal Joomla error message.
L'Argomento è stato bloccato.

Re: Version 1.5.5 strpos Warnings 13 Anni, 10 Mesi fa #2160

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Ok,
I just solved a similar issue for another user via email.

Change line 79 of redj.php plugin from:

if (strpos($_SERVER['REQUEST_URI'], $base_path) !== 0) { $base_path = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); }


To:

if (!empty($base_path)) { if (strpos($_SERVER['REQUEST_URI'], $base_path) !== 0) { $base_path = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); } }


That's all. I'm releasing a patched version.

Luigi
L'Argomento è stato bloccato.

Re: Version 1.5.5 strpos Warnings 13 Anni, 10 Mesi fa #2161

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Fixed in 1.5.6 version just released for both ReDJ Community and Enterprise.

Luigi
L'Argomento è stato bloccato.

Re: Version 1.5.5 strpos Warnings 13 Anni, 10 Mesi fa #2162

  • cmb
  • Offline
  • Fresh Boarder
  • Messaggi: 13
admin ha scritto:
Fixed in 1.5.6 version...
Luigi


I just installed the 1.5.6 Community version. I am happy to report that the warnings do not appear.
L'Argomento è stato bloccato.
  • Pagina:
  • 1
Moderatori: admin
Tempo generazione pagina: 0.49 secondi
Cerca con Google
News
Chi è online
 195 visitatori online
Sponsor

slotmachineaamsonline.com è una guida alle migliori slot machine online legali in Italia. Sul sito trovi un elenco sempre aggiornato dei casino online con Slot machine e bonus slot, le ultime novità dal mondo delle slot online e le migliori strategie per vincere. Inoltre, è disponibile una sezione dedicata alle slot machine da BAR che finalmente sono disponibili nella versione online.