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 Quote Link to comment 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. Quote Link to comment 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? Quote Link to comment 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. Quote Link to comment 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. Quote Link to comment 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.. Quote Link to comment 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. Quote Link to comment 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.. Quote Link to comment 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 Quote Link to comment 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.