Đang Thực Hiện

162490 php error fix NOW

I need a php error fixed.

the error I get is

Fatal error: Call to a member function on a non-object in /home/kalesh/public_html/paypal_ipn/[url removed, login to view] on line 275

the corresponding code is

(the entire thing is within a class

[code]

function create_admin(){

$html=file_get_contents($this->template_path."[url removed, login to view]");

$menu=file_get_contents($this->template_path."[url removed, login to view]");

$box=file_get_contents($this->template_path."[url removed, login to view]");

$html=str_replace("[admin_menu]",$menu,$html);

$html=str_replace("[admin_box]",$box,$html);

print $html;

}

function login(){

if($_POST["admin"]==$this->admin && $_POST["pass"]==$this->pass){

$_SESSION["admin"]=$this->admin;

$_SESSION["pass"]=md5($this->pass);

$this->create_admin(); //line 275

}

else{

$this->show_err_form();

exit();

}

}

[/code]

This script was working on php 4.2 but currently does not work on php 4.4.4

more information on php can be found at the link below

[url removed, login to view]

I need this done now so the first reasonable bid will be picked.

payment by paypal.

Kỹ năng: Bất kì công việc gì, PHP

Xem thêm: get found, fix html error, admin menu php, php fatal error, now, md5, fix php fatal, fatal error paypal, fatal error php, admin error, php login paypal, payment error, php print error, html code error, member function php, paypal fatal error, fix line, fix box, code md5, menu login php, working home php, login script paypal php, php function payment, fix print, paypal login php script

Về Bên Thuê:
( 0 nhận xét ) suva,

Mã Dự Án: #1908680