Results 1 to 7 of 7

Thread: Update Causes phpMyAdmin error

  1. #1

    Default Update Causes phpMyAdmin error

    The past couple of updates have messed up my localhost phpMyAdmin application. After the update I get the following error.

    Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.

    I have the old files backed up and when I restore them everything is ok.

    Why doesn't the update work? I figured it had to be a path or permissions problem. I gave unrestricted access to all users on all files and it still does not work.

    I found a php script in a phpMyAdmin wiki and it gives me this:

    If a session could be started successfully you should not see any Warning(s), otherwise check the path/folder mentioned in the warning(s) for proper access rights.The current "session.save_path" is "/var/lib/php5".
    Session file name: "sess_dee3dp1j6takbdtpvl702nbcptdivh82".


    which seems to me to say everything is cool pathwise.

    What the hey??!

  2. #2
    Join Date
    Jan 2009
    Location
    Switzerland
    Posts
    1,529

    Default Re: Update Causes phpMyAdmin error

    What is the error given in the log files? And where did you install the package from?
    Technology is 'stuff that doesn't work yet.' -- Bran Ferren

  3. #3

    Default Re: Update Causes phpMyAdmin error

    I was happy to use the older files and then came another update. I get the same results. To answer the above questions, the repository is obs://build.opensuse.org/server.php

    Where do I find the log files?

    BTW, the data base works just fine. Other mysql tools work without a glitch and the database serves up the data to the various browser applications that it serves. This is purely a phpMyAdmin thing.

  4. #4
    Join Date
    Jan 2009
    Location
    Switzerland
    Posts
    1,529

    Default Re: Update Causes phpMyAdmin error

    Where do I find the log files?
    Webserver logfile for errors should be at

    Code:
    /var/log/apache2/error_log
    Technology is 'stuff that doesn't work yet.' -- Bran Ferren

  5. #5

    Default Re: Update Causes phpMyAdmin error

    The last entry to the log looks like:

    [Wed Aug 03 00:24:14 2011] [notice] caught SIGTERM, shutting down
    [Wed Aug 03 00:26:08 2011] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
    PHP Warning: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0
    [Wed Aug 03 00:26:08 2011] [notice] Apache/2.2.15 (Linux/SUSE) mod_ssl/2.2.15 OpenSSL/1.0.0 PHP/5.3.3 configured -- resuming normal operations
    [Wed Aug 03 00:26:46 2011] [notice] caught SIGTERM, shutting down
    [Wed Aug 03 00:28:54 2011] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
    PHP Warning: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0
    [Wed Aug 03 00:28:54 2011] [notice] Apache/2.2.15 (Linux/SUSE) mod_ssl/2.2.15 OpenSSL/1.0.0 PHP/5.3.3 configured -- resuming normal operations
    [Wed Aug 03 00:42:41 2011] [notice] caught SIGTERM, shutting down
    [Wed Aug 03 00:43:53 2011] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
    PHP Warning: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0
    [Wed Aug 03 00:43:53 2011] [notice] Apache/2.2.15 (Linux/SUSE) mod_ssl/2.2.15 OpenSSL/1.0.0 PHP/5.3.3 configured -- resuming normal operations
    [Wed Aug 03 01:34:36 2011] [notice] caught SIGTERM, shutting down
    [Wed Aug 03 01:35:45 2011] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
    PHP Warning: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0
    [Wed Aug 03 01:35:45 2011] [notice] Apache/2.2.15 (Linux/SUSE) mod_ssl/2.2.15 OpenSSL/1.0.0 PHP/5.3.3 configured -- resuming normal operations
    [Wed Aug 03 02:26:42 2011] [error] [client ::1] File does not exist: /srv/www/htdocs/susehelp
    [Wed Aug 03 02:26:42 2011] [error] [client ::1] unable to include potential exec "include/top.html" in parsed file /usr/share/apache2/error/HTTP_NOT_FOUND.html.var
    [Wed Aug 03 02:26:42 2011] [error] [client ::1] unable to include potential exec "include/bottom.html" in parsed file /usr/share/apache2/error/HTTP_NOT_FOUND.html.var
    [Wed Aug 03 02:38:50 2011] [notice] caught SIGTERM, shutting down
    [Wed Aug 03 10:06:09 2011] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
    PHP Warning: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0
    [Wed Aug 03 10:06:09 2011] [notice] Apache/2.2.15 (Linux/SUSE) mod_ssl/2.2.15 OpenSSL/1.0.0 PHP/5.3.3 configured -- resuming normal operations

    The last time I tried to use phpmyAdmin was Aug 4th

  6. #6

    Default Re: Update Causes phpMyAdmin error

    I have the same error after update
    My log:
    Thu Sep 22 22:43:58 2011] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
    [Thu Sep 22 22:43:58 2011] [warn] No JkLogFile defined in httpd.conf. Using default /srv/www/logs/mod_jk.log
    [Thu Sep 22 22:43:58 2011] [warn] No JkShmFile defined in httpd.conf. Using default /srv/www/logs/jk-runtime-status
    [Thu Sep 22 22:43:58 2011] [warn] No JkLogFile defined in httpd.conf. Using default /srv/www/logs/mod_jk.log
    [Thu Sep 22 22:43:58 2011] [warn] No JkShmFile defined in httpd.conf. Using default /srv/www/logs/jk-runtime-status
    [Thu Sep 22 22:43:58 2011] [notice] Apache/2.2.21 (Linux/SUSE) mod_ssl/2.2.21 OpenSSL/1.0.0c PHP/5.3.8 mod_jk/1.2.30 configured -- resuming normal operations

    Anyone can help?

  7. #7
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: Update Causes phpMyAdmin error

    You're just making things harder for yourself by appending to an old thread. People are less likely to see it. It's better to start a new thread when in doubt.

    And in fact those warnings have nothing to do with PHP. There are errors in your mod_jk config. Do you actually use mod_jk? If not, don't load that module.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •