|
Joined: Jun 2006
Posts: 32
newbie
|
newbie
Joined: Jun 2006
Posts: 32 |
the script stops on:
The script stops on:
Importing moderator (Forum #27) Script: E:\accounts\forum.domainame.com\root\www\ubbthreads\importers\classic_import.php Line#: 1602 SQL Error: Duplicate entry '0' for key 1 SQL Error #: 1062 Query: INSERT INTO ubbt_MODERATOR_PERMISSIONS ( `USER_ID`, `MODERATOR_CAN_EDIT_USERS`, `MODERATOR_CAN_APPROVE_POSTS`, `MODERATOR_CAN_EDIT_POSTS`, `MODERATOR_CAN_LOCK_POSTS`, `MODERATOR_CAN_MOVE_POSTS`, `MODERATOR_CAN_DELETE_POSTS`, `MODERATOR_CAN_STICK_POSTS` ) VALUES ( '' ,0,1,1,1,1,1,1)
What to now??
|
|
|
|
Joined: Jun 2006
Posts: 32
newbie
|
newbie
Joined: Jun 2006
Posts: 32 |
I have delete all moderators in the old forum, and reinstall the script, but there where no errors this time, except the members where not imported also the admin, I have the members dir before the www root, is this the problem that it will not import?
There is no log file so I can see whats wrong, If the location of the members dir is the problem, how to solved it and wich files must I change?
John
Last edited by webcare; 10/09/2006 8:16 AM.
|
|
|
|
Joined: Jun 2006
Posts: 32
newbie
|
newbie
Joined: Jun 2006
Posts: 32 |
It stuck because the members were not imported, and the importscript gives no error.... what is the normal location/path from the members dir in ubb classic? because I had tranfer it before the www root, and I do not remember the normal location?
Could someone tell me?
Last edited by webcare; 10/09/2006 11:32 AM.
|
|
|
|
Joined: Jun 2006
Posts: 346
enthusiast
|
enthusiast
Joined: Jun 2006
Posts: 346 |
You should be able to get your Member's Directory path from your Paths & URLs section in your Classic Control Panel.
Moving this to Installation Help for now.
|
|
|
|
Joined: Jun 2006
Posts: 32
newbie
|
newbie
Joined: Jun 2006
Posts: 32 |
I did copy the lines in the control panel into the importerfile but it seem not to import the members and the path is correct, because my old forum still works.
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
After getting the original error did you start over with the import or just try and resume where it left off?
|
|
|
|
Joined: Jun 2006
Posts: 32
newbie
|
newbie
Joined: Jun 2006
Posts: 32 |
I did a compleet new install, but evertime it fotgets to import the members, what to do now?
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Does it totally skip the members, or say it's importing them and just says it's done? If it tries to import them then it's possible it's not finding all of the members files. Check the path that your specifying for the Members Directory and make sure that all of your members files are in that directory.
|
|
|
|
Joined: Jun 2006
Posts: 32
newbie
|
newbie
Joined: Jun 2006
Posts: 32 |
Yes all the members are skiped and the import file is en and running normal.
I have only the members directory before the root file, make this a diference?
I did take the same path as in the controlpanel from the classic.
The old forum still works normal.
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
It's tough to say what's going on for sure, the location *shouldn't* matter as long as PHP can read it. If you can, try this and let me know what you get back. Bring up classic_import.php?ubb=members
Let me know if it does anything or just says it's going to continue to the categories or shoutbox.
|
|
|
|
Joined: Jun 2006
Posts: 32
newbie
|
newbie
Joined: Jun 2006
Posts: 32 |
Below the error
Warning: sort() expects parameter 1 to be array, null given in E:\************\accounts\forum.*********.nl\root\www\ubbthreads\importers\classic_import.php on line 355
Done! About to import categories. (please wait) (classic_import.php?ubb=importsomeconfigstuff#bottom) Generated in 0.1069 seconds in which 0.031 seconds were spent on a total of 2 queries.
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Ok, so that either means it's not able to find the members directory or there is some other issue.
The easiest thing would be if you can send me the ftp info to your server along with the URL to the import script so I can debug just a bit. You can either send it in a ticket or via a PT here.
|
|
|
|
Joined: Jun 2006
Posts: 32
newbie
|
newbie
Joined: Jun 2006
Posts: 32 |
This is the message:
I just collect the data and send it to you.
Last edited by webcare; 10/09/2006 5:23 PM.
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
0 members (),
484
guests, and
138
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|