Quiero actualizar el PHP de mi web de 5.6 a 7.0.
pero me da problemas según vuestro soporte alguna extensión (de gestor de contenidos, posible)
al hacer un analisis con Stephan me salió esto: como error
Veo que hay un archivo de registro que indica la existencia de errores 500 en alguna web alojada en tu cuenta de Hosting:
[04-Dec-2018 18:32:18 Europe/Berlin] PHP Fatal error: require_once(): Failed opening required '/home/proteces/public_html/administrator/includes/toolbar.php' (include_path='.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in /home/proteces/public_html/administrator/components/com_jce/controller.php on line 134
y:
El sitio tiene mal configurada la ruta de log_path en el configuration.php, el valor actual es /home/proteces/public_html/pro-tec/logs y el correcto es /home/proteces/public_html/logs
El sitio tiene mal configurada la ruta de tmp_path en el configuration.php, el valor actual es /home/proteces/public_html/pro-tec/tmp y el correcto es /home/proteces/public_html/tmp
El sitio tiene configurada la variable live_site: https://pro-tec.es
y:
La última versión estable de VirtueMart es la 3.4.3 http://dev.virtuemart.net/projects/virtuemart/files
Si tu versión es anterior, es recomendable que actualices previa copia de seguridad. Si has personalizado el código de VirtueMart, valora antes de actualizar si te es posible hacerlo sin afectar a los cambios aplicados.
Esta versión solo es compatible con Joomla 3.8.x y PHP 7.x
la versión de virtuemark: convendrá que la actualice? pero supongo después de actualizar a PHP 7.0
he solicitado que me hagan un clon de la web para hacer las pruebas.
un saludo y gracias.
URL del sitio: Contenido solo visible a usuarios registrados
Hola
En realidad no es un error:
[05-Dec-2018 16:03:45 Europe/Berlin] PHP Warning: A non-numeric value encountered in /home/proteces/public_html/clon/libraries/expose/core/menu/megamenu.php on line 337
Indica que hay un problema con el dato recibido y te emite una advertencia, es un bug ya que a través de programación no se valida esto y simplemente le da el control a PHP el cual emite este warning
De manera general podrías probar creando nuevamente tu menú y ver si te sucede lo mismo, si aún sigues con problemas tendrías que consultar con los desarrolladores. Sin embargo es posible que una futura actualización de tu theme corrija esto (entiendo que el mengamenu es parte del theme)
Saludos.
volvi a hacer diagnostico de stephan y me sale :
Veo que hay un archivo de registro que indica la existencia de errores 500 en alguna web alojada en tu cuenta de Hosting:
[04-Dec-2018 18:32:18 Europe/Berlin] PHP Fatal error: require_once(): Failed opening required '/home/proteces/public_html/administrator/includes/toolbar.php' (include_path='.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in /home/proteces/public_html/administrator/components/com_jce/controller.php on line 134
[05-Dec-2018 13:24:55 Europe/Berlin] PHP Fatal error: require_once(): Failed opening required '/home/proteces/public_html/administrator/includes/toolbar.php' (include_path='.:/opt/alt/php72/usr/share/pear') in /home/proteces/public_html/administrator/components/com_jce/controller.php on line 134
[05-Dec-2018 13:24:55 Europe/Berlin] PHP Fatal error: require_once(): Failed opening required '/home/proteces/public_html/administrator/includes/toolbar.php' (include_path='.:/opt/alt/php72/usr/share/pear') in /home/proteces/public_html/administrator/components/com_jce/controller.php on line 134
[05-Dec-2018 13:25:22 Europe/Berlin] PHP Fatal error: require_once(): Failed opening required '/home/proteces/public_html/administrator/includes/toolbar.php' (include_path='.:/opt/alt/php72/usr/share/pear') in /home/proteces/public_html/administrator/components/com_jce/controller.php on line 134
pero esta frase: (include_path='.:/opt/alt/php72/usr/share/pear') como la tengo que incluir en la linea 134?
Hola
Qué versión de PHP tienes en tu sitio, es PHP 5.6?, ya que un mensaje hace referencia a esa versión
Saludos.
está todo en PHP 7.2
Hola Guillermo.
Sigue los pasos de esta entrada:
-> https://answers.themler.io/articles/173620/how-to-fix-the-error-after-updating-to-joomla-3-9
Recuerda descargar una copia de los archivos antes de realizar la modificación.
Un saludo
perdon, pero no encontré estos archivos para modificarlos.
no aparece la carpeta app.
HOla
Creo que el enlace que estas siguiente hace referencia a un theme que posiblemente no usas.
Prueba desactivar o desinstalar JCE ya que aún he visto que se generan errores con esta extensión, no te olvides de borrar tu archivo error_log, y verifica si se generan nuevos mensajes.
Saludos.
NO CREO QUE EL PROBLEMA DE jce SEA GRAVE.
No obstante, me siguen apareciendo continuamente estos errores em el archivo error.log:
el modulo de social icon ya lo cambié y no me da error.
[07-Dec-2018 14:36:03 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 14:36:03 Europe/Berlin] PHP Warning: A non-numeric value encountered in /home/proteces/public_html/libraries/expose/core/menu/megamenu.php on line 337
[07-Dec-2018 14:36:03 Europe/Berlin] PHP Warning: A non-numeric value encountered in /home/proteces/public_html/libraries/expose/core/menu/megamenu.php on line 337
[07-Dec-2018 14:38:32 Europe/Berlin] PHP Warning: A non-numeric value encountered in /home/proteces/public_html/libraries/expose/core/menu/megamenu.php on line 337
[07-Dec-2018 14:38:32 Europe/Berlin] PHP Warning: A non-numeric value encountered in /home/proteces/public_html/libraries/expose/core/menu/megamenu.php on line 337
Hola Guillermo
[07-Dec-2018 14:38:32 Europe/Berlin] PHP Warning: A non-numeric value encountered in /home/proteces/public_html/libraries/expose/core/menu/megamenu.php on line 337
Este aviso hace referencia al modulo de Megamenu. Veo que utilizas la plantilla Zenith esta plantilla lleva su propio megamenu en las opciones de la plantilla.
Tienes que ver si hay actualizaciones de la plantilla
-> https://www.themexpert.com/joomla-templates/zenith
El problema es por que existen valores en el archivo megamenu.php que no son validos con las nuevas versiones de PHP, este problema lo tienen que tener solucionado en las nuevas versiones de la plantilla.
De todas formas prueba lo siguiente.
.- Edita el archivo megamenu.php que tienes en la ruta libraries -> expose -> core -> menu -> megamenu.php
.- La linea 337 tienes que tener un código como este:
$width += $colw;
.- Sustituye el código por lo siguiente:
$width = $colw;
Nota: Recuerda descargar primero el archivo antes de realizar la modificación para tener una copia del original.
Los errores que muestras son todos por extensiones, plantilla, joomla, que no están actualizadas y no soportan las nuevas versiones de PHP
Un saludo
hola Pepe, hice lo que me dijidte, no aparece el mensaje del megamenu, pero aparecen estos otros:
[07-Dec-2018 16:32:20 Europe/Berlin] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/proteces/public_html/clon/components/com_breezingforms/breezingforms.php on line 336
[07-Dec-2018 16:32:20 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:32:22 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:32:22 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:32:24 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:32:27 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:32:30 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:32:32 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:32:36 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:32:41 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:32:43 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:32:45 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:32:50 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:32:50 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:32:52 Europe/Berlin] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/proteces/public_html/clon/components/com_breezingforms/breezingforms.php on line 336
[07-Dec-2018 16:32:52 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:33:00 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:33:00 Europe/Berlin] PHP Notice: Undefined property: stdClass::$url in /home/proteces/public_html/clon/libraries/expose/core/processor.php on line 272
[07-Dec-2018 16:33:00 Europe/Berlin] PHP Notice: Undefined property: stdClass::$media in /home/proteces/public_html/clon/libraries/expose/core/processor.php on line 272
[07-Dec-2018 16:33:00 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:52:01 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:52:04 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:52:04 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:52:07 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:52:07 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:52:08 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:52:09 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:52:09 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:52:10 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:52:12 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:52:12 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:52:14 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:52:14 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:52:17 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:52:19 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
[07-Dec-2018 16:52:19 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ExposeBrowser has a deprecated constructor in /home/proteces/public_html/clon/libraries/expose/libs/browser.php on line 135
supongo que esto no termina más hasta que actualicen la página TX ZENITH
un saludo.
Hola Guillermo.
Pues si, si actualizas la plantilla y quieres utilizar las nuevas versiones de PHP, estaras con problemas continuos hasta que llegara un momento que la web se caerá.
[07-Dec-2018 16:32:20 Europe/Berlin] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/proteces/public_html/clon/components/com_breezingforms/breezingforms.php on line 336
Descarga y la ultima versión de Breezing form:
-> https://crosstec.org/en/downloads/breezingforms-for-joomla.html
Para actualizar el componente solo tienes que instalar el paquete que te descargaste como cualquier otra extensión.
Un saludo
nada esto último no funcionó no se deja instalar.
que me conviene hacer entonces. esperar a que salga una nueva version de Joomla, o que.
porque la plantilla de TX Zenith no veo donde se puede actualizar.
un saludo.
Hola
Ese mensaje es de Breezing Forms, efectivamente en este caso tienes que esperar una actualización de BF ya que la versión de PHP indica que no soportará la función each() que se esta usando (no lo soportará en otra futura versión por eso aparece Deprecated ), aunque tu sitio debería seguir funcionando.
No detecto mensajes con el theme Zenith, más bien hace referencia a librerías, pero supongo que no son del theme, un theme no debería tener archivos como parte de la librería, salvo use un framework
En resumen es algo que se solucionaría con una futura actualización pero igual tu sitio debería funcionar.
Saludos.