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


i switched on error screens, errors warnings, nothing critical.

i added .html file in websites folder text "yes works" , displayed. should word.... don't have ideas left.


the migration ubuntu server 10.10 ubuntu 12.04 server, fresh installed. installed (lampp ofc)... php myadmin example working , mysql databases working well. can display info.php page in every webpage folder.

i have website running on apache2 server, working fine.

i out of ideas. upvoted fastly.

thanks in advance

deprecated: function set_magic_quotes_runtime() deprecated in /data/xxxx/www/index.php on line 11 deprecated: assigning return value of new reference deprecated in /data/xxxx/www/pear/db.php on line 311  deprecated: assigning return value of new reference deprecated in /data/xxxx/www/pear/db.php on line 385  deprecated: assigning return value of new reference deprecated in /data/xxxx/www/pear/db.php on line 923  deprecated: assigning return value of new reference deprecated in /data/xxxx/www/pear/html/ajax/server.php on line 161  deprecated: assigning return value of new reference deprecated in /data/xxxx/www/pear/html/ajax.php on line 612  deprecated: assigning return value of new reference deprecated in /data/xxxx/www/pear/html/ajax/serializer/json.php on line 46  warning: include_once(../pear/net/socket.php): failed 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' 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 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' 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 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' inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /data/xxxx/www/pear/mail/mime.php on line 75 deprecated: assigning return value of new reference deprecated in /data/xxxx/www/pear/spreadsheet/excel/writer/workbook.php on line 180 deprecated: assigning return value of new reference 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 return value of new reference deprecated in /data/xxxx/www/pear/db/common.php on line 958 deprecated: assigning return value of new reference 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 error log. 

so here code 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 ? since not prof. coder in php ...

edit : fixed db problem , , have error ( deeted warnings , deprecated)

notice: undefined variable: row in /data/xxxx/www/classes/web_logic.class.php on line 238 deprecated: function split() 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() 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

notice: db error: connect failed in /data/xxxx/www/classes/registry.class.php on line 70 

is root of problem.

you unable connect database reason.

make sure database server running , have permissions connect new server


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -