Bienvenido a los foros %s

Foro comunidad hispana Dolibarr

Identificarse Registrarse

SOLUCIONADO rarezas en facturas proveed.- agenda

Si cree que ha encontrado un error en una versión estable, siéntase libre de comunicarlo aquí, indicando la versión.
alfonsSF
C-3PO
Mensajes: 222
Registrado: Mié, 09/01/2013, 16:11

SOLUCIONADO rarezas en facturas proveed.- agenda

Mensaje por alfonsSF »

Despues de la actualización de 3.4.2 a 3.5, cuando voy a facturas de proveedor me encuentro que encima de la barra de iconos de modulos me sale lo siguiente:
____________________________________________________________________________________________________
Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/dolibarr/htdocs/core/lib/functions.lib.php on line 1018 Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/dolibarr/htdocs/core/lib/functions.lib.php on line 1018 Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/dolibarr/htdocs/core/lib/functions.lib.php on line 1018 Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/dolibarr/htdocs/core/lib/functions.lib.php on line 1018 Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/dolibarr/htdocs/core/lib/functions.lib.php on line 1018 Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/dolibarr/htdocs/core/lib/functions.lib.php on line 1018 Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/dolibarr/htdocs/core/lib/functions.lib.php on line 1018 Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still gdespués de etting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/dolibarr/htdocs/core/lib/functions.lib.php on line 1018 Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/dolibarr/htdocs/core/lib/functions.lib.php on line 1018 Warning: Cannot modify header information - headers already sent by (output started at /var/www/dolibarr/htdocs/core/lib/functions.lib.php:1018) in /var/www/dolibarr/htdocs/main.inc.php on line 917.
____________________________________________________________________________________________________

Justo debajo de la barrra i encima de las pestañas me sale esto, tambiém por el estilo.

_____________________________________________después de _______________________________________________________
Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/dolibarr/htdocs/core/lib/functions.lib.php on line 1018 Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/dolibarr/htdocs/core/lib/functions.lib.php on line 1018 Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/dolibarr/htdocs/core/lib/functions.lib.php on line 1018 Warning: date_default_timezone_get(): It is not safe después de to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/dolibarr/htdocs/core/lib/functions.lib.php on line 1018 Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/dolibarr/htdocs/core/lib/functions.lib.php on line 1018 Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/dolibarr/htdocs/core/lib/functions.lib.php on line 1018 Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting después de or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/dolibarr/htdocs/core/lib/functions.lib.php on line 1018 Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/dolibarr/htdocs/core/lib/functions.lib.php on line 1018 Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/dolibarr/htdocs/core/lib/functions.lib.php on line 1018.
____________________________________________________________________________________________________

Y en las casillas de base imponible, ivba, etc, el simbolo del euro se ha cambiado por €


Alguien tiene alguna idea de lo que puede ser?

alfonsSF
C-3PO
Mensajes: 222
Registrado: Mié, 09/01/2013, 16:11

Mensaje por alfonsSF »

Parece ser que tiene que ver con la configuración de la zona horaria.
He editado
/var/www/dolibarr/htdocs/core/lib/functions.lib.php
en la línea 1018 y he puesto Europe/Madrid

Pero no me funciona.

toby
Novato
Mensajes: 16
Registrado: Mié, 26/03/2014, 18:10

Mensaje por toby »

que sistema operativo ocupas yo tengo el mismo error en ubuntu

alfonsSF
C-3PO
Mensajes: 222
Registrado: Mié, 09/01/2013, 16:11

Mensaje por alfonsSF »

Solucionado.

Yo tengo Ubuntu Server.

He hecho dos cosas:

Editar el archivo /var/www/dolibarr/htdocs/core/lib/functions.lib.php
poner Europe/Madrid. ( o el tuyo)

También he editado el archivo /etc/php5/apache2/php.ini
buscas la cadena "timezone" para encontrar la línea donde se encuentra el paràmetro a modificar.
en timezone le pones Europe/Madrid y le quitas el punto y coma de delante.

Una vez editados los archivos y guardados reinicia la máquina. Es más fácil que reiniciar servicios.


Me ha funcionado.

toby
Novato
Mensajes: 16
Registrado: Mié, 26/03/2014, 18:10

Mensaje por toby »

me podrias ayudar en una coneccion con teamviewer te dejo mi correo electronico kyori_tobi@hotmail.com por favor me urge espero me puedas ayudar

alfonsSF
C-3PO
Mensajes: 222
Registrado: Mié, 09/01/2013, 16:11

Mensaje por alfonsSF »

Has intentado hacer lo que he puesto en el post de la solución?

Solo has de tocar dos archivos y reiniciar.

Pon el sistema operativo que tiene la máquina que aloja Dolibarr y desde dónde accedes, desde la misma máquina o desde otro PC ?

toby
Novato
Mensajes: 16
Registrado: Mié, 26/03/2014, 18:10

Mensaje por toby »

si ya lo intente pero me marcaba otro error cheka el pos que dice Problemas con visualización de módulo Agenda es lo quie ise le movi a los archivos y nada :,(

alfonsSF
C-3PO
Mensajes: 222
Registrado: Mié, 09/01/2013, 16:11

Mensaje por alfonsSF »

Pon el enlace a tu hilo. No lo encuentro.

No has de mover nada. Solo poner el valor el en sitio adecuado y , en el caso de php.ini, quitar el punto y coma que hay delante para que no sea un comentario y procese la línea.

toby
Novato
Mensajes: 16
Registrado: Mié, 26/03/2014, 18:10

Mensaje por toby »

estado checando esto
nano /etc/php5/apache2/php.ini
nano /etc/php5/cli/php.ini

;date.timezone = a si esta

lo deje

date.timezone = América / Mexico_City con el acento en América


date.timezone = America / Mexico_City sin acento


date.timezone = "América / Mexico_City" con comillas


como debes estar setenciado para que pueda funcionar ???????



si baja el error pero despues me carca algo de UTC

alfonsSF
C-3PO
Mensajes: 222
Registrado: Mié, 09/01/2013, 16:11

Mensaje por alfonsSF »

Ha de ser:

date.timezone = America/Mexico_City.

Sin espacios antes ni después de la barra. Sin tildes. Sin comillas

Reinicia la máquina.

A mi me ha funcionado perfectamente.