943,872 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 510
  • PHP RSS
Jan 29th, 2009
0

PHP version problem

Expand Post »
I have developed a site in PHP 5.26, which is running perfectly from the development server. But after uploading the site to the Web server, it is not working. The server is running PHP 4.4. I haven't used any specific features of PHP 5, so the site should have worked fine in PHP 4.4 also.

I am not getting any errors, but no output either. All I can see is a blank page.

Is there a way to find out if the code is not working due to version incompatibility ?

Another problem I am getting is that some popup windows are opening, but not closing automatically from the
window.close() - javascript statement. If I check the code from the 'View Page Source' option, I can see that the entire <SCRIPT>..</SCRIPT> section is missing. What could be the reason for this ?

Thanks
Similar Threads
Reputation Points: 20
Solved Threads: 10
Junior Poster
aparnesh is offline Offline
193 posts
since Jul 2005
Jan 29th, 2009
0

Re: PHP version problem

Click to Expand / Collapse  Quote originally posted by aparnesh ...
I have developed a site in PHP 5.26, which is running perfectly from the development server. But after uploading the site to the Web server, it is not working. The server is running PHP 4.4. I haven't used any specific features of PHP 5, so the site should have worked fine in PHP 4.4 also.

I am not getting any errors, but no output either. All I can see is a blank page.

Is there a way to find out if the code is not working due to version incompatibility ?

Another problem I am getting is that some popup windows are opening, but not closing automatically from the
window.close() - javascript statement. If I check the code from the 'View Page Source' option, I can see that the entire <SCRIPT>..</SCRIPT> section is missing. What could be the reason for this ?

Thanks
I would start with looking in the error log. and maybe also add this at top of your script
error_reporting(E_ALL);

in php.ini enable the display of error:
display_errors = On;
display_startup_errors = true;

This may help you to spot errors
Reputation Points: 18
Solved Threads: 7
Light Poster
uncle_smith is offline Offline
49 posts
since Jan 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: PHP calendar help please :)
Next Thread in PHP Forum Timeline: Number In An Array





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC