Need help solving a mistake & upgrading to 2.1.4

Started by awks, April 10, 2024, 01:09:33 PM

Previous topic - Next topic

awks

I tried to move a board and I now seem to have trashed 3 or 4 boards. All the data is there, I just need the order of the boards sorted with the correct posts in them please?

Sir Osis of Liver

SMF version?  What exactly did you do?  Does your host package include 30 day backups?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

awks

#2
SMF 2.0.19

I tried to move a board down in the list, then it seemed that some boards were empty. After a refresh all looks ok, then after a while I find a board or 2 that has all its post missing.
To be honest it seems to look different each time I go back in. I am a bit confused at the moment!

OK, it seems that if I log in as admin, everything looks fine and everything is where should be. If I log in as a standard user, the top 3 boards show as if they are empty. The 3 boards that look empty, are boards I did not try to move. Now after a refresh, all seems normal logged in as a standard user!
I do not understand why so much is messing about after just trying to move one board, lets leave this for 12 hours or so to see if things work out. If all seems fine tomorrow, I will delete this post.

I cannot see any 30 day back up, it is hosted with JustHosts.

Kindred

Сл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."


Kindred

Well, what you describe is not reproducible on an unmodified installation of smf 2.0.19

Сл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."

Illori

i seem to recall this being an issue in the past, i am not sure what the fix was but i found this https://www.simplemachines.org/community/index.php?topic=573325.0 and it has a fix in it.

Sir Osis of Liver

Back up your forum files and database before trying that fix.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

awks

This morning the forum is exactly as it was before I tried to move a board.
I have no idea what went on.
I would still like to know how to move the order of some boards, but to be honest I am frightened to touch anything at the moment!  :-[

awks

Going a bit off topic but, although my version states 2.0.19, when drilling down I can see out of date files as below:

SMF File    Your Version    Current Version
SMF Package    SMF 2.0.19    SMF 2.1.4
Sources                   2.0.12           2.1.4
Default Templates     2.0.19           2.1.4
Language Files          2.0.18           2.1.4

I didn't get any notifications for an update as in the past. So I believe I need to download and install the large upgrade to get it updated to 2.1.4

Is that correct please?

This is what I see in my forum admin section
Version Information:
Forum version: SMF 2.0.19
Current        SMF version: SMF 2.0.19

which is what made me think it was up to date!


Steve

Quote from: awks on April 11, 2024, 08:09:37 AMIs that correct please?
Yes. Keep in mind it will remove any mods you may have, custom or not.
DO NOT pm me for support!

Sir Osis of Liver

I'd be hesitant to run 2.1 upgrade on this 2.0.19 forum as is.  If the current install is displaying boards and topics correctly, I would upload clean 2.0.19 files and see if that corrects the version errors and all runs correctly, then do the 2.1 upgrade.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

awks

So do the 2.0.19 large upgrade as opposed to the Full Install first, if that goes ok, then do the 2.1.4 large upgrade?

Doug Heffernan

Quote from: awks on April 12, 2024, 04:00:15 AMSo do the 2.0.19 large upgrade as opposed to the Full Install first, if that goes ok, then do the 2.1.4 large upgrade?

You don't need to do it twice imo. You can do a direct upgrade to 2.1.4.

awks

#14
When uploading 2.1.4 OR 2.0.19 via package manager I get this error:
An Error Has Occurred!
vsprintf(): Argument #2 ($values) must be of type array, string given

Doug Heffernan

Quote from: awks on April 12, 2024, 06:07:40 AMWhen uploading 2.1.4 OR 2.0.19 I get this error:
An Error Has Occurred!
vsprintf(): Argument #2 ($values) must be of type array, string given

What is your php version?

Kindred

You cannot do a large upgrade in the package manager...

Upgrading SMF
Сл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."

awks

ok, create all folders and upload files to them on server is what I am now doing like this:
1) Download the package to your local PC and extract it into files.
2) Using an FTP client create a new directory in your "Packages" folder, in this example you may call it "shout".
3) Upload all the files from the extracted package to this directory.
4) Go back to the package manager browse page and the package will be automatically found by SMF.

