Hi,
Got a really annoying problem :| Basically, we have GForum setup (2000+ users) ... and I've just setup Community + Glinks.
The problem is, that the users don't exist :|
I've found "import.pl" .. in the /tools folder, but I can't get it to work.
The "help" shows;
Usage: import.pl --type=s --path=s [--mapfile=s] [--table=s] [--help]
--type The Gossamer's products ID which are named gforum, gmail, lsql and dbsql.
--path This should be the PATH (starts with a / or a drive letter) to the directory where your admin files are.
No trailing slash please.
--mapfile This is an option which should be the PATH to the map files.
--table This argument is required for DBMan SQL product only. 'table' should be the name of user table.
Problem is, it won't import
/Community/Import/maps/gforum.map
Failed to execute query: 'SELECT HASH(0x8296b34),sub {
# --------------------------------------------------
my ( $mappings, $tags ) = @_;
$tags->{app_keyword} and $mappings->{"app_$tags->{app_keyword}_user_id"}
= "user_id";
} FROM gforum_User WHERE (user_status >= ?)' Reason: You have an error in yo
ur SQL syntax. Check the manual that corresponds to your MySQL server version f
or the right syntax to use near '(0x8296b34),sub {
# --------------------------------------- at /var/home/user/domain.com/
secure_data/lib/Community/Import/GForum.pm line 58.
Anyone got any ideas? :/
TIA
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Got a really annoying problem :| Basically, we have GForum setup (2000+ users) ... and I've just setup Community + Glinks.
The problem is, that the users don't exist :|
I've found "import.pl" .. in the /tools folder, but I can't get it to work.
The "help" shows;
Quote:
perl import.pl --help Usage: import.pl --type=s --path=s [--mapfile=s] [--table=s] [--help]
--type The Gossamer's products ID which are named gforum, gmail, lsql and dbsql.
--path This should be the PATH (starts with a / or a drive letter) to the directory where your admin files are.
No trailing slash please.
--mapfile This is an option which should be the PATH to the map files.
--table This argument is required for DBMan SQL product only. 'table' should be the name of user table.
Problem is, it won't import
Quote:
import.pl --type=gforum --path=/var/home/user/domain.com/cgi-bin/admin --mapfile=/var/home/user/domain.com/secure_data/lib /Community/Import/maps/gforum.map
Failed to execute query: 'SELECT HASH(0x8296b34),sub {
# --------------------------------------------------
my ( $mappings, $tags ) = @_;
$tags->{app_keyword} and $mappings->{"app_$tags->{app_keyword}_user_id"}
= "user_id";
} FROM gforum_User WHERE (user_status >= ?)' Reason: You have an error in yo
ur SQL syntax. Check the manual that corresponds to your MySQL server version f
or the right syntax to use near '(0x8296b34),sub {
# --------------------------------------- at /var/home/user/domain.com/
secure_data/lib/Community/Import/GForum.pm line 58.
Anyone got any ideas? :/
TIA
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!