getting blank pages

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kalpesh
Forum Commoner
Posts: 54
Joined: Sun Sep 21, 2008 5:04 am

getting blank pages

Post by kalpesh »

hi, i upload files on shared web hosting.
Sometimes it runs fine but most of time it gets the blank pages.
And When i try to insert records from admin, it gets internal server error 500 for most of times.
sometimes it inserts very good.
i am using php5.
please help me.
oscardog
Forum Contributor
Posts: 245
Joined: Thu Oct 23, 2008 4:43 pm

Re: getting blank pages

Post by oscardog »

I am not sure about the internal 500 error, sometimes i get them.. normally reloading the cache works(Ctrl+F5). If you get a blank page it means there is a problem, somewhere in your code, with your PHP syntax so look for things like missing ';' and proper encasment of variables etc.
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: getting blank pages

Post by aceconcepts »

You should get a PHP error message if there's a syntax error.

How does your code look?
kalpesh
Forum Commoner
Posts: 54
Joined: Sun Sep 21, 2008 5:04 am

Re: getting blank pages

Post by kalpesh »

if i have error in my file syntax then it will cause me error.
but sometimes it runs fine and sometimes it gives internal server error 500
can i know where this error come?
can i log this types of error.
my cache works fine.
but there is problem when i try at first time.
please help.
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Re: getting blank pages

Post by shiznatix »

what "files" did you upload? do you have a shared host or whats your server situation? have you tried turning error reporting on to see if there are errors? have you tried anything or are you just saying "blank page, help!"?
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: getting blank pages

Post by VladSun »

Check your error log file.
There are 10 types of people in this world, those who understand binary and those who don't
Post Reply