Doug Heffernan

Quote from: awks on April 12, 2024, 07:46:08 AMok, create all folders and upload files to them on server is what I am now doing like this:
1) Download the package to your local PC and extract it into files.
2) Using an FTP client create a new directory in your "Packages" folder, in this example you may call it "shout".
3) Upload all the files from the extracted package to this directory.
4) Go back to the package manager browse page and the package will be automatically found by SMF.

What is it that you are trying to do, an upgrade? If so those are not the right steps. Check out the link posted above on how to do a manual upgrade.

Kindred

No...  that is how to do a package manager patch...  you are supposed to be dying a large upgrade.
You can not use the package manager at all.
Сл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."

awks

So I do upload them all to the server, but then:
Run the upgrading tool.
Navigate with your browser to the upgrade.php file (it can be found in the directory where SMF is located) and run the upgrade, for example: www.yourdomain.com/forum/upgrade.php.

Kindred

Сл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: awks on April 12, 2024, 08:56:28 AMSo I do upload them all to the server,

Not just in the server, but inside whatever folder/location you have used to install your smf forum and don't forget to select the overwrite option as well.

Good luck with the upgrade and let us know how it will go.

awks

Hmm  :'(

I uploaded all the files (or so I thought) and then got this:

Settings.php was not found where it was expected: /xxxxx/xxxxxxx/public_html/ddaps.org/ddapschat/Packages/shout/Settings.php! Make sure you have uploaded ALL files from the upgrade package to your forum's root directory. The upgrader cannot continue.

I can see Settings.english.php on the server but not Settings.php so I really have no idea what or where I have screwed up!

If I search the upgrade file I downloaded for Settings.php, it only shows and finds "Setting.template" and "Setting.english"

I uploaded the files to the "Packages" folder on the server in a sub folder called "shout" Was that my mistake?

I was writing this as Doug Heffernan replied.

awks

After reading Doug,s post, I think I can see my mistake (I think) I put all the files in a sub folder, I didn't realise it needed to go in the original folder overwriting files (I can see the settings.php in the original installation) I was concerned if I started overwriting files that the forum would stop working while I was doing this.

So I guess I need to delete what I have done and upload the files to the original location using overwrite, is this correct and will the forum still function while I do that please?

Doug Heffernan

Quote from: awks on April 12, 2024, 11:12:25 AMSo I guess I need to delete what I have done and upload the files to the original location using overwrite, is this correct?

Yes, that's correct. You can remove the files that were uploaded in the worng location and then upload the files from the large 2.1.4. upgrade package to the location where your forum files are at and overwrite them.


Quote from: awks on April 12, 2024, 11:12:25 AMwill the forum still function while I do that please?

No, the forum will not function after the files have been overwritten. It will function after the upgrade has been finished. A couple of things to keep in mind, make sure that your php version is supported by Smf 2.1.x and make a backup of the database beforehand too.

Did you read the link posted above by Kindred? There you can read in details on how to perform a manual upgrade.

awks

#26
Yes I have and thank you.

The php version is fine, I have backed up all files and the database. I have put the Forum into maintenance mode, and will now bite the bullet and start.

Doug Heffernan

Quote from: awks on April 12, 2024, 12:26:06 PMYes I have and thank you.

No problem.

Since this topic is becoming about support I am moving this to the appropriate board.

If you want to either hire someone for the upgrade or find someone to do it for free let us know and I will move the topic back to the Help wanted not for support board.

awks

#28
I have been on this for 12 hours today and am losing the will to live. I have everything it seems uploaded, yet I cannot access the upgrade.php file. JustHosts just disconnected me after 2 1/2 hours of so called support where they ended saying "Please know that when I fetched this link https://www.*****/******/upgrade.php it is again showing a http 500 error.

