New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help for an idiot: Fatal error: Call to undefined function safe_unserialize() #2355
Comments
Please make sure your 'index.php' is up-to-date. In 1.3, it should have the line that includes "libs/upgradephp/upgrade.php". https://github.com/piwik/piwik/blob/master/index.php#L32 If you're using any 3rd party plugins, look for an update. For example, GeoIP was updated. |
Thanks for your prompt response. I've updated to the latest version of index.php and it doesn't appear to have made any difference as the same error message appears. |
Please check the file permissions and contents of libs/upgradephp/upgrade.php. https://github.com/piwik/piwik/blob/master/libs/upgradephp/upgrade.php It looks like you're making changes and/or doing some other troubleshooting. For piwik.php, I see you've enabled debugging and that your database user no longer has access to the database.
|
I've changed the file permission to 777 and still no joy. Not sure I understand what the problem is here as I've not made any changes to the script, it just seems to have stopped working for no apparent reason. |
Check your web server error log to see if there are more clues. Otherwise, if you can, send us email (or PM on the forum) with your ftp login, and we'll take a look. |
I replaced your index.php because it wasn't the file we packaged with 1.3. I replaced your piwik.php, turning off the debug. I suggest your change your ftp password because you posted it here in public. (oops) The only thing you have to do is either:
|
Hurrah, Piwik is back! Thank you so much for sorting that out, and pointing out that posting your password on a public forum is not a great idea :o) |
Piwik decided yesterday to stop working for no apparent reason. I'm totally new to Piwik and not that great with PHP so any help would be hugely appreciated.
The error I'm getting is Fatal error: Call to undefined function safe_unserialize()
The site is http://www.analytics.avara.co.uk/
Thanks in advance.
Keywords: undefined function
The text was updated successfully, but these errors were encountered: