specialista Posted December 7, 2007 Share Posted December 7, 2007 First: I know nearly nothing about php but I need to upgrade one website made with PHP. Problem: the "sub-page" I changed doesnt include header, right and bottom part (they are included by php).. I dont know the former page_title - can this be the problem? Hope someone will understand what I wrote Link to comment https://forums.phpfreaks.com/topic/80591-total-php-analphabet-question/ Share on other sites More sharing options...
~n[EO]n~ Posted December 7, 2007 Share Posted December 7, 2007 If you changed the name of the page or edited / deleted some <?php... ?> tags, there might be a big problem. Link to comment https://forums.phpfreaks.com/topic/80591-total-php-analphabet-question/#findComment-408677 Share on other sites More sharing options...
specialista Posted December 7, 2007 Author Share Posted December 7, 2007 php tags should be OK.. but I´ve changed page name.. Can you tell me where can I find some basic php which includes the page titles for whole web? Changing the page title also there can solve it,right? Link to comment https://forums.phpfreaks.com/topic/80591-total-php-analphabet-question/#findComment-408681 Share on other sites More sharing options...
~n[EO]n~ Posted December 7, 2007 Share Posted December 7, 2007 If you forgot the previous name, then it is hard to trace without looking all the files. But if your site is online you can find by clicking all the links, then you will find some broken links (page not found error) and that will be the name of the page. Link to comment https://forums.phpfreaks.com/topic/80591-total-php-analphabet-question/#findComment-408684 Share on other sites More sharing options...
revraz Posted December 7, 2007 Share Posted December 7, 2007 Changing the Title shouldn't really hurt anything. Link to comment https://forums.phpfreaks.com/topic/80591-total-php-analphabet-question/#findComment-408688 Share on other sites More sharing options...
specialista Posted December 7, 2007 Author Share Posted December 7, 2007 ok.. here is the first part of the ´subpage´ that I edited: <? $page_title="Fotky"; include ('web/header.php'); include ('web/menu05.php'); ?> But where can I find the source code for header.php and menu05.php - the files with those names are empty, I think that I can solve my problem better with knowing that code.. Link to comment https://forums.phpfreaks.com/topic/80591-total-php-analphabet-question/#findComment-408693 Share on other sites More sharing options...
~n[EO]n~ Posted December 7, 2007 Share Posted December 7, 2007 These files are inside web folder. You can open in Notepad and view the source. Link to comment https://forums.phpfreaks.com/topic/80591-total-php-analphabet-question/#findComment-408696 Share on other sites More sharing options...
specialista Posted December 7, 2007 Author Share Posted December 7, 2007 n~ link=topic=170978.msg756351#msg756351 date=1197020610] These files are inside web folder. You can open in Notepad and view the source. thats what I thought ... but they are empty.. Link to comment https://forums.phpfreaks.com/topic/80591-total-php-analphabet-question/#findComment-408698 Share on other sites More sharing options...
~n[EO]n~ Posted December 7, 2007 Share Posted December 7, 2007 Oops.. Don't you get error while checking the site. PHP will show error if no file is found like this for e.g Warning: include(web/header.php) [function.include]: failed to open stream: No such file or directory Link to comment https://forums.phpfreaks.com/topic/80591-total-php-analphabet-question/#findComment-408704 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.