mariadb - Error in php code after php and mysql upgrades -
my server has been upgraded , since 1 of old application not working
php
from php version 5.04 php version 5.4.156.
mysql
mysql database has been upgrade mysql version 4.1 mariadb version 5.5.52(mysql compatiable).
here attaching of error codes , if have ideas please solve issue.
error in login
this error , corresponding lines of codes.
php fatal error: call undefined function import_request_variables() in /user/jsf/public_html/guru/post_login.php on line 3 import_request_variables ("p","p_");
php notice: undefined index: hash in /user/jsf/public_html/guru/check_login.inc on line 7 $query.=$_request['hash']."' , login='".$_request['login']."'";
php notice: use of undefined constant is_on_server - assumed 'is_on_server' in /user/jsf/secret/defs.inc on line 2 define (is_on_server,true);
error in registration
php notice: use of undefined constant is_on_server - assumed 'is_on_server' in /user/jsf/secret/defs.inc on line 2, referer: http://www.test.com/~jsf/akl/login.php define (is_on_server,true);
php notice: use of undefined constant mysql_server - assumed 'mysql_server' in /user/jsf/secret/defs.inc on line 13, referer: http://www.test.com/~jsf/akl/login.php define (mysql_server,"hostname");
php notice: use of undefined constant mysql_name - assumed 'mysql_name' in /user/jsf/secret/defs.inc on line 14, referer: http://www.test.com/~jsf/akl/login.php define (mysql_name,"dbname");
php notice: use of undefined constant mysql_password - assumed 'mysql_password' in /user/jsf/secret/defs.inc on line 15, referer: http://www.test.com/~jsf/akl/login.php define (mysql_password,"password");
php notice: use of undefined constant mysql_db - assumed 'mysql_db' in /user/jsf/secret/defs.inc on line 16, referer: http://www.test.com/~jsf/akl/login.php define (mysql_db,"db name");
php notice: undefined variable: error in /user/jsf/public_html/akl/register.php on line 37, referer: http://www.test.com/~jsf/akl/login.php <?php if ($error)
php fatal error: call undefined function import_request_variables() in /user/jsf/public_html/akl/register.php on line 52, referer: http://www.test.com/~jsf/akl/login.php import_request_variables ('p','p_');
wiki
Comments
Post a Comment