Visual phone book issue

  1. 12 years ago

    Hi Nicolas,

    One of our FOP2 seems faulty. The FOP2 been updated to the latest 2.23 release.
    The visual phonebook working fine when I restart a server for 20-30 minute sometimes for the couple of hours.
    Then when I want to log in there is a "You do not have permissions to access this resource." error message.
    If I change anything on the server and restart the service it is working again for 10-20-sometimes 60 minute.
    Is there any timeout somewhere in the system? It is very random now.
    Another interesting this is a browser. It is working ok from Internet explorer but not from Google Chrome.
    It is working sometimes from Firefox 10 minute later does not.
    Cache of the browser deleted and we tried different things without any reason.
    Any suggestion what can we do?

    Thanks

    Johnatan

  2. Hi Nicolas,

    Do you have any idea what cause this issue?
    The customer been chasing every day and I have no idea what can I do to fix it.

    Thanks

    Johnatan

  3. admin

    2 Dec 2011 Administrator

    php session expiration.. you must increase them in php.ini

  4. The \etc\php.ini file checked.
    I changed every parameters with timeout but the issue is still present.
    Is this the right ini file or is there any other php.ini in the system?

    Johnatan

  5. admin

    8 Dec 2011 Administrator

    The php.ini file location depends on your OS , what do you use? IN centos is /etc/php.ini

    session.gc_maxlifetime = 1440

    That means that after 24 minutes there is a chance that a session file will be garbage collected.. that is something else to check. Also be sure your session are working, check your apache error log file and see if there is anything strange or odd.

  6. Hi Nicolas,

    I tried to increase the session.gc_maxlifetime = 1440 tome to much higher but the issue still present.

    I found something interesting in the http error log file:

    [Fri Dec 09 17:17:57 2011] [error] [client 192.168.1.98] File does not exist: /var/www/html/fop2/fop2-variablesGENERAL.txt, referer: http://192.168.1.200:85/fop2/
    [Fri Dec 09 17:18:02 2011] [error] [client 192.168.1.98] File does not exist: /var/www/html/fop2/fop2-variablesGENERAL.txt, referer: http://192.168.1.200:85/fop2/

    [Fri Dec 09 16:58:17 2011] [error] [client 192.168.1.21] File does not exist: /var/www/html/admin/images/logo.png, referer: http://192.168.1.200:85/admin/config.ph ... op2buttons
    [Fri Dec 09 16:58:22 2011] [error] [client 192.168.1.21] File does not exist: /var/www/html/admin/images/logo.png, referer: http://192.168.1.200:85/admin/config.ph ... op2buttons
    [Fri Dec 09 16:58:24 2011] [error] [client 192.168.1.21] File does not exist: /var/www/html/admin/images/logo.png, referer: http://192.168.1.200:85/admin/config.ph ... op2buttons

    The best in the all, we never had a /admin access to our system just the /maint

    Do you have any advise? Is it a link somewhere in the fop2 cfg?

    Regards,

    Johnatan

  7. admin

    9 Dec 2011 Administrator

    None of those errors is related to php sessions. I do not know if you are using file based or other kind of php sessions, the problem is there, do not look at fop2. look at php.

or Sign Up to reply!