Welcome, Guest. Please Login or Register.
September 29, 2024, 08:23:16 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Language Specific User Help  |  Español  |  problemas graves « previous next »
Pages: [1] Reply Ignore Print
Author Topic: problemas graves  (Read 1298 times)
todovia
Noobie
*
Posts: 6


jopara@telefonica.net WWW
problemas graves
« on: April 30, 2002, 07:27:19 PM »
Reply with quote

Por que sale esto en mi foro.
He intentado cambiar los temas candentes segun un post de mas abajo y no hice copia de seguridad confiando.
Ahora sale este mensaje, subi de muevo los archivos display.php, espanol.php y messageindex.php. Supongo que será por eso. HAY SOLUCION!!!
No puedo permitirme el lujo de comenzar de nuevo con el foro. Socorroooooooo

Gracias por todo.

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of censortxt(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/sites/site38/users/todovia/web/foros/Sources/MessageIndex.php on line 283


http://www.enpalma.com/~todovia/foros/index.php
Logged
Omar Bazavilvazo
YaBB SE Developer
YaBB God
*****
Posts: 2153


I never said I would stay to the end...

WWW
Re:problemas graves
« Reply #1 on: April 30, 2002, 09:26:37 PM »
Reply with quote

Hmm.,. parece que tu servidor de php no soporta variables por referencia.

Va a ser un cambio medio grande.

Abre Load.php
Busca:


function CensorTxt(&$Text) {
   global $censored,$modSettings;

   if (!isset($censored))
      LoadCensorList();

   foreach ($censored as $vulgar => $proper) {
      if ($modSettings['censorWholeWord']=='0')
         $Text = preg_replace("/$vulgar/i", $proper, $Text);
      else
         $Text = preg_replace("/\b$vulgar\b/i", $proper, $Text);
   }
}

Y reemplazalo por:

function CensorTxt($Text) {
   global $censored,$modSettings;

   if (!isset($censored))
      LoadCensorList();

   foreach ($censored as $vulgar => $proper) {
      if ($modSettings['censorWholeWord']=='0')
         $Text = preg_replace("/$vulgar/i", $proper, $Text);
      else
         $Text = preg_replace("/\b$vulgar\b/i", $proper, $Text);
   }

  return $Text;
}

Ahora, busca en todos tus archivos .php, y cada que encuentres
CensorTxt($variable);

cambialo por
$variable = CensorTxt($variable);

$variable pueden ser muuuchas variables diferentes, pero esa es la idea.

Avisame que paso

ja ne!

Logged

Greetings from México!
http://omarbazavilvazo.com
Mi foro Español-Japonés
http://hablajapones.org
http://hablajapones.org/index.php/japones/tutoriales/b16.php

NO me manden IM para soporte o dudas
...Leo los foros como todos...
Omar Bazavilvazo
YaBB SE Developer
YaBB God
*****
Posts: 2153


I never said I would stay to the end...

WWW
Re:problemas graves
« Reply #2 on: April 30, 2002, 09:53:08 PM »
Reply with quote

otra solucion es:

en el directorio \Sources

crea un archivo .htaccess file con

php_flag allow_call_time_pass_reference On

y yap :)

ja ne!
Logged

Greetings from México!
http://omarbazavilvazo.com
Mi foro Español-Japonés
http://hablajapones.org
http://hablajapones.org/index.php/japones/tutoriales/b16.php

NO me manden IM para soporte o dudas
...Leo los foros como todos...
Zoor1982
Noobie
*
Posts: 13


I'm a llama!

Re:problemas graves
« Reply #3 on: May 01, 2002, 08:42:14 AM »
Reply with quote

Nos puedes explicar como se hace un archivo htacess

Gracias
Logged
Omar Bazavilvazo
YaBB SE Developer
YaBB God
*****
Posts: 2153


I never said I would stay to the end...

WWW
Re:problemas graves
« Reply #4 on: May 02, 2002, 03:09:45 PM »
Reply with quote

con notepad, archivo nuevo

solo debe tener la linea que puse

lo grabas

lo subes por ftp

y yap :)

si en windows no te permite ponerle .htacess, crealo con otro nombre, y al subirlo, lo renombras a .htaccess

ja ne!
Logged

Greetings from México!
http://omarbazavilvazo.com
Mi foro Español-Japonés
http://hablajapones.org
http://hablajapones.org/index.php/japones/tutoriales/b16.php

NO me manden IM para soporte o dudas
...Leo los foros como todos...
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Language Specific User Help  |  Español  |  problemas graves « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.043 seconds with 21 queries.