Not signed in (Sign In)

Categories

Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
  1.  # 1
    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.)
    •  
      CommentAuthortrunkadelic
    • CommentTimeAug 21st 2006 edited
     # 2
    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.
    •  
      CommentAuthorbugsmi0
    • CommentTimeAug 21st 2006
     # 3
    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
    • CommentAuthorEngin
    • CommentTimeAug 21st 2006
     # 4
    I have just upgraded. Let's look up.
    http://www.altmisiki.com/vanilla/
    nonlatin characters changed.
    •  
      CommentAuthorDinoboff
    • CommentTimeAug 21st 2006
     # 5
    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
    •  
      CommentAuthorMark
    • CommentTimeAug 21st 2006 edited
     # 6
    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
    •  
      CommentAuthorbugsmi0
    • CommentTimeAug 21st 2006
     # 7
    I did read and did exactly as per instructions, now its stuck at the setup page how to proceed ?
    •  
      CommentAuthorMark
    • CommentTimeAug 21st 2006
     # 8
    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.
    •  
      CommentAuthorMark
    • CommentTimeAug 21st 2006
     # 9
    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.
    •  
      CommentAuthorbugsmi0
    • CommentTimeAug 21st 2006
     # 10
    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 ?
  2.  # 11
    bugsmi0 - THINGS WHICH ARE IMPORTANT AND UNIQUE TO YOUR INSTALLATION WILL NOT BE OVERWRITTEN!
  3.  # 12

    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. ;)
    •  
      CommentAuthorbugsmi0
    • CommentTimeAug 21st 2006
     # 13
    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
    •  
      CommentAuthorlaserfloyd
    • CommentTimeAug 21st 2006
     # 14
    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?
    • CommentAuthorMinisweeper
    • CommentTimeAug 21st 2006 edited
     # 15
    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.
    •  
      CommentAuthorMark
    • CommentTimeAug 21st 2006
     # 16
    @laserfloyd: That's an extension problem.
  4.  # 17
    I'm guessing that's a problem with the attachments extension, laserfloyd, try disabling it.
    •  
      CommentAuthorlaserfloyd
    • CommentTimeAug 21st 2006
     # 18
    Yep, I should learn2read. Turning that off fixed it. Now I need a fix for my extension lol
    •  
      CommentAuthorDinoboff
    • CommentTimeAug 21st 2006
     # 19
    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
    •  
      CommentAuthorbugsmi0
    • CommentTimeAug 21st 2006
     # 20
    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,
  5.  # 21
    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.
    •  
      CommentAuthorMark
    • CommentTimeAug 21st 2006
     # 22
    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.
  6.  # 23
    Do it on your mac.
    •  
      CommentAuthorbugsmi0
    • CommentTimeAug 21st 2006
     # 24
    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
    •  
      CommentAuthorMark
    • CommentTimeAug 21st 2006
     # 25
    I'm not spending another 45 minutes doing this file by file. That's retarded. There's got to be a better way.
    •  
      CommentAuthorbugsmi0
    • CommentTimeAug 21st 2006
     # 26
    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
    •  
      CommentAuthorMark
    • CommentTimeAug 21st 2006
     # 27
    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.
    •  
      CommentAuthorMark
    • CommentTimeAug 21st 2006
     # 28
    @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.
  7.  # 29
    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.
    •  
      CommentAuthorbugsmi0
    • CommentTimeAug 21st 2006
     # 30
    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
    •  
      CommentAuthorDinoboff
    • CommentTimeAug 21st 2006 edited
     # 31
    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)
    •  
      CommentAuthorWanderer
    • CommentTimeAug 21st 2006
     # 32
     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.
    •  
      CommentAuthorMark
    • CommentTimeAug 21st 2006 edited
     # 33
    I've never experienced that before, wanderer.

    Regardless, I've changed the upgrade notes on the wiki.
    •  
      CommentAuthorWanderer
    • CommentTimeAug 21st 2006
     # 34
    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?
    •  
      CommentAuthorbugsmi0
    • CommentTimeAug 21st 2006
     # 35
    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
    •  
      CommentAuthorDinoboff
    • CommentTimeAug 21st 2006
     # 36
    you need to overwrite languages/English/*, Your personal change should be in conf/language.php.
    •  
      CommentAuthorWanderer
    • CommentTimeAug 21st 2006 edited
     # 37
     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 :-)
    •  
      CommentAuthorMark
    • CommentTimeAug 21st 2006
     # 38
    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).
    •  
      CommentAuthorWanderer
    • CommentTimeAug 21st 2006
     # 39
     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?
    •  
      CommentAuthorMark
    • CommentTimeAug 21st 2006
     # 40
    @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.
    • CommentAuthoralnokta
    • CommentTimeAug 21st 2006 edited
     # 41
    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
    • CommentAuthoralnokta
    • CommentTimeAug 21st 2006
     # 42
    @Mark : I did exactly what mentioned above but still there is something wrong with the encoding ...

    Here is a picture:
    http://img177.imageshack.us/img177/2913/badencodingog1.jpg
    •  
      CommentAuthorMark
    • CommentTimeAug 21st 2006
     # 43
    @alnokta: Can you try uploading your original Vanilla 1.0 library/Framework/Framework.Class.MySQL.php file and see if that does it?
    •  
      CommentAuthorMark
    • CommentTimeAug 21st 2006
     # 44
    @Wanderer: Someone whispered to me saying that they thought I was being sarcastic to you in my last comment to you. For the record, I wasn't. You seemed to do everything right and I'm being all stupid and forgetful.
    •  
      CommentAuthorWanderer
    • CommentTimeAug 21st 2006
     # 45
     Quote: alnokta  I made that patch hope it can help you out
    http://rapidshare.de/files/30273202/definitions.zip.html

    Cool dude, thanks a bajillion!
    • CommentAuthoralnokta
    • CommentTimeAug 21st 2006
     # 46
    It worked .. when I copied the backup file ...

    Here is a picture:
    http://img297.imageshack.us/img297/5646/whenitworkswa7.jpg
    •  
      CommentAuthorMark
    • CommentTimeAug 21st 2006
     # 47
    Okay, then I know what the problem is. I'm going to fix it and update the zip file.
    •  
      CommentAuthorMark
    • CommentTimeAug 21st 2006
     # 48
    Thanks!
    •  
      CommentAuthorMark
    • CommentTimeAug 21st 2006
     # 49
    @alnokta or draganbabic:

    I've uploaded a new version of the zip. Can you (or anyone else with the probem) try it out and make sure it works?

    http://lussumo.com/Vanilla.1.0.1.zip
    • CommentAuthoralnokta
    • CommentTimeAug 21st 2006
     # 50
    Working flawlessly .... thanks for that great simple easy forum btw