Support Reference -- Import Script

"J. Cox" <[email protected]>
Newsgroups gmane.comp.cms.xaraya.knowledge-base
Organization Xaraya News Server
Message-ID <[email protected]>
The root problem with some import problems happens when their is not an
"Admin" user in the "admin" group in the PN db.  The problem causes
permissions problems.  I believe that we can work around this for the time
being in most cases with this work around.


<nobody> lets try a theory of what the root cause is:)
<datavortex> ok, ready when you are
<nobody> add a user called "Admin"
<nobody> and put that user in the "admin" group in pn.
<nobody> then grab a dump of that new code, and install it in your xaraya
db.
<nobody> if you have "Admin" as the admin user on your Xaraya install, then
you don't need to redo the db, if
  you don't then do that.
<nobody> I think we can work around this problem if this is the problem.
* Rabbitt sets mode: -o Rabbitt
<nobody> what we can do is add a user called whatever your admin user name
is, and insert it into the pn data
  first.
<nobody> but we need to see if that is indeed the problem.
<datavortex> ok, so I will redo the DB real quick
<datavortex> Ok, install done, admin is now "Admin" - initing mods
<datavortex> ok, mods are on, now I'm going back to the import8 script
<datavortex> step 2 (old news topics --> categories) still giving me issues:
<datavortex> Creating topic (1) Geekdom and Computing - geek [geek.gif]
<datavortex> Couldn't create hit counter 74 for topic Geekdom and Computing
<datavortex> step 3 looks good: Inserted article 200
<datavortex> I don't have any queued articles, step 4 basically skipped
<datavortex> step 5 went with no errors
<datavortex> step 6 is good Inserted section content (3) Geekdom
<datavortex> step 7, no errors
<datavortex> step 8 worked: Inserted FAQ (6) Location
<datavortex> step 9 went with no errors: Inserted comment (269 0) - Re:
Quickie
<datavortex> step 10 is complaining:
<datavortex> 10. Importing old web link categories
<datavortex> Oops, missing parent 0 for category (1) Geek Stuff
<datavortex> Oops, missing parent 0 for category (3) Friend's Pages
<datavortex> looks like that goes back to the problems with step 2 regarding
categories though
<nobody> thats because it failed on the initial one
<nobody> yup.
<datavortex> 11 looks good: Inserted web link (1) Procmail Quick Start
<datavortex> 12 is done and so is import8.php
<datavortex> So it looks like just trying to convert my topics into
categories is giving it issues
<datavortex> thanks to your fix, nobody.
<nobody> bah, we need to fix that in the script.
<nobody> not sure why "Admin" is so important.
<nobody> I am going to copy this to the knowledge base though.
<datavortex> cool, hope I was mildly helpful. :)
End of #support buffer    Wed Apr 23 20:46:23 2003
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.