Re: Support Reference -- Import Script

[email protected] (mikespub)
Newsgroups gmane.comp.cms.xaraya.knowledge-base
Organization not much
Message-ID <[email protected]>
In article <b88j05$gi$1-FogMEOs31dotat4ziPANHlKoq+OfwspIAL8bYrjMMd8@public.gmane.org>, Marcel van der Boom <[email protected]> wrote:
>I tried once with the logging option on.
>
>There is an exception (on my side) when creating categories:
>
>no privilege for AddCategories.
>
>I haven't investigated further, maybe this helps you further?
>
>marcel
>
Under what exact circumstances (on what platform, after doing what,
from where, as what user, ...) did you run the import8.php script ?

Because I never get privileges problems, I don't seem to be
switching users in mid-course, or any other weird stuff like
that whenever I run it.

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();
..

and verify that you don't switch users after the first step ?

Mike.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.