[SUPPORT] UBB.classic 6.x Convertor [0.3.1]

This is an archive of the phpBB 2.0.x convertors forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
concentric
Registered User
Posts: 4
Joined: Fri Jul 02, 2004 8:45 pm
Location: Surprise, AZ
Contact:

Error working with variable files

Post by concentric »

I am having the same problem as James Donaldson, who posted back in April, but I haven't seen any more replies from him. My error:
Warning: file(): open_basedir restriction in effect. File(/usr/local/plesk/apache/vhosts/joyonline.org/forums/convert/vars/vars_config.cgi) is not within the allowed path(s): (/usr/local/psa/home/vhosts/joyonline.org/httpdocs:/tmp) in /usr/local/psa/home/vhosts/joyonline.org/httpdocs/forums/convert/conv_classic.php on line 391

Warning: file(/usr/local/plesk/apache/vhosts/joyonline.org/forums/convert/vars/vars_config.cgi): failed to open stream: Operation not permitted in /usr/local/psa/home/vhosts/joyonline.org/httpdocs/forums/convert/conv_classic.php on line 391


You told him to copy the var files from the cgi-bin to a folder within the convert folder because the host is not allowing me to do something I need to do. I copied them but got the same result. I am trying to convert a UBB 6.0.5 board.

Graham
Former Team Member
Posts: 8462
Joined: Tue Mar 19, 2002 7:11 pm
Location: UK
Contact:

Post by Graham »

Catcherman, See my reply to your email, but I will also need to know what version of UBB this is.

Concentric, The whole UBB direcotry needs to be somewhere within on of the folders that you host will allow us to open it from - so within your httpdocs folder and not in a folder elsewhere.
"So Long, and Thanks for All the Fish"

phpBB Useful Links: Knowledge Base | Userguide | Forum Search | MOD Database | Styles Database
My Links: Blog!

concentric
Registered User
Posts: 4
Joined: Fri Jul 02, 2004 8:45 pm
Location: Surprise, AZ
Contact:

Post by concentric »

Concentric, The whole UBB direcotry needs to be somewhere within on of the folders that you host will allow us to open it from - so within your httpdocs folder and not in a folder elsewhere.


Just so I have this right, all the UBB files I now have within my cgi-bin must first be relocated (or copied) to my httpdocs folder before I can run the converter?

Graham
Former Team Member
Posts: 8462
Joined: Tue Mar 19, 2002 7:11 pm
Location: UK
Contact:

Post by Graham »

I think so (or at least to a directory within there). You will then need to edit the vars_config.cgi file in this copy to reflect the new path.

I'm sorry this is so complicated, but the convertor has to read those files and there appear to be restrictions on where they can be on your host.
"So Long, and Thanks for All the Fish"

phpBB Useful Links: Knowledge Base | Userguide | Forum Search | MOD Database | Styles Database
My Links: Blog!

concentric
Registered User
Posts: 4
Joined: Fri Jul 02, 2004 8:45 pm
Location: Surprise, AZ
Contact:

Post by concentric »

I moved all the UBB files I had in the cgi-bin to a directory in my convert folder and tried it again:

SUCCEEDED
Loading UBB.classic configuration file (vars_config.cgi)

FAILED
Checking UBB.classic CGI path (ultimatebb.cgi)

FAILED
Checking UBB.classic members path (memberslist.cgi)

FAILED
Checking UBB.classic non-CGI path (on.gif)

I then changed the paths in my vars_config.cgi file:

Code: Select all

%vars_config = (
CGIPath => "/usr/local/plesk/apache/vhosts/joyonline.org/httpdocs/forums/convert/ubb",
NonCGIPath => "/usr/local/plesk/apache/vhosts/joyonline.org/httpdocs/ubb",
MembersPath => "/usr/local/plesk/apache/vhosts/joyonline.org/httpdocs/forums/convert/ubb/Members",
VariablesPath => "/usr/local/plesk/apache/vhosts/joyonline.org/httpdocs/forums/convert/ubb",
CGIURL => "http://www.joyonline.org/cgi-bin",
NonCGIURL => "http://www.joyonline.org/ubb",
cache_pw => "VV7FCSDH",
Cookie_Number => "2452157.1206",
BBName => "Joy Discussion Forums",
);
1;
I continue to get the same result. I'm pretty sure it's not a host restriction, as my host is fairly lenient about accessing files, as long as the permissions are set correctly. I'm also getting this error when I try to run the filecheck.php:

Parse error: parse error in /usr/local/psa/home/vhosts/joyonline.org/httpdocs/forums/convert/filecheck.php on line 10

Graham
Former Team Member
Posts: 8462
Joined: Tue Mar 19, 2002 7:11 pm
Location: UK
Contact:

Post by Graham »

It seems to be an unrecognised config file format - I'm getting seriously tempted to go back to asking for paths rather than try reading them in the future.

Find

Code: Select all

	$delimiters[61][0] = ' => q!';
	$delimiters[61][1] = '';
	$delimiters[61][2] = '!';
Replace with

Code: Select all

	$delimiters[60][0] = ' => "';
	$delimiters[60][1] = '';
	$delimiters[60][2] = '"';
It should hopefully work.
"So Long, and Thanks for All the Fish"

phpBB Useful Links: Knowledge Base | Userguide | Forum Search | MOD Database | Styles Database
My Links: Blog!

concentric
Registered User
Posts: 4
Joined: Fri Jul 02, 2004 8:45 pm
Location: Surprise, AZ
Contact:

Post by concentric »

I changed the 3 lines of code as you said, and tried to run the converter. This is what I got:

Parse error: parse error in /usr/local/psa/home/vhosts/joyonline.org/httpdocs/forums/convert/conv_classic.php on line 678

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/psa/home/vhosts/joyonline.org/httpdocs/forums/convert/conv_classic.php:678) in /usr/local/psa/home/vhosts/joyonline.org/httpdocs/forums/convert/index.php on line 62

Thanks for your continued help with this!

Graham
Former Team Member
Posts: 8462
Joined: Tue Mar 19, 2002 7:11 pm
Location: UK
Contact:

Post by Graham »

Ok, I'm stuck. Since you are using 6.0.x, you might like to try the older version of the convertor - it has issues with the new versions of UBB, but on the very old ones like this might be more stable.

You can find it either on the downloads page on this site, or by following the link in my signature.
"So Long, and Thanks for All the Fish"

phpBB Useful Links: Knowledge Base | Userguide | Forum Search | MOD Database | Styles Database
My Links: Blog!

duinbb
Registered User
Posts: 5
Joined: Thu Sep 26, 2002 8:50 pm

Post by duinbb »

The only errors I get when I run the script are the following:

FAIL ...unsuccessfully created temporary backup file on server
FAIL ...unsuccessfully removed temporary backup file on server

FAIL ...unsuccessfully created temporary configuration file on server
FAIL ...unsuccessfully removed temporary configuration file on server


I'm sure it is something simple that I have over looked.

Any help will be greatly appreciated!

Thanks!

Graham
Former Team Member
Posts: 8462
Joined: Tue Mar 19, 2002 7:11 pm
Location: UK
Contact:

Post by Graham »

Which version are you using? - the error suggests to me that it might be the 0.2.5/0.2.6 version and not the 0.3.x versions this thread is about (you can obtain the latest version from the link in my signature).

However, that error message means that you need to CHMOD the folder where you placed the convertor files to allow the server to write to it (777 will do). If you encounter any further problems with the old version, please ask any further questions in this alternative thread to reduce the confusion.

Thanks.
"So Long, and Thanks for All the Fish"

phpBB Useful Links: Knowledge Base | Userguide | Forum Search | MOD Database | Styles Database
My Links: Blog!

duinbb
Registered User
Posts: 5
Joined: Thu Sep 26, 2002 8:50 pm

Post by duinbb »

I was using the newer version.

The problem was just as you said the file permission.

Thanks for your help!

Seetal R Patel
Registered User
Posts: 2
Joined: Thu Jul 29, 2004 12:46 pm

Forum Post information not being converted

Post by Seetal R Patel »

Hi,

I tried to convert our UBB.Classic 6.2.1 installtion using 0.3.1 converter.

The converstion goes okay till it gets to converting the posts, I get:

SUCCEEDED Disabling script timeouts
SUCCEEDED Loading UBB.classic configuration file (vars_config.cgi)
SUCCEEDED Reading forum information (vars_forums.cgi)
SUCCEEDED Reading forum information (/Forum2/forum_2.threads)
SUCCEEDED Reading smilies information (vars_graemlins.cgi)

FAILED Reading post information ('002401)
FAILED Reading post information ('002420)
FAILED Reading post information ('002405)

This happens to ALL the posts.

debug.txt has the following:


Post conversion - Topic Start = 0 Post Start =


Any pointers as to where the problem may be?

Thanks,

Seetal

Graham
Former Team Member
Posts: 8462
Joined: Tue Mar 19, 2002 7:11 pm
Location: UK
Contact:

Post by Graham »

Did you rebuild the forum stat files on UBB before you started the conversion?

Please drop an email to my address in the readme file and include the debug.txt file so that I can take a look at it and if necessary I will sennd you some revised files to try (there are a number of bugs fixed in my local development copy but I don't know if any of them are relevant)
"So Long, and Thanks for All the Fish"

phpBB Useful Links: Knowledge Base | Userguide | Forum Search | MOD Database | Styles Database
My Links: Blog!

SlamChops
Registered User
Posts: 28
Joined: Thu Dec 11, 2003 5:56 am

Post by SlamChops »

Did you ever find out why it would show there being topics and members, but the categories and forums section is blank? It installed with no errors, but i can't get any of the categories/forums/topics to show up. :?:

I'm using UBB.classic 6.3.x and phpBB2.0.10. I converted using version 0.3.1

Just playing around, I found a loophole. It doesnt show the forums on the index page, but all the forums are there. I can go into them via the 'View your posts' or other buttons. They're just not on the index page. :?: If i add a forum, and try to resync it doesnt work. When I go to delete it, it lists all 6 of the forums to move the topics to. This is confusing.

Graham
Former Team Member
Posts: 8462
Joined: Tue Mar 19, 2002 7:11 pm
Location: UK
Contact:

Post by Graham »

That's a not unheard of problem. I think I've fixed it for the next version, but I'm not sure.

However, if you have access to the database with phpMyAdmin, it is fixable. Open the phpbb_forums table using that and look at the cat_id column and make a note of the values in there. Next, create a category in phpBB (if you haven't already), then go back to the database and the phpbb_categories table and edit the cat_id value of the category you created to match the first of the numbers you noted down. Repeat these last two steps as many times as required.
"So Long, and Thanks for All the Fish"

phpBB Useful Links: Knowledge Base | Userguide | Forum Search | MOD Database | Styles Database
My Links: Blog!

Locked

Return to “[2.0.x] Convertors”