Hey Guys,
Im trying to convert from yabb 2.1 to smf 1.1.5. Everythign was going fairly smoothly until i told it to do the actual conversion. This is the error messages i received. does anyone have any ideas? any help would be much appreciated.
Warning: file(/home/warragam/public_html/yabb/Paths.pl) [function.file]: failed to open stream: Permission denied in /home/warragam/public_html/smf/yabb21_to_smf.php on line 76
Warning: Invalid argument supplied for foreach() in /home/warragam/public_html/smf/yabb21_to_smf.php on line 79
Notice: Undefined index: boardsdir in /home/warragam/public_html/smf/yabb21_to_smf.php on line 91
Notice: Undefined index: datadir in /home/warragam/public_html/smf/yabb21_to_smf.php on line 91
Notice: Undefined index: memberdir in /home/warragam/public_html/smf/yabb21_to_smf.php on line 91
Notice: Undefined index: sourcedir in /home/warragam/public_html/smf/yabb21_to_smf.php on line 91
Notice: Undefined index: vardir in /home/warragam/public_html/smf/yabb21_to_smf.php on line 91
Notice: Undefined index: facesdir in /home/warragam/public_html/smf/yabb21_to_smf.php on line 91
Notice: Undefined index: uploaddir in /home/warragam/public_html/smf/yabb21_to_smf.php on line 91
Warning: file() [function.file]: open_basedir restriction in effect. File(/Settings.pl) is not within the allowed path(s): (/home/warragam/:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/warragam/public_html/smf/yabb21_to_smf.php on line 98
Warning: file(/Settings.pl) [function.file]: failed to open stream: Operation not permitted in /home/warragam/public_html/smf/yabb21_to_smf.php on line 98
Warning: Invalid argument supplied for foreach() in /home/warragam/public_html/smf/yabb21_to_smf.php on line 99
Converting membergroups...
Warning: file() [function.file]: open_basedir restriction in effect. File(/membergroups.txt) is not within the allowed path(s): (/home/warragam/:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/warragam/public_html/smf/yabb21_to_smf.php on line 120
Warning: file(/membergroups.txt) [function.file]: failed to open stream: Operation not permitted in /home/warragam/public_html/smf/yabb21_to_smf.php on line 120
Warning: Invalid argument supplied for foreach() in /home/warragam/public_html/smf/yabb21_to_smf.php on line 121
Successful.
Converting members...
Fatal error: Call to a member function on a non-object in /home/warragam/public_html/smf/yabb21_to_smf.php on line 246
QuoteWarning: file(/home/warragam/public_html/yabb/Paths.pl) [function.file]: failed to open stream: Permission denied
i think it's a permission problem.. can you set permission 755 (with your FTP-Client) to path.pl and try it again?
thanks ThorstenE. It got a bit further. now im getting this message. any suggestions?
Converting poll votes... Unsuccessful!
This query:
INSERT INTO `warragam_smf`.smf_log_polls
(ID_POLL, ID_MEMBER, ID_CHOICE)
VALUES ('2', '8', '0,1,2,4'),
('2', '3', '0,1,2,4'),
('2', '0', '0,4'),
('2', '0', '0,1,2,4'),
('2', '2', '0,1,2,3'),
('2', '0', '0,1,2,4'),
('2', '0', '0,1,2,4'),
('2', '0', '0,1,3'),
('2', '0', '0,1,2,4'),
('2', '1', '0,1,2,4'),
('1', '0', '0'),
('1', '0', '1'),
('1', '0', '1'),
('1', '0', '1'),
('1', '0', '1'),
('1', '0', '1'),
('1', '0', '1'),
('1', '0', '1'),
('1', '0', '1'),
('1', '0', '0'),
('1', '0', '1'),
('1', '0', '1'),
('1', '0', '1'),
('1', '1', '1'),
('3', '0', '2'),
('3', '8', '1'),
('3', '0', '1'),
('3', '0', '2');
Caused the error:
Duplicate entry '2-8-0' for key 1
Can you try the attached converter file?
I am going to update the main yabb 2.1 topic now so I don't keep forgetting to do it. :P