|
Joined: Aug 2006
Posts: 583
old hand
|
old hand
Joined: Aug 2006
Posts: 583 |
Hi all, I imported my Threads 6.5.1 to 7.0 and most everything went well. I did this initial import just to see what all did or did not come over and figure out what changes I need to make. But when I am ready to actually go live with me new 7.0, I will want to re-import and I have a couple of questions. - When I did the import I guess I must have answered one of the import questions about admin wrong bcause now I have two accounts with my forum name as admin, except one is a dup, like this:
Basil Basil_dup1
The Basil_dup1 seems to be the one that got associated with my post count, etc. So, what do I need to do to not have the duplicate admin account and just have me be the same member number I currently am on 6.5.1? - Second question. My "new" attachments directory is like this ..../newforum/memberfiles and my old dir is .../oldforum/memberfiles. Even though I moved attachment files to the new directory, when I try to view an attachment from a thread in 7.0 I get "Page Cannot be Found". What do I need to do to make sure that all the attachments in posts can still be seen?
- To re-import, should I empty ALL tables or just certain tables? I have some new styles so I assume I need to export the styles table then import it back when I do the re-import of 6.5.1. What tables are actually mported and which tables should be left alone is another way of asking it. Is the portal setup stored in tables or flat files?
If there is anything else I should consider when I do the re-import, please let me know I have another question about re-directing but I'll open a separate thread for that question. Thanks, Basil
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Grab the user number of them both, then go to member management and click the merge user link (I'm not sure if it's on the member management page directly or if it's on the edit user screen).
I think the old attachments want their old directory path, you could try setting a redirect in your .htaccess file; post both full url's and i'll make you a quick line for it.
To re import you'll export your styles, then drop ALL mysql tables, then run "createtables.php" from your install directory then run your importer. All of the critical settings to run an install are set in your config file, but a lot of customization settings are stored in the db.
|
|
|
|
Joined: Aug 2006
Posts: 583
old hand
|
old hand
Joined: Aug 2006
Posts: 583 |
Well, here's what's strange, I have all teh same files in both the old and the new directories and I have tried pointing to both in teh control panel and the result is the same. I'd rather try to get it to work properly while pointing at the NEW directory before I try any sort of kludge with a re-direct.
Basil
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
The redirect would simply send all requests to the old directory to the new one; it's my thought that the current posts are pointing people at the old URL versus the new one (which would make sense that the old URL is what is set in the database).
|
|
|
|
Joined: Aug 2006
Posts: 583
old hand
|
old hand
Joined: Aug 2006
Posts: 583 |
Ok, well the full URLs are: OLD: /home/mysite/public_html/ubbt/memberfiles (path: http://www.mysite.com/ubbt/memberfiles) NEW: /home/mysite/public)html/forum/memberiles (path: http://mysite.com/forum/memberfiles) (Of course I've changed it slightly but can make necessary changes once you make the re-director) FWIW, I tried posting a NEW post and attaching a file and I have the same problem - the attachment can't be seen. When I click the attachment I get "This PAge Can Not Be Displeyed" (The file does get put in the directory by the way) Basil
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
mmm, if the path isn't working in the *new* location, I'm not sure there (make sure the folder is chmodded 777). As for a redirector, this should work (this goes in a .htaccess file): redirect 301 /ubbt/memberfiles http://www.yourdomain.tld/forum/memberfiles
redirect 301 /ubbt/memberfiles/ http://www.yourdomain.tld/forum/memberfiles/ If it doesn't work in your htaccess file in your web root, you could try putting one in your ubbt folder and set it as: redirect 301 /memberfiles http://www.yourdomain.tld/forum/memberfiles
redirect 301 /memberfiles/ http://www.yourdomain.tld/forum/memberfiles/
|
|
|
|
Joined: Aug 2006
Posts: 583
old hand
|
old hand
Joined: Aug 2006
Posts: 583 |
I'll try this, but I really think something else is going on here. In the new dir, I have made certain that it is CHMOD 777 and the test in the control panel does work just fine - says the dir exists and is writable. But yet, even when I post a new message and attach a file, the picture will not display when I click the attach link. (but the file DOES get uploaded when I do the attachment) YET - in the Files table the count does get incremented every time I attemp to view it, so at least that part of the download.inc.php script is working.
|
|
|
|
Joined: Aug 2006
Posts: 583
old hand
|
old hand
Joined: Aug 2006
Posts: 583 |
No dice. Must be something else going on.
|
|
|
|
Joined: Aug 2006
Posts: 583
old hand
|
old hand
Joined: Aug 2006
Posts: 583 |
I fixed it!! Yippie!! It was such a dumb thing! I tried uploading a picture that was small enough that it would appear inline in the post and when I did, all I got in the post was the dreaded red-X. So I right-clicked the image and looked at properties. The problem jumped off the screen and hit me clean between the eyes! The URL to the attachmenets dir had a typo! I left off the ".com" on my URL in the Control Panel, so instead of /mysite.com/forum/attachments/image.jpg I had /mysite/forum/attachmenets/image.jpg. As soon as I went to the attachments section and corrected the "Full URL" entry" to add the .com, then ALL attachments are now working! So, even though the test link for the "Attachment Storage Directory" was passing the test, the download.inc.php script was throwing "Page Cannot be Displayed" because the "Full URL to Attachment Directory" field had the small typo of not including the .com!
I'm happier than a pig in a new mud puddle!
Basil
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
hahaha, nice error ... Glad it's fixed
|
|
|
|
Joined: Aug 2006
Posts: 29
newbie
|
newbie
Joined: Aug 2006
Posts: 29 |
I have this issue of needing to merge myself. I was member 0 when I started this board and member 1 on my old board. On this one after import, I am 2 and 3. I can't figure out where this merge is, but I badly need to find it. Can anyone give exact location? Thanks.
|
|
|
|
Joined: Aug 2006
Posts: 29
newbie
|
newbie
Joined: Aug 2006
Posts: 29 |
Regarding that member merge - Gizzy, ignore my latest PM. I found it. Wow, what a nice bunch of tools this board has. Anyway, it is Edit Profile, and you have to be on the duplicate, not the one you are logged in as or the option doesn't show up. Then you do merge member and put in the number of the one you are logged in as, and poof!
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Works well don't it ...
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
2 members (DennyP, 1 invisible),
969
guests, and
171
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|