They faffed about for 2 1/2 hours and disconnected me. I am reconnected to chat now, but I need some sleep! :(

Unbelievable, more faffing about for 30 mins, says it maybe a developer issue and needs to check, then disconnects me. You couldn't make it up with these clowns......

Kindred

A 500 error is a server side error and the host should be able to tell you what the trigger/explanation was...

I'd start thinking about a new host...

Сл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

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters


awks

#32
Quote from: Kindred on April 12, 2024, 07:39:00 PMA 500 error is a server side error and the host should be able to tell you what the trigger/explanation was...

I'd start thinking about a new host...


Yep I get that, The thing is, yesterday they allowed access fine by changing some permissions (allegedly) but then that is when I discovered that the files were in the wrong directory, as I got the message that the settings.php file could not be found. 6 hours on, and the late shift of support was shocking!

Not sure what to do at the moment!

awks

I put the forum in maintenance mode before I started this, yet I get just a white page with no message about maintenance, I have just looked at the settings.php file and it was set to 0, I manually changed it to 1 yet I still do not get the maintenance message when trying to access the forum!

I am going to attempt another support chat session but it is starting to feel a bit like the "definition of insanity"  ::)

Kindred

A full white screen indicates a server side failure of php...
(Yes, could be a 500 error,  you need to check the server logs)
Сл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."

awks

#35
Didn't see the errors yesterday but now I can. It appears to be moaning about no matching directory index. It then goes on to mention it found lots of files but mentions at the end, server-generated directory index forbidden by Options directive.

I can also see "access compat:error - client denied by server configuration:/home3/xxxx/public_html/ddaps.org/wpcontent/updraft/aboutphp

I have no real idea what this all means, is there a way I can send a screenshot of the errors so that someone more knowledgeable would perhaps understand?

Kindred

You should have access to the server error log in cpanel,  yes... not sure where your host would put it, though.
Сл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."

awks

I did find them and was editing my post when you replied I think, you can see above your post what I found.

awks

UPDATE:

I am hopelessly at a loss as how to solve this. This below is a summary of the things they have now told me today:
Thank you for being on hold. I could see that the theme baskerville is causing the error. you need to fix the theme to make upgrade by contacting theme support or change the theme.

The website https://www.ddaps.org/ddapschat/ is the php scripted website, we support only wordpress website from our end. Since the website is the scripted website you need to fix this from developer.

I have checked the previous chats. I have changed php version and checked there is no issue with the php version the issue is from the script you need to check with the script.

They say the php scripts I have uploaded is the problem.  Please try to understand we support only WordPress website as it is not WordPress website we don't have support to it. We only fix wordpress websites since the website is php scripted you need to setup and fix from your end.

Well actually it's not something we do provide support as it is related to the configuration of a script, Design, Theme or Plugins.
We are server admins, We are used to managing the server
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I am going to need someone to jump in and help with this, if it is paid help, that should be fine, as I am just going round in circles here!

The theme baskerville is what the DDAPS website uses and the site is working fine. All I wanted to do was update the forum.

Any suggestions please?

awks

Quote from: Doug Heffernan on April 12, 2024, 12:27:34 PM
Quote from: awks on April 12, 2024, 12:26:06 PMYes I have and thank you.


If you want to either hire someone for the upgrade or find someone to do it for free let us know and I will move the topic back to the Help wanted not for support board.

I am going to need this moved as I need paid help with this as I have got nowhere please?


Aleksi "Lex" Kilpinen

I would suggest you write a new topic, and try to explain as much as you can about what needs to be done.
This topic as is is already 2 pages and maybe a bit hard to follow.
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

awks

Quote from: Aleksi "Lex" Kilpinen on April 13, 2024, 08:39:08 AMI would suggest you write a new topic, and try to explain as much as you can about what needs to be done.
This topic as is is already 2 pages and maybe a bit hard to follow.
I have now done that, thank you.

Doug Heffernan

I am marking this as solved as it has been taken care of.

awks



Advertisement: