Roundcube Community Forum

 

PHP Fatal error: Call to undefined function get_input_value() in ....

Started by GotNoClue, January 23, 2018, 09:20:27 PM

Previous topic - Next topic

GotNoClue

I just upgraded from 0.9.5 to latest.  No errors shown during upgrade in ssh.  Now when I try to connect to webpage I get an error 500 and the following error shows in roundcube log file:

PHP Fatal error:  Call to undefined function get_input_value() in /public_html/webmail_rc/plugins/db_version/db_version.php on line 15

In the website log files I see this error:

PHP Parse error:  syntax error, unexpected ':' in /public_html/webmail_rc/index.php on line 85

I tried to run the update just in case something did not copy over right but says target location is up-to-date.


alec


GotNoClue

db_version plugin was not enabled.  I removed all plugins to make sure they are not causing the issue and do not see any errors in the roundcube error log now but still getting the error message 500 trying to access the logon page.


Quote from: GotNoClue on January 23, 2018, 09:20:27 PM
In the website log files I see this error:

PHP Parse error:  syntax error, unexpected ':' in /public_html/webmail_rc/index.php on line 85

alec

Looks like you're using some ancient PHP version. Did you check latest Roundcube requirements?

GotNoClue

Yes the server requirements show:

Apache, Lighttpd, Nginx, Cherokee or Hiawatha web server
PHP Version 5.4 or greater
MySQL, PostgreSQL, SQLite, MSSQL or Oracle database
SMTP server and IMAP server with IMAP4 rev1 support


My server has:

Apache - 2.2.34
PHP - 5.6.32
MySQL - 5.6.32-78.1
Perl - 5.24.1

GotNoClue

So it does seem I am running an older version of PHP than what the host provider is telling me.

Current PHP version: 5.2.17

I will check with the host provider to get this resolved and follow back up once PHP has been upgraded.

GotNoClue

updated to version 5.6.32 and verified but still same error showing in log.

PHP Parse error:  syntax error, unexpected ':' in /public_html/webmail_rc/index.php on line 85


any other suggestions?

GotNoClue

alec,

Thank you for you input which help to resolve the issue.


Removed plugin_manager from plugins list in main.inc.php
Upgraded PHP from 5.2.17 to 5.6.32
updated .htaccess on root

Not sure why I was still getting errors and unable to access the site after they were originally changed but now I am in (maybe due to cache issue on system who knows)

This topic can be closed as resolved!   :)