Having a few probs with install. the install file is confusing for me.
I have my forum in a sub folder called /forum/
In your install file it says edit line 44 and 70:
If phpbb is installed in a sub folder and you run other pages
at the root level, you can take advantage of this system's modularity to include
all of your site's sitemaps in this same index.
Beside coding or requesting your add on, you'll have to put the sitemap.php
file at the root level, since no link from above the sitemap file folder are taken
into consideration by Google.
To do this and open sitemap.php, look at line 44 and 70 and follow instructions.
So then i look at line 44 and 70 and see
44
// YOU HAVE TO SET THE CORRECT PATH FOR PHPBB IF YOU WANT
// TO USE THIS SITEMAP SYSTEM OUTSIDE OF THE PHPBB FOLDER
// AND TO LOOK AT LINE 70 too
$module_root_path2 = $module_root_path = $phpbb_root_path = './';
include($phpbb_root_path . '/forum/extension.inc');
include($phpbb_root_path . '/forum/common.'.$phpEx);
// Start session management
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
// End session management
70
// Comment this line if you put your sitemap in the root folder
// and phpbb installed in a subfolder.
$root_url = ($phpbb) ? $server_url : $root_url;
I haven't edited 70 yet but is this right for line 40?
The sitemap doesn't load up and gives the following error. (btw, the sitemap.php is in root and the forum is in /forum/)
Warning: main(./config.php) [function.main]: failed to open stream: No such file or directory in /home/worldpla/public_html/forum/common.php on line 177
Warning: main(./config.php) [function.main]: failed to open stream: No such file or directory in /home/worldpla/public_html/forum/common.php on line 177
Warning: main(./config.php) [function.main]: failed to open stream: No such file or directory in /home/worldpla/public_html/forum/common.php on line 177
Warning: main() [function.include]: Failed opening './config.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/worldpla/public_html/forum/common.php on line 177
Warning: Cannot modify header information - headers already sent by (output started at /home/worldpla/public_html/forum/common.php:177) in /home/worldpla/public_html/forum/common.php on line 181
***************************ADDED**************************
I have just uploaded the sitemap.php into the forum folder and it works but it only has 1 thing indexed. please take a look:
Sitemap in root:
http://worldplayers.net/sitemap.php
what appears if you load the above:
Warning: main(./config.php) [function.main]: failed to open stream: No such file or directory in /home/worldpla/public_html/forum/common.php on line 177
Warning: main(./config.php) [function.main]: failed to open stream: No such file or directory in /home/worldpla/public_html/forum/common.php on line 177
Warning: main(./config.php) [function.main]: failed to open stream: No such file or directory in /home/worldpla/public_html/forum/common.php on line 177
Warning: main() [function.include]: Failed opening './config.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/worldpla/public_html/forum/common.php on line 177
Warning: Cannot modify header information - headers already sent by (output started at /home/worldpla/public_html/forum/common.php:177) in /home/worldpla/public_html/forum/common.php on line 181
Sitemap in forum root:
http://worldplayers.net/forum/sitemap.php
What appears on the one in /forum/