Sporum v. 1.8b1 -> fud [message #16543] |
Wed, 04 February 2004 20:57 |
azathosk
Messages: 2 Registered: February 2004
Karma: 0
|
Junior Member |
|
|
Hi,
I was wondering if it was possible to convert a sporum-forum, over to fudforum.
Afaik sporum (a apt-get debian package) use a mysql-dbase... So is it possible? To convert sporum -> fudforum, that is.
- Azathosk
|
|
|
Re: Sporum v. 1.8b1 -> fud [message #16584 is a reply to message #16543] |
Mon, 09 February 2004 19:00 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
It would be possible if I had access to a datadump of sporum, allowing me to write a conversion script.
FUDforum Core Developer
|
|
|
|
|
|
|
|
|
|
Re: Sporum v. 1.8b1 -> fud [message #18703 is a reply to message #18701] |
Thu, 03 June 2004 19:30 |
hayfever
Messages: 7 Registered: June 2004 Location: West Lafayette, IN
Karma: 0
|
Junior Member |
|
|
Glancing through the file I don't see prompts for the sporum dbase name or anything. Do I install FUDforum telling it to use the Sporum settings or do I install Sporum as a separate entity and it pulls all of the dbase info from SmallPigVars.pm?
|
|
|
Re: Sporum v. 1.8b1 -> fud [message #18705 is a reply to message #18703] |
Thu, 03 June 2004 19:37 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You simply need to install FUDforum, unlock it via an admin control panel, put the spforum.php inside the forum's main directory and change the path to the SmallPigVars.pm in it.
FUDforum Core Developer
|
|
|
Re: Sporum v. 1.8b1 -> fud [message #18706 is a reply to message #18705] |
Thu, 03 June 2004 20:22 |
hayfever
Messages: 7 Registered: June 2004 Location: West Lafayette, IN
Karma: 0
|
Junior Member |
|
|
Ok, I installed FUDforum and set all the settings, then ran the Sporum converter. It replaced my admin account on the new board (hayfever) with my old admin account from Sporum (Hayfever) and reset the password. Just thought you'd like to know, don't know if it was intended or not.
|
|
|
|
|
Re: Sporum v. 1.8b1 -> fud [message #18713 is a reply to message #18708] |
Fri, 04 June 2004 03:50 |
hayfever
Messages: 7 Registered: June 2004 Location: West Lafayette, IN
Karma: 0
|
Junior Member |
|
|
I have found one possible problem with the converter, maybe nothing can be done about it. All of the posts have lost their formatting (ie paragraphs defined by spacing using enter key are all run in as one long paragraph). If I click edit it shows it as it should be formatted, then if I apply the "edit" (read: no change) the post displays properly.
|
|
|
|
Re: Sporum v. 1.8b1 -> fud [message #19525 is a reply to message #18725] |
Fri, 30 July 2004 19:39 |
sonar
Messages: 3 Registered: July 2004
Karma: 0
|
Junior Member |
|
|
I get a problem with converting from sporum 1.5.x
Some messages are imported but most aren't.
All attachements fail to be imported also.
I also get a lot of failures like this:
At the importing forums part:
Notice: Undefined index: filesize in www/test.jcwodan.nl/sporum.php on line 220
and at importing messages:
Importing Topics and Messages
WARNING: file attachment /bewaar/sporum/uploaded/D:\van compu Rob\deskjpg\0072.jpg doesn't exist
WARNING: file attachment /bewaar/sporum/uploaded/D:\mp3\Cumbat.mpeg doesn't exist
WARNING: file attachment /bewaar/sporum/uploaded/D:\mp3\Smile.gif doesn't exist
WARNING: file attachment /bewaar/sporum/uploaded/C:\Program Files\napster\Music\Onderweg - Abel .mp3 doesn't exist
WARNING: file attachment /bewaar/sporum/uploaded/C:\temp\courant-3.jpg doesn't exist
(/storage/fudforum/include/theme/default/db.inc:113
/www/test.jcwodan.nl/sporum.php:289
) 1062: Duplicate entry '16' for key 1
Query: INSERT INTO fud26_msg (id, thread_id, poster_id, post_stamp, subject, ip_addr, foff, length, file_id, apr, reply_to ) VALUES ( 16, 37, 21, 949425803, 'gala2000:diner', '192.168.1.21', 19930, 2547, 1, 1, 0)
Server Version: 4.0.18-log
These files that give an error do exist but are stored without the slashes.
for example:
/bewaar/sporum/uploaded/D:\van compu Rob\deskjpg\0072.jpg
is really:
/bewaar/sporum/uploaded/D:-van compu Rob-deskjpg-0072.jpg
|
|
|
|
|
Re: Sporum v. 1.8b1 -> fud [message #19582 is a reply to message #16543] |
Fri, 06 August 2004 20:41 |
sonar
Messages: 3 Registered: July 2004
Karma: 0
|
Junior Member |
|
|
I cheked some things out ...
The first errors are because a wrong value is used..
In the sporum.php "filesize" was used but in my smallpigvars.pm it was "file_size".
And the script chooses wrong filenames..
On my computer the uploaded files are constrcuted as follows:
filename:
D:-mp3-Smile.gif
while the script searches for D:\mp3\Smile.gif
so it gives file not found.
This is the output of my sporum.php:
Finished Importing Moderators
Importing Topics and Messages
WARNING: file attachment /bewaar/sporum/uploaded/D:\mp3\Smile.gif doesn't exist
(/storage/FUDforum/include/theme/default/db.inc:113
/www/test.jcwodan.nl/sporum.php:289
) 1062: Duplicate entry '16' for key 1
Query: INSERT INTO fud26_msg (id, thread_id, poster_id, post_stamp, subject, ip_addr, foff, length, file_id, apr, reply_to ) VALUES ( 16, 96, 61, 949425803, 'gala2000:diner', '192.168.1.21', 57381, 2547, 1, 1, 0)
Server Version: 4.0.18-log
|
|
|
Re: Sporum v. 1.8b1 -> fud [message #19599 is a reply to message #19582] |
Mon, 09 August 2004 11:14 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Try the one attached.
The other two errors you showed clearly indicate that you were still using the old conversion script. The new script checks the path of the file to determine it's location. Had that failed the error would've been D:\mp3\Smile.gif and not /bewaar/sporum/uploaded/D:\mp3\Smile.gif.
The path of the file is retrieved from a database, not made by the conversion script.
Unless the file paths are 'fudged' so that \ are converted to - on the file system there shouldn't be a problem unless a file is missing. The query failure, also should've been fixed by the earlier fix as it was caused by messages with multiple attachments.
-
Attachment: sporum.php
(Size: 11.66KB, Downloaded 1019 times)
FUDforum Core Developer
|
|
|