Hey!
I've exported my old db and tried to import to a local install of V2 using the porter but I get the following error: Could not parse import file. The problem is near line 1.
THis is what the first lines look like:
`Vanilla Export: 1.5.3, Source: Vanilla 1.*
// Export Started: 2012-04-12 16:39:58 Table: User`
Any ideas where to start de-bugging?
I think there are problems sometimes when you don't select the option to save the export file to your server, but rather serve it through your browser and save that document. The browser can sometimes wreck the line endings.
If you don't see the option to save to the server then make sure the porter script is in a folder with write permissions.
Answers
Hey Todd, thanks for that I think you're right. It worked once I'd used the .GZ file.
I've made some notes this time - worked a treat, very easy and quick, thanks Todd! :)
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Yeah no problem. I think I should make the porter work .gz only. Dealing with the various line endings is a serious pain.
- Spam
- Abuse
- Troll
2 • Off Topic Insightful 2Awesome LOL •Sorry Todd, one thing now I have it installed... The comments are showing fine but it's stripping any HTML out? Is this a V2 thing?
EG: A comment in the database has a short comment and then an image - the comment shows but not the image - any ideas?
Seems to be fine in the DB (full external image link, not a local image)
Cheers Rob
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •If you look in the comments database table, what is the contents of the field 'Format' for some of the comments that has HTML stripped out?
Which Wysiwyg editor are you using on your forum? clEditor?
What to do if I get a Bonk Error?
Vanilla Wiki : Join and help edit our Wiki! | View all Vanilla issues on GitHub | Report a new Vanilla issue on GitHub
Deploying a new Forum and adding a Theme | Give thanks to the Vanilla Developers!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Hey UnderDog, thanks for the reply.
OK, the comment that isn't displaying an image is Text format but when I make a new comment it's Html. I have no wysiwyg editor installed at the moment just a clean V2 install.
Is the answer just to change all the Text formats to Html?
Thanks for the pointers.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Yes, let's try that first:
for wysiwyg editor I can recommend the buttonbar plugin. We're using it here on the forum too.
What to do if I get a Bonk Error?
Vanilla Wiki : Join and help edit our Wiki! | View all Vanilla issues on GitHub | Report a new Vanilla issue on GitHub
Deploying a new Forum and adding a Theme | Give thanks to the Vanilla Developers!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Hey UnderDog, apologies in the delay coming back.
That worked a treat, it must be the 'Format' my old WYSIWYG was using.
All good now, V2 is SO much better than V1. I've gone for ButtonBar too, looks nice and simple.
Thanks for your help - Rob
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Yep, I installed V1 just for fun today, and because I'm working on a wiki article which handles conversion / migration from Vanilla 1 and MyBB / phpBB to Vanilla 2. I like Vanilla 2 too.
What to do if I get a Bonk Error?
Vanilla Wiki : Join and help edit our Wiki! | View all Vanilla issues on GitHub | Report a new Vanilla issue on GitHub
Deploying a new Forum and adding a Theme | Give thanks to the Vanilla Developers!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •haha, V1 one looks so cute now. I'm flying with V2 now, so stable. Thanks.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •