| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) | ||||||||
| NamePros Member Join Date: Mar 2005 Location: York, PA
Posts: 39
![]() | |
| Quote: |
|
<? include("includes/header.php"); include("forums/index.php"); include("includes/footer.php"); ?> |
| Quote: |
|
Warning: main(./extension.inc): failed to open stream: No such file or directory in /home/r22pl/public_html/r22pl/forums/index.php on line 25 Warning: main(./extension.inc): failed to open stream: No such file or directory in /home/r22pl/public_html/r22pl/forums/index.php on line 25 Warning: main(): Failed opening './extension.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/r22pl/public_html/r22pl/forums/index.php on line 25 ????: NamePros.com http://www.namepros.com/programming/73667-inserting-phpbb2-forum-php-page-using.html Warning: main(./common.): failed to open stream: No such file or directory in /home/r22pl/public_html/r22pl/forums/index.php on line 26 Warning: main(./common.): failed to open stream: No such file or directory in /home/r22pl/public_html/r22pl/forums/index.php on line 26 Warning: main(): Failed opening './common.' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/r22pl/public_html/r22pl/forums/index.php on line 26 Fatal error: Call to undefined function: session_pagestart() in /home/r22pl/public_html/r22pl/forums/index.php on line 31 |
| | #2 (permalink) |
| NamePros Member Join Date: Dec 2003 Location: Warrington, UK
Posts: 174
![]() | 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*** |
| |
| | THREAD STARTER #3 (permalink) | ||||
| NamePros Member Join Date: Mar 2005 Location: York, PA
Posts: 39
![]() | 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:
| ||||
| |
| | #4 (permalink) |
| Senior Member Join Date: May 2003
Posts: 2,187
![]() ![]() ![]() | 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 Join Date: Dec 2003 Location: Warrington, UK
Posts: 174
![]() | 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 Join Date: May 2004 Location: Connecticut
Posts: 2,804
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
__________________ Free Arcade Games | ||||
| |
| | THREAD STARTER #8 (permalink) | ||||
| NamePros Member Join Date: Mar 2005 Location: York, PA
Posts: 39
![]() |
Last edited by r22pl; 03-07-2005 at 02:46 PM.
| ||||
| |
| | #9 (permalink) |
| Senior Member Join Date: May 2004 Location: Connecticut
Posts: 2,804
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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 Join Date: May 2004 Location: Connecticut
Posts: 2,804
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | what part of it doesnt work?
__________________ Free Arcade Games |
| |
| | THREAD STARTER #12 (permalink) |
| NamePros Member Join Date: Mar 2005 Location: York, PA
Posts: 39
![]() | i just want a way to have a file and be able to include the forum inside it, i know something like that is done in php-nuke if i cant figure it out, its alright ill just make it in like a different window or something |
| |
| | #13 (permalink) |
| Senior Member Join Date: May 2004 Location: Connecticut
Posts: 2,804
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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 02:24 PM |
| Prime .INFO Sale - Part Five - 122 Domains Including StockResearch.info | Duke | Domains For Sale - Make Offer | 2 | 02-22-2004 06:07 PM |
| Giant .INFO SALE Part FOUR - 98 Nice Ones! | Duke | Domains For Sale - Make Offer | 2 | 01-12-2004 08:39 AM |
| Developed Forum, Listed on first page of google and yahoo! | Teddy | Domains For Sale - Make Offer | 7 | 11-14-2003 07:49 AM |
| Need PHP Forum Script | Delete | Scripts For Sale | 10 | 10-24-2003 12:12 AM |