Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

1.0.1 issues

edited September 2006 in Vanilla 1.0 Help
I have just upgraded one of my boards and all non ASCII characters pulled form the database are screwed up. There is no purpouse for posting an URI since I am now reverting to 1.0 until things get sorted out. (My forum is in Serbian.)
«1345

Comments

  • Options
    edited August 2006
    First guess: try changing the charset back to UTF-8 in Vanilla (I forgot which file, in /conf). edit: But now that I've read the upgrading instructions, the "conf" dir should stay intact. Maybe it's because you used our old translation, which isn't up to date with 1.0.1 (another wild guess). I'll look into it later tonight.
  • Options
    why is 1.0.1 upgrader thinking i'm upgrading from 0.9.2 when i'm using 1.0 currently ? ?

    I also don't get the copy all new files over existing files that would overwrite all our stuff including themes
  • Options
    I have just upgraded. Let's look up.
    http://www.altmisiki.com/vanilla/
    nonlatin characters changed.
  • Options
    no, the default template files (themes/*.php) and the default style (themes/vanilla/styles/default/*) will be overwrite. Same for the library, the js. files, appg... But nothing will be write in conf/ where are your custom setting and same for you themes and style if you had created them like explained in the document: http://lussumo.com/docs/doku.php?id=vanilla:themes http://lussumo.com/docs/doku.php?id=vanilla:styles
  • Options
    MarkMark Vanilla Staff
    edited August 2006
    The upgrader doesn't "think" anything. You have to do the thinking by reading the instructions. http://lussumo.com/docs/doku.php?id=vanilla:upgrading
  • Options
    I did read and did exactly as per instructions, now its stuck at the setup page how to proceed ?
  • Options
    MarkMark Vanilla Staff
    The international character problems are windows fault. I'm looking into it now, but for some reason all of the files in Vanilla have reverted to windows encoding instead of utf-8. Piss me off.
  • Options
    MarkMark Vanilla Staff
    You get redirected to the setup page if the SETUP_COMPLETE configuration setting isn't set to 1 in conf/settings.php. So, check to see if it's there. If it is, make sure Vanilla has read access to that file. If not, did you manually modify the file somehow? The conf directory that comes with 1.0.1 is empty except for a readme file, so your old files should be intact.
  • Options
    seems like if the upgrade overwrites the themes you'll lose your template and will have to copy it over after upgrade, i take it the conf and extensions are in database so we don't have to worry about overwriting those files but what if we need to edit the settings file or other files inside conf will there be a new file created ?
  • Options
    bugsmi0 - THINGS WHICH ARE IMPORTANT AND UNIQUE TO YOUR INSTALLATION WILL NOT BE OVERWRITTEN!
  • Options

    Mark:

    The international character problems are windows fault.
    I'm looking into it now, but for some reason all of the files in Vanilla have reverted to windows encoding instead of utf-8.
    Piss me off.

    It happened to me a couple of times, the same thing with the encoding after importing a database and that kind of stuff with Textpattern. One time it was fixed by refreshing the settings file of TXP. I have solved it by changing the DB encoding in settings file to latin1, reloaded the home page of my site, changed the settings of the DB charset back to UTF, reuploaded the file, reloaded the page and everything was back to normal.

    The funny thing is, when I just went over the Vanilla 1.0.1 files (when I was reverting), no changes were made to encoding, everything was still screwed up, only when I deleted the files from the server and reuploaded the files changes were made.

    Beats me, I'm just a designer, this stuff scares me. ;)
  • Options
    well that's sounds wonderful but common sense says when you overwrite an existing folder that has files in it it tends to get erased unless all the settings including the template design is also in the database in which case that should be mentioned in the upgrade instructions as well :-) people have a fear of losing their stuff when you say just copy over existing files lol any I did what the upgrade instructions said and it's stuck at the setup page all files have been copied over to existing files so shouldn't it work ? I also reset permissions on the required files too
  • Options
    I'm getting this:

    Fatal error: Call to undefined function: discussionform_validateattachments() in /home/laserflo/public_html/vanilla/library/Framework/Framework.Class.Delegation.php on line 36


    I can edit posts just can't create new ones. That's the error I get on attempting to create a new discussion. Any ideas?
  • Options
    edited August 2006
    It will only overwrite files in a folder if the package you're overwriting with also contains those files. Which it doesnt. That's why mark invented the conf/ folder and we always suggest any changes you make to themes are placed under the vanilla folder and you dont just change the files in the root.
  • Options
    MarkMark Vanilla Staff
    @laserfloyd: That's an extension problem.
  • Options
    I'm guessing that's a problem with the attachments extension, laserfloyd, try disabling it.
  • Options
    Yep, I should learn2read. Turning that off fixed it. Now I need a fix for my extension lol
  • Options
    about bugme issue, did he create his styles and themes the way he should have? for template you want to change you have to copy them in the vanilla theme folder and edit this new file. If you create a style create a copy of the default vanilla style, edit this copy. If you did it before nothing will be overwrite
  • Options
    my existing conf folder contains these files, they were there when I installed vanilla 1.0
    - database.php
    - extensions.php
    - language.php
    - settings.php

    when you copy over the new conf folder of course these files will no longer exist

    as for themes, they are in the themes folder is this not the correct location ? this too will no longer exist once you copy over files,

    I did read the upgrade instructions a few times before I went and did it, I have to say it did stump me at first because usually upgrades have you copy over the important folders into the new files but Vanilla did just the opposite and I understand that the settings are saved in the database ok but still I did what the instructions said to do and it didn't work so not sure what the problem might be,
  • Options
    Unless you're running a really retarded filesystem, when you overwrite a folder containing a file eg database.php with a folder which doesnt contain the file database.php it wont remove that file. Therefore you're safe.

    For the record, no settings are stored in the database because mark doesnt want to slow the application down.
This discussion has been closed.