After migration of website, it will not work anymore. Blank php page. Any Ideas?

I switched on the error screens, but the errors are just warnings, so nothing critical. I added an .html file in the websites folder with some text like "yes it works" and this is displayed. So it should word.... I don't have any ideas left. --------------------------------------- The migration was from ubuntu server 10.10 to ubuntu 12.04 server, fresh installed. I installed everything (LAMPP ofc)... PHP Myadmin for example is working and my MYSQL databases are working as well. I can also display the info.php page in every webpage folder. I have another website running on the apache2 server, which is working fine. I am out of ideas. any help will be upvoted fastly. Thanks in advance Deprecated: Function set_magic_quotes_runtime() is deprecated in /data/xxxx/www/index.php on line 11 Deprecated: Assigning the return value of new by reference is deprecated in /data/xxxx/www/pear/DB.php on line 311 Deprecated: Assigning the return value of new by reference is deprecated in /data/xxxx/www/pear/DB.php on line 385 Deprecated: Assigning the return value of new by reference is deprecated in /data/xxxx/www/pear/DB.php on line 923 Deprecated: Assigning the return value of new by reference is deprecated in /data/xxxx/www/pear/HTML/AJAX/Server.php on line 161 Deprecated: Assigning the return value of new by reference is deprecated in /data/xxxx/www/pear/HTML/AJAX.php on line 612 Deprecated: Assigning the return value of new by reference is deprecated in /data/xxxx/www/pear/HTML/AJAX/Serializer/JSON.php on line 46 Warning: include_once(../pear/Net/Socket.php): failed to open stream: No such file or directory in /data/xxxx/www/pear/Net/SMTP.php on line 25 Warning: include_once(): Failed opening '../pear/Net/Socket.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /data/xxxx/www/pear/Net/SMTP.php on line 25 Warning: include_once(PEAR.php): failed to open stream: No such file or directory in /data/xxxx/www/pear/Mail/mime.php on line 65 Warning: include_once(): Failed opening 'PEAR.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /data/xxxx/www/pear/Mail/mime.php on line 65 Warning: include_once(../pear/Mail/mimePart.php): failed to open stream: No such file or directory in /data/xxxx/www/pear/Mail/mime.php on line 75 Warning: include_once(): Failed opening '../pear/Mail/mimePart.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /data/xxxx/www/pear/Mail/mime.php on line 75 Deprecated: Assigning the return value of new by reference is deprecated in /data/xxxx/www/pear/Spreadsheet/Excel/Writer/Workbook.php on line 180 Deprecated: Assigning the return value of new by reference is deprecated in /data/xxxx/www/pear/Spreadsheet/Excel/Writer/Workbook.php on line 189 Deprecated: Call-time pass-by-reference has been deprecated in /data/xxxx/www/modules/statistics/frontend.class.php on line 16 Deprecated: Call-time pass-by-reference has been deprecated in /data/xxxx/www/modules/users/frontend.class.php on line 19 Deprecated: Assigning the return value of new by reference is deprecated in /data/xxxx/www/pear/DB/common.php on line 958 Deprecated: Assigning the return value of new by reference is deprecated in /data/xxxx/www/pear/DB/common.php on line 1150 Notice: DB Error: connect failed in /data/xxxx/www/classes/registry.class.php on line 70 That'y my Error log. So here is the Code from the DB ERROR : function GetDbEngineService() { $conf = $this->conf; $type = $this->config['system']['db']['type']; $host = $this->config['system']['db']['host']; $user = $this->config['system']['db']['user']; $pass = $this->config['system']['db']['pass']; $db_name = $this->config['system']['db']['db_name']; $dsn = "$type://$user:$pass@$host/$db_name"; $engine = DB::connect($dsn); $this->db_engine = $engine; if (DB::isError($engine)) { user_error ( $engine->getMessage()); exit(); } $engine->query("set names utf8"); return $engine; } function GetSettings() Does this help ? Since I am not a prof. coder in php ... EDIT : Now i fixed the DB Problem , and have this error ( i deeted the warnings and deprecated) Notice: Undefined variable: row in /data/xxxx/www/classes/web_logic.class.php on line 238 Deprecated: Function split() is deprecated in /data/xxxx/www/classes/web_interface.class.php on line 159 Notice: Undefined index: special in /data/xxxx/www/classes/web_interface.class.php on line 162 Notice: Undefined variable: row in /data/xxxx/www/classes/web_logic.class.php on line 34 Notice: Undefined variable: header in /data/xxxx/www/classes/web_logic.class.php on line 42 Notice: Undefined offset: 0 in /data/xxxx/www/classes/web_interface.class.php on line 56 Notice: Undefined offset: 0 in /data/xxxx/www/classes/web_interface.class.php on line 60 Deprecated: Function split() is deprecated in /data/xxxx/www/classes/web_view.class.php on line 320 Notice: Undefined index: ajax_action in /data/xxxx/www/classes/web_interface.class.php on line 132 0
This is impossible to answer, we can't see what's going on on your web site.

以上就是After migration of website, it will not work anymore. Blank php page. Any Ideas?的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » WebStorm

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