[ixpmanager] issue in Doctrine (IXP Manager)

Barry O'Donovan barry.odonovan at inex.ie
Sun Sep 27 10:53:28 IST 2015


Right, so the issue is:

> Message: DateTime::__construct(): 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.

I.e. in /etc/php.ini find the setting date.timezone and set the timezone.

i.e. it's probably like this now:

;date.timezone =

change it to something like:

date.timezone = Asia/Calcutta


Or, in IXP Manager root directory, add the following line near the top 
of public/index.php (but after the line <?php):

date_default_timezone_set('Asia/Calcutta');

  - Barry



On 26/09/2015 17:20, chandra prakash wrote:
> Hi,
>
> Find the details , Log file attached.
>
> [root at nixi ~]# cat /usr/local/ixp/application/configs/application.ini
> | grep doctrine resources.doctrine2cache.path               =
> "/usr/share/pear/Doctrine/ORM"
> resources.doctrine2cache.autoload_method    = "pear"
> resources.doctrine2cache.namespace                          =
> 'IXPManager' ; resources.doctrine2cache.type = 'ArrayCache'
> resources.doctrine2cache.type = 'MemcacheCache'
> resources.doctrine2cache.memcache.servers.0.host = '127.0.0.1'
> resources.doctrine2cache.memcache.servers.0.port = '11211' ;
> resources.doctrine2cache.memcache.servers.0.persistent = false ;
> resources.doctrine2cache.memcache.servers.0.weight     = 1 ;
> resources.doctrine2cache.memcache.servers.0.timeout    = 1 ;
> resources.doctrine2cache.memcache.servers.0.retry_int  = 15 ;
> resources.doctrine2cache.memcache.servers.1.host       = 'xxx' ;
> resources.doctrine2cache.memcache.servers.2.host       = 'yyy'
> resources.doctrine2.models_path            = APPLICATION_PATH
> resources.doctrine2.proxies_path           = APPLICATION_PATH
> "/Proxies" resources.doctrine2.repositories_path      =
> APPLICATION_PATH resources.doctrine2.xml_schema_path        =
> APPLICATION_PATH "/../doctrine/schema"
> resources.doctrine2.autogen_proxies        = 0
> resources.doctrine2.logger                 = 1
> resources.doctrine2.models_namespace       = "Entities"
> resources.doctrine2.proxies_namespace      = "Proxies"
> resources.doctrine2.repositories_namespace = "Repositories"
> resources.doctrine2.connection.options.driver   = 'pdo_mysql'
> resources.doctrine2.connection.options.dbname   = 'ixp'
> resources.doctrine2.connection.options.user     = 'root'
> resources.doctrine2.connection.options.password = 'password'
> resources.doctrine2.connection.options.host     = '127.0.0.1'
> resources.doctrine2.connection.options.charset  = 'utf8mb4' ;
> resources.doctrine2.connection.options.charset  = 'utf8' [root at nixi
> ~]#
>
> Regards, Prakash
>
>
> On 9/26/15, Barry O'Donovan <barry.odonovan at inex.ie> wrote:
>>
>>
>> On 26/09/2015 01:21, chandra prakash wrote:
>>> [root at nixi bin]# mysql -h 'localhost' -u root '-p$password' ixp
>>> [root at nixi bin]# mysql -h 'nixi.org.in' -u root '-p$password' ixp
>>> [root at nixi bin]# mysql -h '127.0.0.1' -u root '-p$password' ixp
>>>
>>> Above Query ok
>>>
>>> PHP setting error already enabled
>>>
>>> phpSettings.display_startup_errors = 1
>>> phpSettings.display_errors = 1
>>
>> so what is the doctrine configuration lines from
>> application/config/application.ini ?
>>
>> I.e. cut and paste the result of:
>>
>> cat application/configs/application.ini | grep doctrine
>>
>>> but no directory 2015 under /var/log for log file.
>>
>> not /var/log but $IXP_MANAGER_ROOT_DIR/var/log
>>
>> You may need to: chmod -R a+rwX $IXP_MANAGER_ROOT_DIR/var
>>
>> This is all in the install docs.
>>
>> -  Barry
>>
>> _______________________________________________ INEX IXP Manager
>> mailing list ixpmanager at inex.ie
>> https://www.inex.ie/mailman/listinfo/ixpmanager
>>
>
>
>
>
> _______________________________________________ INEX IXP Manager
> mailing list ixpmanager at inex.ie
> https://www.inex.ie/mailman/listinfo/ixpmanager
>

-- 

Kind regards,
Barry O'Donovan
INEX Operations

Mob: +353 86 801 7669
Tel: +353  1 685 4220

+-------------------------------+-------------------------------------+
| Open Source Solutions Ltd.    | INEX Operations Team                |
| 52 Sandwith Street Lower,     | Internet Neutral Exchange           |
| Dublin D02 WR26, Ireland      | Association, 4027 Kingswood Road,   |
|                               | Citywest Business Campus, Dublin 24 |
| http://www.opensolutions.ie/  | http://www.inex.ie/                 |
+-------------------------------+-------------------------------------+


More information about the ixpmanager mailing list