phpBB Converter not working [message #32011] |
Wed, 31 May 2006 16:28 |
Ryo2023
Messages: 8 Registered: May 2006
Karma: 0
|
Junior Member |
|
|
Hello,
i really need help.
I want to convert my phpBB2-Forum to the FUDForum 2.7.4.
My forum-dir is domain.xyz/FUDforum/forum/
So i think that is what's called "Forum's main web Directory"
I copy the phpbb2.php-file in this directory and tried to launch it via Browser and got this message: "This script must be placed in FUDforum's main web directory."
No matter what i always get this message, i unlocked the files, i tried it from the console, but nothing works.
Please help, it would be so nice to run FUDforum instead of phpBB2.
Thank you,
Ryo
|
|
|
Re: phpBB Converter not working [message #32015 is a reply to message #32011] |
Wed, 31 May 2006 21:03 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You need to make sure that directory the conversion script it placed in contains GLOBALS.php file.
FUDforum Core Developer
|
|
|
Re: phpBB Converter not working [message #32018 is a reply to message #32015] |
Thu, 01 June 2006 07:30 |
Ryo2023
Messages: 8 Registered: May 2006
Karma: 0
|
Junior Member |
|
|
Ilia wrote on Wed, 31 May 2006 23:03 | You need to make sure that directory the conversion script it placed in contains GLOBALS.php file.
|
Hi,
yes it has a LINK to include/GLOBALS.php in it.
But i even tried to put it in FUDforum/forum/include/ with the very same result.
I hope there is a way to run this script or i have to stuck with this buggy phpBB2.
Bye
Ryo
--
Here some additional Information:
PHP built On: Linux xxxxxx 2.6.8-022stab076.4-smp #1 SMP Fri Apr 14 19:06:44 MSD 2006 x86_64
Database Version: 4.1.13
PHP Version: 4.4.0
Web Server: Apache/2.0.54 (Linux/SUSE)
WebServer to PHP interface: apache2handler
WebServer User/Group: 8 / 30
Forum Version: 2.7.4
Relavent PHP Settings:
Safe Mode: ON
Open basedir: /srv/www/vhosts/xxxxx/httpdocs:/tmp
Display Errors: OFF
File Uploads: ON
Maximum File Upload Size: 2M
Magic Quotes: OFF
Register Globals: OFF
Output Buffering: Yes
Disabled Functions: none
PSpell Support: No
Zlib Support: Yes
[Updated on: Thu, 01 June 2006 14:07] Report message to a moderator
|
|
|
Re: phpBB Converter not working [message #32025 is a reply to message #32018] |
Thu, 01 June 2006 22:36 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
On the line which says @include("./GLOBALS.php"); remove the @ and see if you get any error messages while trying to run the conversion script.
FUDforum Core Developer
|
|
|
Re: phpBB Converter not working [message #32036 is a reply to message #32025] |
Fri, 02 June 2006 07:17 |
Ryo2023
Messages: 8 Registered: May 2006
Karma: 0
|
Junior Member |
|
|
Ilia wrote on Fri, 02 June 2006 00:36 | On the line which says @include("./GLOBALS.php"); remove the @ and see if you get any error messages while trying to run the conversion script.
|
Ok, there is no change.
Same Error.
Update: I also tried to give the direct path, instead of the symbolic link "./include/GLOBALS.php". Same Error.
[Updated on: Sat, 03 June 2006 11:29] Report message to a moderator
|
|
|
Re: phpBB Converter not working [message #32049 is a reply to message #32036] |
Sat, 03 June 2006 16:54 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Try to remove the
<?php if ($gl === FALSE) {
exit("This script must be placed in FUDforum's main web directory.\n");
} ?>
And see if the conversion process runs.
FUDforum Core Developer
|
|
|
|
Re: phpBB Converter not working [message #32052 is a reply to message #32051] |
Sun, 04 June 2006 14:25 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
If safe_mode is you may not be able to successfully run the script due to file ownership issues. If you are running the script from the webserver, you need to make a tiny little PHP script that would make a copy of the phpBB2.php and then run the copy.
Ex.
<?php copy("phpBB2.php", "phpBB2_safe.php"); ?>
FUDforum Core Developer
|
|
|
|
Re: phpBB Converter not working [message #34432 is a reply to message #32011] |
Sat, 28 October 2006 13:34 |
Bahpoo
Messages: 2 Registered: October 2006 Location: Costa Rica
Karma: 0
|
Junior Member |
|
|
Hello,
I found this thread since I was getting the "This script must be placed in FUDforum's main web directory." warning as well.
When I implemented the suggestion:
Quote: | Try to remove the
<?php
if ($gl === FALSE) {
exit("This script must be placed in FUDforum's main web directory.\n");
}
?>
And see if the conversion process runs.
FUDforum Core Developer
|
I get this far:
So then I implemented Ryo's instructions:
Quote: | I went to the shell and chown the script by myself. And also i had to chown the whole phpbb2-directory, even while it worked with no problem.
After this everything worked fine. Only a few Users and their posts are lost, but everything else works great now.
|
I'm not sure that I'm understanding the language here, but I went to the phpBB directory and chmoded it to 777, plus I 777'd the conversion script, but still get that warning about failing to connect to the database.
Any thoughts?
Ben
|
|
|
|