I did never an upgrade by myself and I need a step-by step-instruction O:-)
My testforum is running with 1.0.10 and yesterday I deinstalled the two addons there (SimplePortal and Tabbed Smileys)
I don't need a backup, because there is nothing important in my testforum.
First I have to do the Upgrade to the 1.1.Final and afterwards I have to install the patch to 1.1.1.
Is this correct?
I do not understand, what Emanuele answered here. This topic is closed (why?) https://www.elkarte.net/community/index.php?topic=4712.msg34075#msg34075
It seems not to be possible to do an upgrade via package manager? I tried this yesterday, but I got a warning message, which I did not understand. Something about "empty package", wrong permissions and that I should install the unzipped files via FTP:
The adminpanel shows me this at the moment:
And this is "packages" via FTP at the moment. What do I have to do now? O:-)
Uploading the zipped (or unzipped?) files from 1.1.Final into this directory?
To update to 1.1.1 I just unzipped the files and uploaded using an ftp client, after the upload just point your browser to your test forum and the update procedure should begin.
Thank you, Radu.
So I do not need to use 1.1. Final first?
Where should the unzipped files from 1.1.1. be uploaded?
In "packages"?
I downloaded the file from here: https://github.com/elkarte/Elkarte/releases (file
ElkArte_v1-1-1_install.zip (https://github.com/elkarte/Elkarte/releases/download/v1.1.1/ElkArte_v1-1-1_install.zip))
Unzip the file and overwrite the files on your forum:
Thank you very much, Radu. :)
It worked that way. Everything seems to be okay.
It was a lot of stuff, :P I hope, I did not miss something.
I missed something.... ::)
The editor does not show any BBC-Tags or smileys (but they are working) and the preview is not working.
You can change the behaviour and show the full editor under the last post if this is what you'd like to see. (ACP -> Theme Management -> Member Option)
What do you mean the preview is not working? It has any errors? I suggest you to open a new topic if you have other problems, we are going off-topic here ;)
I don't mean the quickreply, Radu....I mean the normal editor, if I reply or start a new topic.
The button "preview" ist not working, no preview to see.
Anything else seems to work as usual.
There are no errors in the log, I checked all files again on the Server, but I cannot find a file, wich I had missed to upload.
The "console" shows me this errors:
I have no idea, first time I see it.
I can suggest to check in ACP > Forum > Posts and topics > Bulletin Board Code
if the option Enable bulletin board code (BBC) is enabled? But I don't think is this, you should at least see the smileys and also a few buttons from the editor.
Do you have any addons installed? Before upgrading to elkarte 1.1 did you have any mods installed on 1.0.10 or did you uninstalled the addons before the update?
== edit ==
I saw now the screenshot and the edit you just made, don't know if could be useful, try to remove elkarte cache and browser cache
Yes, BBC-Tags are enabeld in the Admin-Panel, also the smileys are there to see.
I can use BBC or smileys in my posts, if I "write them by hand" but they are missing in the "toolbar"
I deinstalled the two addons yesterday, I had in my testforum before.
Yes, I will try this, thank you, Radu
It was this stupid browser cache, Radu! (or stupid me) ;)
Everything is fine now, even the preview is working.
Thank you!
Glad you solved and that I could help ;)
What language files are you using with 1.1.1, Ruth? The german files are not tested with the new ElkArte version. Could be some text strings are missing and not translated.
I am still using the "old ones", Jorin. They are working without any error, as I have seen until now - there are just a few strings shown in english, as you said.
Don't matter in a testforum. ;)
hmm... that's odd, in theory the ?R111 at the end of the URL should invalidate the browser cache... O_o
I am using Opera, Emanuele...and this browser is always a little "strange" since a few months. ;)
I had a lot of irritations by working in the files, because of the brower cache, doing things again and again...
And in my resolution the layout/styling of many pages is somehow broken, also here on ElkArte.net and in my forums.
Not sure about it, but I think, there is something wrong here?
Every time, when I attach a picture, I will get an error in the log:
And the attachment details are not centered, see the first screenshot.
It should be
display: inline-block instead of
display: block here in index.css on line 3127
.attachment_name, .attachment_details {
display: block;
width: 18em;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding: 0 .5em;
}
Not unlikely. :P
hmm... which one is it the URL associated to the error?
hmm... I thought this was fixed in 1.1.1... I guess I was wrong?
I have canged this about the attachment details in index.css.
Not sure, what you mean, Emanuele? It is the URL of my testforum:
I got another error in the log last night, while I had installed a copy of the default theme to work in the css-files:
And as I have noticed right now, I am not able to upload any attachments in posts if I use this theme, ::)
It is only possible in the default theme. But I will get an error in the log, if I attach pictures.
That piece is all I need.
By chance, could it be you:
1) uploaded the attachment,
2) inserted inline
3) delete the attachment,
4) uploaded another one,
5) hit preview with the old attachment still in-line?
I'm trying to figure out the path that lead to this error.
Little bug.
Tracked.
That's odd. :-\
I'm not sure why this would happen.
Will check.
Thank you, Emanuele
No. I did nothing with inline. I just used the button to upload a picture from my pc and send my post. No preview, no deleting of an attachment.
In the copy of the default the button for uploading is not working, no reaction, if I try to use it. This theme includes a custom css file, so maybe this is the reason?
I made another copy of the default yesterday, in which I don't use a custom.css and in this theme the upload is possible, but with the same errors in the log as in the original default.
hmm... the attachments issue is weird.
I'll try a fresh install this evening, I do not exclude I broke something during the actual release, because I was sure I fixed this bug before releasing the patch.
For the theme, let me give a try first, I want to see how it works here.
BTW what version of PHP?
It is PHP-Version: 5.6.33, Emanuele
Darn I had to unisntall 5.6 a couple of days ago in order to install 7 because I was not able to let the two live together! xD
Well, let me see how it goes.
Okay, I could reproduce all the bugs except the attachments details.
Can you give me some more hints? What kind of settings do you have for the attachments? Thumbnails? Full size? What sizes?
These are the fixes:
https://github.com/elkarte/Elkarte/pull/3108/files
Thank you very much, Emanuele!
I never used something from github. O:-) Therefore I better ask....
For example, now I have to edit the sources/Load.php , in this part:
}
else
{
$cache_staler = '';
$params['basename'] = $filename;
}
$this_id = empty($id) ? strtr(basename($filename), '?', '_') : $id;
and instead of this line:
$cache_staler = '';
I have to add this?
$cache_staler = $staler_string;
We don't use thumbnails, our pictures are always to see in full size: 780 x 700 Pixel, 150 KB, 3 attachments per post, see screenshot.
Inline attachments was
not enabled yesterday, I made a first try with this today.
I made those changes in the files from github, Emanuele.
Now there are no more errors in the log by attaching pictures or by making a copy of the default theme.
But it was still not possible to upload pictures, if I use my custom.css, until now. :D
The only problem was this part in my custom.css:
.drop_area {
background-color: #fbecce;
border: dashed 1px #6993bb;
}
The font and the button are quite big (and ugly) there, so I always had a
font-size: 1.1em; in there.
But it seems, that it has to be
font-size: 1.643em; as in index.css now.
Because of this wrong font-size in my custom.css the upload-button did not work before.
Now everything is fine, the upload ist working without any error. ;)
Thank you for your help!
Interesting problem.
So you had:
.drop_area {
font-size: 1.1em
}
and this breaks the upload?
Good to know, something to look at.
Yes, Emanuele. I think, it was just this font-size, I changed nothing else.
there is a ; at the end Missing ;)
I had this code before, while it was not working:
.drop_area {
background-color: #fbecce;
border: dashed 1px #6993bb;
font-size: 1.1em;
}
But there was also a mistake about the font-size here:
/* Common button styling. */
.button_submit, .right_submit, .left_submit, .button_reset, .drop_area_fileselect_text,
because it changed to this with 1.1.1:
/* Common button styling. */
input[type="submit"], .drop_area_fileselect_text, button[type="submit"], input[type="button"],
Technically the last line of a CSS definition doesn't need he ";". O:-)
Technically .. yes .. but many browser have problems without a ; at the end ;)
Never heard of that one...