Re: Support Reference -- Import Script

Marcel van der Boom <[email protected]> Thu, 24 Apr 2003 15:10:03 +0200
Newsgroups gmane.comp.cms.xaraya.knowledge-base
Organization HS-Development BV
Message-ID <[email protected]>
mikespub wrote:

> Under what exact circumstances (on what platform, after doing what,
> from where, as what user, ...) did you run the import8.php script ?
>
Steps:

1. installed xaraya with community option.
2. activated the modules in the order you described earlier
3. added the lines to the import8.php script
4. mysql importtest < import.sql (sql file generated with mysqldump)
   creates the nuke_* tables in the importtest database
5. run import8.php
6. set prefix to nuke
7. step one runs successfully.
8. go to step two: welcom tommy (uid 53 in the nuke_users, uid 54 in the
xar_roles)
2003-04-24 08:55:29 - (DEBUG) xarModLoad: loading hitcount:adminapi
2003-04-24 08:55:29 - (DEBUG) The following exception is logged because the
                      XARDBG_EXCEPTIONS flag is set.
2003-04-24 08:55:29 - (DEBUG) No privilege for AddCategories

> And could you add the following lines on line 93 as a test :
> 
> ..
>     // show what user you're logged in as
>     $curname = xarUserGetVar('name');
>     echo "Welcome back, <strong>" . xarVarPrepForDisplay($curname).
> "</strong><br><br>\n";
> 
>     list($dbconn) = xarDBGetConn();
> ..
>
done that
 
> and verify that you don't switch users after the first step ?
>
obviously i do, so i put a xaruserlogin before those lines (were already
there commented out i believe?) No change.

funny.

marcel


 
> Mike.

-- 
Marcel van der Boom, HS-Development BV
Kwartiersedijk 14B, 4893 RE
Fijnaart, The Netherlands
T: +31-168-468822, F: +31-168-468823