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.

1.0.1 issues

245

Comments

  • MarkMark Vanilla Staff
    I am really confused by this encoding issue. I just spent the last 45 minutes going through all of the vanilla files one-by-one changing the encoding to utf-8. When I copied the files to another location in preparation for zipping them, I opened up one to make sure it was still utf-8 and Windows had changed it back to Windows-1252 again simply by me copying it. I don't know what to do.
  • Do it on your mac.
  • I got mine working, I did the opposite of the upgrade instructions

    i copied over my existing important folders into the new file dir and it worked like a charm
  • MarkMark Vanilla Staff
    I'm not spending another 45 minutes doing this file by file. That's retarded. There's got to be a better way.
  • Minisweeper said > > 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.

    I haven't touched the file system, its all default Vanilla locations as it was installed with,

    if i heard you correctly you are saying if an existing folder has files in it and the new folder does not it will not overwrite it when you copy it over ? what planet you on lol, of course it will overwrite the exiting folder

    ie

    folder a has 3 files in it

    when you copy the new folder a into the root it WILL overwrite the existing one
  • MarkMark Vanilla Staff
    On windows if you have a folder with a bajillion files in it and you copy a folder with the same name but no files in it on top, it will NOT erase the bajillion files.
  • MarkMark Vanilla Staff
    @draganbabic: So you had a character problem and you got it fixed on your own? Can you explain again how you did it for others with the same problem? I can't make the file encodings co-operate.
  • As I said in my first message, I haven't fixed it, I'm back on 1.0. :(
    For the sake of clarification here it goes again.

    1) I have unzipped the vanilla 1.0.1 files on my machine and started the upload via overwrite
    2) Upload done, I refresh my page and I see the encoding problem
    3) I try to revert back to the 1.0 via overwrite - no go, everything's still the same
    4) I erase all Vanilla files form the server (via FTP of course) and reupload the old backed up files of 1.0
    5) I reload the page and everything works again

    Regarding to my Textpattern issue with the encoding, here's how it went:
    1) I import my database and upload the files via FTP, the encoding is screwed up, even if it says in the settings file that the encoding for the DB is UTF8
    2) I download the settings file, change the encoding value to latin1, overwrite the copy on the server, refresh the page - obviously everything is screwed up
    3) I change the encoding for the DB on my local copy to UTF8, overwrite the one on the server via FTP, refresh the page - everything was back to normal.

    I really don't know what to think of this, neither does my server admin who was helping me through this issue with me at the time. I was as if the script needed "reminding" of what encoding to use. Sorry for the antropomorphism here, but I just don't know how else to explain it.
  • oh ok, I didn't know that about windows my bad, I be a mac user that would be nice if mac would do that too
  • edited August 2006
    On Linux and Windows, it is working that way. Would be strange if it wasn't the same on mac. Isn't Mac OS X like linux? (edit: I meant Linux and WIndows)
  •  Quote: Mark  On windows if you have a folder with a bajillion files in it and you copy a folder with the same name but no files in it on top, it will NOT erase the bajillion files.
    Um, Windows or not, my server is UNIX and yes, copying an empty folder WILL erase, overwrite the existing one including the (bajillion) contents of the old one. It's always been like this with every server I've dealt with and there have been many over 14 years.

    My FTP application, Interarchy, asks me if I want to merge or overwrite but that's application smarts, standard FTP on a UNIX server (I have never used Windows) will always overwrite.
  • MarkMark Vanilla Staff
    edited August 2006
    I've never experienced that before, wanderer.

    Regardless, I've changed the upgrade notes on the wiki.
  • Question:
    I've upgraded successfully, being careful not to compromise the existing conf and extensions folder (as well as themes and languages).

    Now the 1.0.1 language file surely has new dictionary definitions?
    How do I work out which ones they are so I can include/update them in my own Language file?
  • Hey Wanderer, how did you do those quotes ? I'm lost with out my damn BBCode tool bar lol Mark is so stingy when it comes to bells and whistles here, it feels so naked with out the buttons
  • you need to overwrite languages/English/*, Your personal change should be in conf/language.php.
  • edited August 2006
     Quote: bugsmi0  Hey Wanderer, how did you do those quotes ? I'm lost with out my damn BBCode tool bar lol Mark is so stingy when it comes to bells and whistles here, it feels so naked with out the buttons
    bugsmi0, click block comment to see the code.

    I have some macros set up (using QuicKeys) to do the formatting :-)
  • MarkMark Vanilla Staff
    draganbabic:

    Can you do me a favour and test something out?

    If you have a local copy of your 1.0 Vanilla, can you make a copy, upgrade to Vanilla 1.0.1 and then edit library/Framework/Framework.Class.MySQL.php on line 64 to this:

    // if (version_compare(mysql_get_server_info(), '4.1.0', '>=')) mysql_query('SET NAMES "utf8"', $this->Connection);

    I think it *might* be causing the bug. If it is, that is a very easy fix (as you can see).
  •  Quote: Dinoboff  you need to overwrite languages/English/*, Your personal change should be in conf/language.php.
    Yes I know, but what if it's a completely different language like Upper-Qumbaktan?
  • MarkMark Vanilla Staff
    @Wanderer - I changed the upgrade notes *again*.

    I really need someone as smart as you to write this stuff for me. It's obviously getting to be too much for my limited brain capacity.
  • edited August 2006
    Wanderer:How do I work out which ones they are so I can include/update them in my own Language file?

    I made that patch hope it can help you out

    http://rapidshare.de/files/30273202/definitions.zip.html
This discussion has been closed.