Hola
Tengo numerosos errores al actualizar de una versisón 6 a la 7.0.1 en un hosting compartido sobre Linux. Evidentemente, no puedo cambiar conf.php
Comprobación de los prerrequisitos:
Ok Versión PHP 7.2.3 (Más información)
Ok Este PHP soporta bien las variables POST y GET.
Ok Este PHP soporta sesiones
Ok Este PHP soporta las funciones gráficas GD.
Ok Este PHP soporta Curl
Ok Este PHP soporta las funciones UTF8.
Ok Su memoria máxima de sesión PHP esta definida a 256M. Esto debería ser suficiente.
Ok El archivo de configuración htdocs/conf/conf.php existe.
Warning El archivo htdocs/conf/conf.php no es modificable. Para una primera instalación, modifique sus permisos. El servidor Web debe tener el derecho a escribir en este archivo durante la configuración ("chmod 666" por ejemplo sobre un SO compatible UNIX).
Versión de la última actualización: 7.0.1
Versión programa: 7.0.1
Ejemplos de errores:
Error al guardar en Configuración - Empresa/Institución
Warning: Declaration of modCustomFields::init() should be compatible with DolibarrModules::init($options = '') in /xxxxxxx/htdocs/customfields/core/modules/modCustomFields.class.php on line 291
Warning: Declaration of modCustomFields::remove() should be compatible with DolibarrModules::remove($options = '') in /xxxxxxx/htdocs/customfields/core/modules/modCustomFields.class.php on line 291
Warning: Cannot modify header information - headers already sent by (output started at /xxxxxxx/htdocs/customfields/core/modules/modCustomFields.class.php:291) in /xxxxxxx/htdocs/admin/company.php on line 205
Error al entrar En Configuración - Valores por defecto
Warning: Use of undefined constant defaulturl - assumed 'defaulturl' (this will throw an Error in a future version of PHP) in /xxxxxxx/htdocs/admin/defaultvalues.php on line 215
Warning: Use of undefined constant defaulturl - assumed 'defaulturl' (this will throw an Error in a future version of PHP) in /xxxxxxx/htdocs/admin/defaultvalues.php on line 215
Warning: Use of undefined constant defaultkey - assumed 'defaultkey' (this will throw an Error in a future version of PHP) in /xxxxxxx/htdocs/admin/defaultvalues.php on line 216
Warning: Use of undefined constant defaultkey - assumed 'defaultkey' (this will throw an Error in a future version of PHP) in /xxxxxxx/htdocs/admin/defaultvalues.php on line 216
Warning: Use of undefined constant defaultvalue - assumed 'defaultvalue' (this will throw an Error in a future version of PHP) in /xxxxxxx/htdocs/admin/defaultvalues.php on line 217
Warning: Use of undefined constant defaultvalue - assumed 'defaultvalue' (this will throw an Error in a future version of PHP) in /xxxxxxx/htdocs/admin/defaultvalues.php on line 217
Error al entrar en Diccionarios
Warning: Declaration of modCustomFields::init() should be compatible with DolibarrModules::init($options = '') in /xxxxxxx/htdocs/customfields/core/modules/modCustomFields.class.php on line 291
Warning: Declaration of modCustomFields::remove() should be compatible with DolibarrModules::remove($options = '') in /xxxxxxx/htdocs/customfields/core/modules/modCustomFields.class.php on line 291
Warning: Cannot modify header information - headers already sent by (output started at /xxxxxxx/htdocs/customfields/core/modules/modCustomFields.class.php:291) in /xxxxxxx/htdocs/main.inc.php on line 1057
Warning: Cannot modify header information - headers already sent by (output started at /xxxxxxx/htdocs/customfields/core/modules/modCustomFields.class.php:291) in /xxxxxxx/htdocs/main.inc.php on line 1060
Warning: Cannot modify header information - headers already sent by (output started at /xxxxxxx/htdocs/customfields/core/modules/modCustomFields.class.php:291) in /xxxxxxx/htdocs/main.inc.php on line 1061
Ideas?
Gracias
Errores después de actualizar a versión 7.0.1
Hola.
entras por ssh ( root por supuesto )
chmod 775 directorio raiz /htdocs/conf/conf.php
deberias verificar con un ls -ln los permisos del directorio raiz, y
si hay que modificar alguno mas mejor hazlo recursivo y haz
propietario al usuario data.
pruebalo y cuentanos.
Si, tu has escrito ya la razon, asi sera mas facil.Ideas?
Resuelvelo asi.El archivo de configuración htdocs/conf/conf.php existe.
Warning El archivo htdocs/conf/conf.php no es modificable. Para una primera instalación, modifique sus permisos. El servidor Web debe tener el derecho a escribir en este archivo durante la configuración ("chmod 666" por ejemplo sobre un SO compatible UNIX).
entras por ssh ( root por supuesto )
chmod 775 directorio raiz /htdocs/conf/conf.php
deberias verificar con un ls -ln los permisos del directorio raiz, y
si hay que modificar alguno mas mejor hazlo recursivo y haz
propietario al usuario data.
pruebalo y cuentanos.