CodeIgniter Forums
Blank Page on Live Server but works on localhost? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Blank Page on Live Server but works on localhost? (/showthread.php?tid=64516)



Blank Page on Live Server but works on localhost? - goneewindy - 02-28-2016

Under my method in my model, when I redirect on my live host, it goes to a blank page but on my localhost it works perfectly. 

Can someone shed some light on why this is happening and how to fix it ?


RE: Blank Page on Live Server but works on localhost? - InsiteFX - 02-28-2016

It could be a number of thing .htaccess file wrong base_url wrong protocal.


RE: Blank Page on Live Server but works on localhost? - siburny - 02-28-2016

Most likely there is a PHP error, but your production server is hiding it for security reasons. Check your PHP error log or temporary enable showing of errors.


RE: Blank Page on Live Server but works on localhost? - goneewindy - 02-28-2016

This is the error and I can't figure out why... 
html/application/vendor/mailgun/mailgun-php/src/Mailgun/Connection/RestClient.php on line 121, referer: http://tesseracts.co/contact

Can someone help ? Been stuck on this for a long time now...


RE: Blank Page on Live Server but works on localhost? - InsiteFX - 02-29-2016

And was is on line 121 thats where the error is.


RE: Blank Page on Live Server but works on localhost? - siburny - 02-29-2016

The error is in Mailgun, not CI.