mmarif4u Posted May 14, 2007 Share Posted May 14, 2007 Hi, I have some files i make these by testing it on my pc,its working fine. But when i upload these to live server and want to run it,it just give me blank pages, while when i try to run a html page using a php extension that was ok but surprising about main index.php and other main .php files. Before i upload a lot of files after editing or new one no problem that time but now not working. How can i solve this. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/51283-blank-pages/ Share on other sites More sharing options...
neel_basu Posted May 14, 2007 Share Posted May 14, 2007 Insert ini_set('display_errors', true); error_reporting(E_ALL); At the top of your page and test. Your Page may have Errors and It has stoped executing after it got an Error. If it gives no Error at your Home may be in your home its PHP5 but in Server its PHP4 and your code is not PHP4 compatiable. But please try what I've said to insert. Quote Link to comment https://forums.phpfreaks.com/topic/51283-blank-pages/#findComment-252653 Share on other sites More sharing options...
mmarif4u Posted May 14, 2007 Author Share Posted May 14, 2007 Thanks for reply. Ok i will check the errors with this. for php version, so computer php version is 5.1.2 and server is 5.0.1, i think no problem with versions. The problem is error in some include files. Ok i will check it 1st, then will back to u. Quote Link to comment https://forums.phpfreaks.com/topic/51283-blank-pages/#findComment-252729 Share on other sites More sharing options...
neel_basu Posted May 14, 2007 Share Posted May 14, 2007 OK Check it for php version, so computer php version is 5.1.2 and server is 5.0.1Are you sure about that ?? as most of the hosts are PHP 4 not 5 And in a recent thread I saw that GoDaddy supports both PHP 4 and 5 Check it with phpversion(); Quote Link to comment https://forums.phpfreaks.com/topic/51283-blank-pages/#findComment-252734 Share on other sites More sharing options...
mmarif4u Posted May 14, 2007 Author Share Posted May 14, 2007 I am 100% sure, no doubt about that. I check it before 1 hour. Quote Link to comment https://forums.phpfreaks.com/topic/51283-blank-pages/#findComment-252738 Share on other sites More sharing options...
neel_basu Posted May 14, 2007 Share Posted May 14, 2007 OK then check what I've written above. Quote Link to comment https://forums.phpfreaks.com/topic/51283-blank-pages/#findComment-252742 Share on other sites More sharing options...
mmarif4u Posted May 15, 2007 Author Share Posted May 15, 2007 Thanks neel_basu, yeh that was the problem, Now it show th errors. And i fix it. Thanks for ur time. Quote Link to comment https://forums.phpfreaks.com/topic/51283-blank-pages/#findComment-253256 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.