mostafatalebi Posted March 19, 2013 Share Posted March 19, 2013 Hello I have a complete website, that runs all well and smoothly on my local server (WAMP). But as I upload it onto my Web Server (Cpanel), it does not work. the problem is that, when I enter a certain url of one of my page, the page shows as blank. not content, no title etc is fetched. When I enter the domain, it is again blank. No error, no warning etc. What shall I do? what is the problem> Rather, when I go to one of my sub-directories web-pages, it works well. This is confusing. Link to comment https://forums.phpfreaks.com/topic/275887-website-does-not-show-up/ Share on other sites More sharing options...
davidannis Posted March 19, 2013 Share Posted March 19, 2013 It may be a permissions problem. What are the permissions on your main directory and the subdirectories? On the files in main directory and in the subdirectories? Link to comment https://forums.phpfreaks.com/topic/275887-website-does-not-show-up/#findComment-1419683 Share on other sites More sharing options...
mostafatalebi Posted March 19, 2013 Author Share Posted March 19, 2013 permission? A SESSION checking. But it works, because when I go to an authenticated page, it redirects properly to the login page. But I understand the changes only by seeing the url bar. because the page appear empty. very strange Link to comment https://forums.phpfreaks.com/topic/275887-website-does-not-show-up/#findComment-1419685 Share on other sites More sharing options...
davidannis Posted March 19, 2013 Share Posted March 19, 2013 If I were in your shoes I'd look at the page source to see if the whole output is somehow in a tag or comment or something and then start putting echo "1234"; die(); at different points in my script to see how far it made it. I'm sure that there are more elegant ways to tackle the problem. Link to comment https://forums.phpfreaks.com/topic/275887-website-does-not-show-up/#findComment-1419694 Share on other sites More sharing options...
mostafatalebi Posted March 19, 2013 Author Share Posted March 19, 2013 I'll check it now Link to comment https://forums.phpfreaks.com/topic/275887-website-does-not-show-up/#findComment-1419698 Share on other sites More sharing options...
mostafatalebi Posted March 19, 2013 Author Share Posted March 19, 2013 a question: I have included files right at top of the header. When I turn them off, the page runs live again. what's the problem with include than require_once in PHP? Link to comment https://forums.phpfreaks.com/topic/275887-website-does-not-show-up/#findComment-1419699 Share on other sites More sharing options...
mostafatalebi Posted March 19, 2013 Author Share Posted March 19, 2013 I have found the problem Link to comment https://forums.phpfreaks.com/topic/275887-website-does-not-show-up/#findComment-1419704 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.