| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) | ||
| NamePros Member | i keep getting errors when i try different ways to do this hopefully someone can help i am working on a website in PHP, and i am trying to use an include script to get my phpBB board, located at forums/index.php, inside of the site with an include i've been trying for a while and i keep getting errors... the file is forums.php located in the root, and in it, it says: Quote:
Quote:
Last edited by r22pl; 03-06-2005 at 01:09 PM. | ||
| |
| | #2 (permalink) |
| NamePros Member | when you use the include the index.php is looking for /extension.inc instead of /forums/extension.inc or summat like that, there should be a variable in the index.php file for the forums, change that I think Danny
__________________ www.Scene-Power.com - ***YOUR DEDICATED SERVER SOLUTIONS*** |
| |
| | #3 (permalink) | |
| NamePros Member | ok i changed the variable, it was set to ./ and i changed it to forums/ now the forums came up, but above them, i got more errors: Quote:
| |
| |
| | #4 (permalink) |
| Senior Member | http://www.phpbb.com/kb/article.php?article_id=143 this will let you connect to phpbb and will resolve the extention errors etc etc and should help in some way |
| |
| | #6 (permalink) |
| NamePros Member | The bit in the code that creates the session needs to be at the top of the page now (with the includes) You will have to find the create session bit in the forum index.php and put this righ at the very top of the include page above anything else then delete the session bit from inside the forums index.php page (keep a backup just incase though) Danny
__________________ www.Scene-Power.com - ***YOUR DEDICATED SERVER SOLUTIONS*** |
| |
| | #7 (permalink) | |
| Senior Member | Quote:
__________________ Free Arcade Games | |
| |
| | #8 (permalink) | |
| NamePros Member | Quote:
Last edited by r22pl; 03-07-2005 at 01:46 PM. | |
| |
| | #9 (permalink) |
| Senior Member | ok, well you can accomplish that without having to include in in forum.php, just edit the overall_header.tpl and overall_footer.tpl files in the subsilver folder
__________________ Free Arcade Games |
| |
| | #11 (permalink) |
| Senior Member | what part of it doesnt work?
__________________ Free Arcade Games |
| |
| | #13 (permalink) |
| Senior Member | it wont work unless you use an iframe because when ever you click a link from the included page it will open up forums/viewforum.php
__________________ Free Arcade Games |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HOWTO: Install the Apache Web Server, Perl, PHP, and MySQL on Windows | deadserious | Webmaster Tutorials | 96 | 05-27-2007 01:24 PM |
| Need PHP Forum Script | Delete | Scripts For Sale | 10 | 10-23-2003 11:12 PM |