Just installed the Forum. Just wonder where can I find wwwthreads conversion tools in the Admin Panel
Nov 26, 2001, 11:07 PM
Novice (43 posts)
Nov 26, 2001, 11:07 PM
Post #5 of 22
Views: 8110
Thanks for your reply.
Run import.pl at Telnet Prompt and encounter the following error
locate GForum/Import.pm in @INC (@INC contains: /usr/local/etc/httpd/vhosts/puppy/cgi-bin/forum/admin /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 .) at import.pl line 19.
Run import.pl at Telnet Prompt and encounter the following error
locate GForum/Import.pm in @INC (@INC contains: /usr/local/etc/httpd/vhosts/puppy/cgi-bin/forum/admin /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 .) at import.pl line 19.
Nov 27, 2001, 1:25 AM
Novice (43 posts)
Nov 27, 2001, 1:25 AM
Post #9 of 22
Views: 7960
Full Error Message
Can't locate GForum/Import.pm in @INC (@INC contains: /usr/local/etc/httpd/vhosts/puppy/cgi-bin/forum/admin /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 .) at import.pl line 19.
BEGIN failed--compilation aborted at import.pl line 19.
Can't locate GForum/Import.pm in @INC (@INC contains: /usr/local/etc/httpd/vhosts/puppy/cgi-bin/forum/admin /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 .) at import.pl line 19.
BEGIN failed--compilation aborted at import.pl line 19.
Nov 27, 2001, 3:53 AM
Novice (43 posts)
Nov 27, 2001, 3:53 AM
Post #10 of 22
Views: 7956
Not sure what is the problem.
Can the following files
admin/GForum/Import/WWWThreads-PHP.pm
admin/GForum/Import/Generic.pm
admin/GForum/Import.pm
be moved to
admin/tools
and change the import.pl scripts slightly to run import.pl with those file in the same directory ?
Can the following files
admin/GForum/Import/WWWThreads-PHP.pm
admin/GForum/Import/Generic.pm
admin/GForum/Import.pm
be moved to
admin/tools
and change the import.pl scripts slightly to run import.pl with those file in the same directory ?
Nov 27, 2001, 2:54 PM
Administrator (9387 posts)
Nov 27, 2001, 2:54 PM
Post #14 of 22
Views: 7963
Hi,
From shell, can you type
pwd
from your admin directory and tell me what it says? I suspect you are running in one of these "Virtual" servers where they chroot you from the web. It makes it a pain to run any sort of shell scripts.
If I'm right, you can try typing:
perl -I/full/path/to/admin import.pl
where the path is what you got from pwd, however I suspect you may run into other problems. Try also:
virtual perl /usr/local/etc/httpd/vhosts/puppy/cgi-bin/forum/admin/tools/import.pl
and see if it works.
Cheers,
Alex
--
Gossamer Threads Inc.
From shell, can you type
pwd
from your admin directory and tell me what it says? I suspect you are running in one of these "Virtual" servers where they chroot you from the web. It makes it a pain to run any sort of shell scripts.
If I'm right, you can try typing:
perl -I/full/path/to/admin import.pl
where the path is what you got from pwd, however I suspect you may run into other problems. Try also:
virtual perl /usr/local/etc/httpd/vhosts/puppy/cgi-bin/forum/admin/tools/import.pl
and see if it works.
Cheers,
Alex
--
Gossamer Threads Inc.
Nov 27, 2001, 3:18 PM
Novice (43 posts)
Nov 27, 2001, 3:18 PM
Post #15 of 22
Views: 7991
Thanks Alex.
The virtual perl method works but I encouter another problem.
perl /usr/local/etc/httpd/vhosts/puppy/cgi-bin/forum/admin/tools/import.pl --type=WWWThreads-PHP --source=/usr/local/etc/httpd/vhosts/puppy/php --clear-database
Reading import configuration... error!
The WWWThreads version you are currently using (v) is not supported.
Import unsuccessful.
I am running only WWWThreads PHP Version 5.3
The virtual perl method works but I encouter another problem.
perl /usr/local/etc/httpd/vhosts/puppy/cgi-bin/forum/admin/tools/import.pl --type=WWWThreads-PHP --source=/usr/local/etc/httpd/vhosts/puppy/php --clear-database
Reading import configuration... error!
The WWWThreads version you are currently using (v) is not supported.
Import unsuccessful.
I am running only WWWThreads PHP Version 5.3
Nov 27, 2001, 5:33 PM
Novice (43 posts)
Nov 27, 2001, 5:33 PM
Post #16 of 22
Views: 7891
Version problem solved.
Still there are error. Message as follow :-
Reading import configuration... (1.00s) done!
Clearing Gossamer Forum database... Can't call method "fetchall_arrayref" on an undefined value at /usr/local/etc/httpd/vhosts/puppy/cgi-bin/forum/admin/GForum/Table/Group.pm line 66.
Still there are error. Message as follow :-
Reading import configuration... (1.00s) done!
Clearing Gossamer Forum database... Can't call method "fetchall_arrayref" on an undefined value at /usr/local/etc/httpd/vhosts/puppy/cgi-bin/forum/admin/GForum/Table/Group.pm line 66.
Nov 27, 2001, 5:35 PM
Administrator (9387 posts)
Nov 27, 2001, 5:35 PM
Post #17 of 22
Views: 7927
Hi,
I'll have to get Adrian to answer this, but can you turn on debug (Setup->Misc) and re run and tell me what GT::SQL::error says?
Also, how did you fix the version problem?
Cheers,
Alex
--
Gossamer Threads Inc.
I'll have to get Adrian to answer this, but can you turn on debug (Setup->Misc) and re run and tell me what GT::SQL::error says?
Also, how did you fix the version problem?
Cheers,
Alex
--
Gossamer Threads Inc.
Nov 27, 2001, 6:25 PM
Novice (43 posts)
Nov 27, 2001, 6:25 PM
Post #18 of 22
Views: 7866
Error message in debug mode
virtual perl /usr/local/etc/httpd/vhosts/puppy/cgi-bin/forum/admin/tools/import.pl --type=WWWThreads-PHP --source=/usr/local/etc/httpd/vhosts/puppy/php --clear-database --debug
Reading import configuration... Reading WWWThreads configuration from: /usr/local/etc/httpd/vhosts/puppy/php/config.inc.php
db config:
driver: mysql
db name: *******
db host: localhost
db user: *******
db pass: ******
Reading WWWThreads version from: /usr/local/etc/httpd/vhosts/puppy/php/main.inc.php
WWWThreads version: 5.3
Reading WWWThreads User Titles from: /usr/local/etc/httpd/vhosts/puppy/php/filters/usertitles
(1.00s) done!
Clearing Gossamer Forum database... Can't call method "fetchall_arrayref" on an undefined value at /usr/local/etc/httpd/vhosts/puppy/cgi-bin/forum/admin/GForum/Table/Group.pm line 66.
virtual perl /usr/local/etc/httpd/vhosts/puppy/cgi-bin/forum/admin/tools/import.pl --type=WWWThreads-PHP --source=/usr/local/etc/httpd/vhosts/puppy/php --clear-database --debug
Reading import configuration... Reading WWWThreads configuration from: /usr/local/etc/httpd/vhosts/puppy/php/config.inc.php
db config:
driver: mysql
db name: *******
db host: localhost
db user: *******
db pass: ******
Reading WWWThreads version from: /usr/local/etc/httpd/vhosts/puppy/php/main.inc.php
WWWThreads version: 5.3
Reading WWWThreads User Titles from: /usr/local/etc/httpd/vhosts/puppy/php/filters/usertitles
(1.00s) done!
Clearing Gossamer Forum database... Can't call method "fetchall_arrayref" on an undefined value at /usr/local/etc/httpd/vhosts/puppy/cgi-bin/forum/admin/GForum/Table/Group.pm line 66.
Nov 27, 2001, 8:19 PM
Staff (4101 posts)
Nov 27, 2001, 8:19 PM
Post #19 of 22
Views: 7936
Hi,
Can you run that with --debug --debug --debug --debug? It hopefully should print out the actual SQL queries (you may have to manually turn on debugging in the admin to make it work).
We only really need everything past where it says:
"Clearing Gossamer Forum database..."
Adrian
Can you run that with --debug --debug --debug --debug? It hopefully should print out the actual SQL queries (you may have to manually turn on debugging in the admin to make it work).
We only really need everything past where it says:
"Clearing Gossamer Forum database..."
Adrian
Nov 27, 2001, 9:30 PM
Novice (43 posts)
Nov 27, 2001, 9:30 PM
Post #20 of 22
Views: 7862
Alex and Adrian, both of you have done excellent job
I definitely did it very badly
All thing finally sorted out at our end.
Thank you very much for your guidance.
By the way, I am also thinking of getting another license to replace my another UBB. Is the conversion for UBB5.45C supported ?


All thing finally sorted out at our end.
Thank you very much for your guidance.
By the way, I am also thinking of getting another license to replace my another UBB. Is the conversion for UBB5.45C supported ?
Nov 27, 2001, 9:52 PM
Staff (4101 posts)
Nov 27, 2001, 9:52 PM
Post #21 of 22
Views: 7918
What turned out to be the problem?
Unfortunately, the current UBB import being written only supports version 6. I don't believe we have a copy of version 5.x anywhere. I'll have to look and see if it's a big difference from the version 6. If it isn't, it will probably be released shortly after the version 6 import is completed.
Adrian
Unfortunately, the current UBB import being written only supports version 6. I don't believe we have a copy of version 5.x anywhere. I'll have to look and see if it's a big difference from the version 6. If it isn't, it will probably be released shortly after the version 6 import is completed.
Adrian