لود کردن library جدید در کنترلر و نمایش صفحه سفید

ساخت وبلاگ

سلام
من یک کنترلر دارم که داخلش یک تابع بنام invoice تعریف کردم و برای درگاه پرداخت هست مشکل اینجاست که وقتی می خوام لود کنم صفحه سفید نشون میده و هیچ پیغام خطایی هم نمی ده تابع:
function invoice(){

$invoice_id=$this->input->post('invoice_id');
$amount=$this->input->post('amount');
$Description=$this->input->post('Description');
$MerchantID='xxxxxx-xxxx-xxxx-xxxxxxxxxx';
$CallbackURL='http://webgooy.com/samane/index.php?student/mypal/verify';
$Mobile='09126015062';
$Email='[email protected]';
$student_id=$this->input->post('student_id');

$this->load->library('zarinpal');
$this->zarinpal->request($MerchantID,$amount,$Description,$Callbac kURL,$Mobile,$Email);

$student_profile = $this->db->get_where('student', array(
'student_id' => $this->session->userdata('student_id')
))->row();
$student_id = $student_profile->student_id;
$page_data['invoices'] = $this->db->get_where('invoice', array(
'student_id' => $student_id
))->result_array();
$page_data['page_name'] = 'mypal';
$page_data['page_title'] = get_phrase('manage_invoice/payment');
$this->load->view('index', $page_data);

}
در صورت امکان راهنمایی بفرمایید

برنامه نویس...
ما را در سایت برنامه نویس دنبال می کنید

برچسب : نویسنده : محمد رضا جوادیان programers بازدید : 166 تاريخ : يکشنبه 23 خرداد 1395 ساعت: 20:05