Error after installation
-
After I Updated to version 1.6.2.8 When I try to access the site or even the admin panel I get this error.. “PDb_Session::__construct checking PHP session” How do I fix this?
-
It’s not an error, just some informational logging. Are you running in debug mode? Normally, this is not seen.
All I did was go into my wordpress site, updated your plugin and then when I tried to go back to the site it would only show that error….nothing else even in the wp-admin log in attempt
In order to be able to get my site back up I renamed the plugin directory… the i gained access to the admin panel…all plugins where disables… I renamed the directory back to plugins and enabled all pluging… except participants_database… reactivating the plugin got the error above
Suggested fix to be able to run your program on my site with out it crashing?
Make sure your PHP version is 5.3 or more…I’m guessing this is the problem.
it is 5.4
would downloading the plugin and re-uploading the pluging files over the existing ones maybe fix the issue?
FYI…as soon as I enale the plugin currently, crashes the entire website so that only the error shows… “PDb_Session::__construct checking PHP session”
OK, that’s hard to explain, unless PHP sessions are not working on your site….still that wouldn’t normally cause a fatal error.
Getting a look at your PHP error log would help pinpoint the issue. The error should be in there if you’ve got the log set up.
If I look for the log where can I send it to you at?
Also…if I simply uploaded a new copy of the plugin… will I lose my previous data..or might it fix the error? Wherer BTW are the PHP error logs located?
OK…I fixed it…I used a plug-in called WP Rollback to roll it back to 1.6.2.7.1 and then used that plugin to rollback (actually forward) to 1.6.2.8 and it worked
Curious. Glad it worked, for you though!
Just noticed I was getting this error on all sites (half a dozen or so) where I run PDB v1.6.2.8.
PHP version 5.5.9
Example from error log (after disabling/enabling the plugin):
2016/05/04 16:52:47 [error] 29797#0: *931587 FastCGI sent in stderr: “PHP message: PDb_Session::__construct checking PHP session
PHP message: participants-database plugin activated” while reading response header from upstream, client: 195.xxx.xxx.xxx, server: http://www.example.com, request: “GET /wp-admin/plugins.php?action=activate&plugin=participants-database%2Fparticipants-database.php&plugin_status=all&paged=1&s&_wpnonce=25556f43d9 HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php5-fpm.sock:”, host: “www.example.com”, referrer: “https://www.example.com/wp-admin/plugins.php?plugin_status=all&paged=1&s”2016/05/04 16:52:48 [error] 29797#0: *931587 FastCGI sent in stderr: “PHP message: PDb_Session::__construct checking PHP session” while reading response header from upstream, client: 195.xxx.xxx.xxx, server: http://www.example.com, request: “GET /wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s= HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php5-fpm.sock:”, host: “www.example.com”, referrer: “https://www.example.com/wp-admin/plugins.php?plugin_status=all&paged=1&s”
2016/05/04 16:53:48 [error] 29797#0: *931587 FastCGI sent in stderr: “PHP message: PDb_Session::__construct checking PHP session” while reading response header from upstream, client: 195.xxx.xxx.xxx, server: http://www.example.com, request: “POST /wp-admin/admin-ajax.php HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php5-fpm.sock:”, host: “www.example.com”, referrer: “https://www.example.com/wp-admin/plugins.php?plugin_status=all&paged=1&s”
2016/05/04 16:54:48 [error] 29797#0: *931587 FastCGI sent in stderr: “PHP message: PDb_Session::__construct checking PHP session” while reading response header from upstream, client: 195.xxx.xxx.xxx, server: http://www.example.com, request: “POST /wp-admin/admin-ajax.php HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php5-fpm.sock:”, host: “www.example.com”, referrer: “https://www.example.com/wp-admin/plugins.php?plugin_status=all&paged=1&s”
2016/05/04 16:55:18 [error] 29797#0: *931587 FastCGI sent in stderr: “PHP message: PDb_Session::__construct checking PHP session” while reading response header from upstream, client: 195.xxx.xxx.xxx, server: http://www.example.com, request: “GET / HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php5-fpm.sock:”, host: “www.example.com”
2016/05/04 16:55:18 [error] 29797#0: *931587 FastCGI sent in stderr: “PHP message: PDb_Session::__construct checking PHP session” while reading response header from upstream, client: 195.xxx.xxx.xxx, server: http://www.example.com, request: “GET /?sccss=1&ver=4.5.1 HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php5-fpm.sock:”, host: “www.example.com”, referrer: “https://www.example.com/”
Plugin seems to be working as it should, but this will quickly fill the error logs….
Question: Are the PDB db tables deleted if I remove/reinstall the plugin? Don’t feel like losing a lot of valuable data. š
These are normally short log messages that happen when activating the plugin. It looks like you’ve got some kind of debug trace mode set on your error logs that is adding a lot of information to those simple messages.
You can reinstall the plugin without losing your database as long as you don’t use the WordPress plugin “delete” function.
Wtf is a “WordPress plugin ‘delete’ function”?
Short log messages? Might be short but happens on every page load. I consider your plugin dumped deep in the ocean. Insert graphic words where appropriate in my previous sentences for an effect of passive aggression.
If you deactivate a plugin, you can also then use the “delete” command to erase everything, including the plugin database. If you want to reinstall the plugin, you just need to use FTP to replace the plugin files with new ones downloaded from the WP plugin page.
The topic ‘Error after installation’ is closed to new replies.