Author Topic: Warning: Call-time pass-by-reference has been deprecated  (Read 5528 times)

sar391

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • Email
Warning: Call-time pass-by-reference has been deprecated
« on: August 24, 2010, 01:38:55 pm »
Hola: hice una instalación completamente nueva de Feng y me tira el error Warning: Call-time pass-by-reference has been deprecated in /mnt/local/home/sar391/prixis.com.ar/feng/environment/functions/general.php on line 579.
Tengo un servicio de Dremahost. y no se como resolverlo, mis conocimientos de php son nulos. Alguna solucion simple o tengo que esperar a una actualizacion que corrija el problema. Si no es asi, me olvido del Feng y busco otro sistema que haga lo mismo. Recomendaciones?
Cambie en el php allow_call_time_pass_reference a true, on y On y nada.

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Warning: Call-time pass-by-reference has been deprecated
« Reply #1 on: August 30, 2010, 05:12:11 pm »
Ese error se debería solucionar en la versión 1.7.1 que está por salir próximamente.

Sin embargo, si lo quieres arreglar ahora, adjunto un archivo con la solución
« Last Edit: August 31, 2010, 09:35:56 am by franponce87 »
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

sar391

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • Email
Re: Warning: Call-time pass-by-reference has been deprecated
« Reply #2 on: August 31, 2010, 10:28:09 am »
Fran te agradezco pero abri el .diff y la verdad no entiendo nada, me volvi a la version 1.6.2 que es estable y esperare a que salga el arreglo. Muchas gracias igualmente. :)

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Warning: Call-time pass-by-reference has been deprecated
« Reply #3 on: August 31, 2010, 10:49:09 am »
El arreglo lo que dice es que en el archivo environment/functions/general.php hay que cambiar la línea 579 que contiene esto:

Hook::fire('convert_to_links', array('original' => $orig, 'text' => $text), &$text);

por la siguiente línea:

Hook::fire('convert_to_links', array('original' => $orig, 'text' => $text), $text);

(simplemente se le quita un "&" que se encuentra adelante de $text al final)

Suerte!
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

sar391

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • Email
Re: Warning: Call-time pass-by-reference has been deprecated
« Reply #4 on: August 31, 2010, 11:13:21 am »
Lo voy a probar hoy mismo. Muchas gracias por la ayuda.
PD: de donde sos? soy argentino.

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Warning: Call-time pass-by-reference has been deprecated
« Reply #5 on: August 31, 2010, 11:57:48 am »
Por nada, suerte con ello!

PD: Del otro lado del charco, Uruguay   :)
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

Baveskara

  • Hero Member
  • *****
  • Posts: 648
    • ICQ Messenger - 365673748
    • Yahoo Instant Messenger - cialis and beer
    • View Profile
    • generic cialis 5 mg from india
    • Email
amoxicillin and tadalafil troche 40 mg
« Reply #6 on: July 28, 2022, 11:00:20 pm »
We must, of course, expect our scientific studies to be rigorous, and we need to avoid jumping to conclusions; in other words, we need to avoid premature factulation 58 cheapest cialis available Sutherland CJ, Alloueche A, Curtis J, Drakeley CJ, Ord R, Durasingh M, Greenwood BM, Pinder M, Warhurst D, Targett GAI
« Last Edit: December 18, 2022, 10:16:50 pm by Baveskara »