News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

SMF 2.0.19_

Started by waris, April 02, 2025, 06:33:20 AM

Previous topic - Next topic

waris

I tried to up grade to SMF 2.1.4 when suddenly I lost my forum Now I am only getting a 404 page.

Can somebody tell me why it happened.

Deaks

kinda need more info is the error when you upgrade or after you upgraded? what page do you get it on is it index.php?
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

Kindred

What version WERE you running?

How did you attempt to upgrade?

What is the URL?

What php version is your server running?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Doug Heffernan

Quote from: waris on April 02, 2025, 06:33:20 AMI tried to up grade to SMF 2.1.4 when suddenly I lost my forum Now I am only getting a 404 page.

Can somebody tell me why it happened.

Additionally, did you make a backup of the database before the upgrade? Manually or by checking the automated backup option of the upgrader? If you did then nothing is lost. That goes if you also have any database backups at all.

waris

I hear you Kindred but what I am trying to do is what the Wiki stated.
My forum is running 2.0.19 without any problem for many years. My hosting company told me that my Forum should be upgraded. So I tried to upgraded by downloading SMF 2.1.1, 2.1.2, 2.1.3 & 2.1.4
It was after installing SMF2.1.1 that I lost that I lost my family forum.
Is it the job of my Hosting company or can I get help here?

My forum is : Https//www.siapamoyanganda.com/family-forum/index.php
My hosting company is "VodaHost.com"

Aleksi "Lex" Kilpinen

Upgrading SMF

It could be helpful, if you could explain how far along the wiki instructions you were - at what point did things go wrong?

Usually, if you are following the instructions a 404 is not actually even an alternative you could see.
Unless, for some odd reason, you or your host ended up deleting files.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

waris

I just read from SMF2.1.4 that I cant upgrade directly from 2.0.19.
I lost the forum immediately after upgrading to SMF2.1.4 of SMF

Aleksi "Lex" Kilpinen

Yes you can upgrade directly from 2.0.19 to 2.1.4. But you can not do it through the package manager.
Again - How did you upgrade, and at what stage of the Upgrade process did you "lose the forum"?
Please, refer to the upgrade instructions Upgrading SMF
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Doug Heffernan

Quote from: waris on April 03, 2025, 07:14:24 AMI just read from SMF2.1.4 that I cant upgrade directly from 2.0.19.
I lost the forum immediately after upgrading to SMF2.1.4 of SMF

As mentioned above, a detailed description as to how you tried to upgrade your forum will help us a lot to help you.

Kindred

https://www.siapamoyanganda.com/family-forum/index.php has a forum present...   it's in maintenance mode... and it's failing to load all of the supporting js and css files because you use the www but the forum is set to NOT use www.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Sir Osis of Liver

I see it as 2.0.19 with no css, same in www and non-www.
When in Emor, do as the Snamors.
                              - D. Lister

Kindred

The css is present (i can get to the file directly) it's just not loading
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Sir Osis of Liver

When in Emor, do as the Snamors.
                              - D. Lister

waris

Thank you Kindred I will try with my hosting ac not to use www.
Do I need to use the HTTPS//

waris

Question to Kindred: How can I revert the family forum back to its original version 2.0.19?

Aleksi "Lex" Kilpinen

It seems to still be 2.0.19. You haven't really answered when I asked what exactly did you do, so I can't tell you what to do to reverse that, but that is what you should do. Reverse your changes, revert to a backup if that's an option.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

waris

Alexis I did not do anything else, I just uploaded SMF2.1.1 from my computer and install it in my forum. Now I cant even find  my family which is using SMF2.0.19!

Aleksi "Lex" Kilpinen

And what _exactly_ did you download?
How _exactly_ did you install it?

Please explain the process in detail, so we can see where it went wrong.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Sir Osis of Liver

Your forum is running here in 2.0.19 in maintenance mode.  You are having an http/https problem, nothing to do with upgrade.  Forum does not load correctly from https.  First thing you should do is ask your host if SSL certificate is installed and working.  Then run repair_settings and make all paths https.  If you continue to have problems add this to .htaccess in forum root -


# 301 REDIRECT HTTP TO HTTPS AND WWW TO NON-WWW
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
RewriteRule ^ https://%1%{REQUEST_URI} [L,NE,R=301]
</IfModule>


Do not attempt upgrade again until forum is running correctly in 2.0.19.
When in Emor, do as the Snamors.
                              - D. Lister

waris

Hey Guys, I found this:
Login error 2.0.14
This page is only relevant if you installed the 2.0.14 or 2.0.15 patch or upgrade, installed 2.0.14 or 2.0.15 directly, or installed a theme created prior to the release of 2.0.14 and started having problems with users logging into your forum. The error message which is shown will be a session timeout.

SMF 2.0.14+ now requires the a session check in the <form> for the login function. If your custom theme has a login form, such as in index.template.php, boardindex.template.php or login.template.php, you will need to modify the theme to allow the login function to work correctly. In order to modify the theme, add the following code along with the other "hidden" input types, or anywhere before the closing </form> tag in the login form.

<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />

This code is used to help increase security for SMF.


Add this to the end of your site url, and it should switch you back to the default theme. ?theme=1

Advertisement: