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.
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.
[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
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
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.