Home Forum
2024-12-21
Benvenuto, Ospite
Nome Utente Password: Ricordami

ReDj is crashing my system -- help !!! (again)
(1 Online) (1) Ospite
  • Pagina:
  • 1

ARGOMENTO: ReDj is crashing my system -- help !!! (again)

ReDj is crashing my system -- help !!! (again) 13 Anni, 4 Mesi fa #2469

  • kross76
  • Offline
  • Fresh Boarder
  • Messaggi: 5
Ok. I have pin-pointed an issue that seems to be causing me a big problem. It involves front-end login by a super-administrator (me). It should be easy to replicate by anyone using ReDj. If you cannot replicate it, please let me know as it must be an anomaly of my site.

1. I completely uninstalled ReDj -- then I re-installed it.

2. I did not put any URL redirections into the component. It is a "virgin".

3. I logged into the front end with a "normal", registered user. Site works fine.

4. I logged into the front end as a super-administrator. I get a URL 500 error.

5. I took my normal, registered user name and changed it to a super-administrator and logged into the front end. I get the URL 500 error. This same issue happens when I changed it to permit any back-end access. When I changed the user back to a normal, registered user, my front-end login works fine.

6. Note, I have no problems logging into the backend as a super administrator, and I can eliminiate the problem by un-publishing the plugin. The problem returns when I re-publish the plugin.
L'Argomento è stato bloccato.

Re: ReDj is crashing my system -- help !!! (again) 13 Anni, 4 Mesi fa #2496

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Ok,
it seems the problem could be related to a missing PHP library. You should check the error message in your web server error log.

If you can't get the error message, just try this. Open redj.php in the system plugin foled and find this function:

function sanitizeURL($url) {
//return utf8_encode(substr(utf8_decode($url), 0, VARCHAR_SIZE));
return mb_substr($url, 0, VARCHAR_SIZE, 'UTF-8');
}


So, de-comment the first line and comment the second:

function sanitizeURL($url) {
return utf8_encode(substr(utf8_decode($url), 0, VARCHAR_SIZE));
//return mb_substr($url, 0, VARCHAR_SIZE, 'UTF-8');
}


And check if problem persists...
Let me know,
Luigi
L'Argomento è stato bloccato.
  • Pagina:
  • 1
Moderatori: admin
Tempo generazione pagina: 0.43 secondi
Cerca con Google
News
Chi è online
 253 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.