Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2006
Posts: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
Hi I am upgrading right now from 7.6.2 >>> 7.7.1

The forum is closed

I clicked on the upgrade link and passed one page now at File check and one file is out of date

The following files are reporting a wrong version number
(Make sure you updated these files)
libs/mysql.inc.php

see image, There is no such file in the 7.7.1 zip file. However there is a file named mysqli.inc.php which is almost same..

Please advise help help help

PS I did notice that in the Libs directory some files are set to 666, 755 and 777. should all be 666 within the Libs directory?

See http://www.britbike.com/ubbt_test.php there is a missmatch in the versions
Attachments
Skärmavbild 2019-03-02 kl. 13.27.14.jpg

Last edited by Morgan; 03/02/2019 10:03 AM.

Morgan Johansson
BritBike Forum
https://www.britbike.com/forums/ubbthreads.php
Joined: Jul 2006
Posts: 116
Likes: 4
P
Member
Member
P Offline
Joined: Jul 2006
Posts: 116
Likes: 4
mysql.inc.php was the old (7.6 and below) MySQL driver, while mysqli.inc.php is the new PHP 7.x compatible MySQL driver. Look like mysql.inc.php was removed from the latest ZIP without updating the UPGRADE_CHANGES.txt file.

The following fix should work:
Open install/UPGRADE_CHANGES.txt in an editor and add after line 17:
Code
VERSION-7.7.1:CHANGED: templates/default/newpost.tpl

the following:
Code
VERSION-7.7.1:REMOVED: libs/mysql.inc.php

Joined: Jun 2006
Posts: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
Well I went back to see in 7.7.1 zip the mysqli.inc.php is missing there.. so I went and downloaded 7.7.0 and there is was so I uploaded from 7.7.0 and
I passed by all steps and it said
Congratulations. You have successfully updated to UBB.threads 7.7.1.
Please remove the entire install directory. ... which I did
and it seems to work now I have open forum and posted a new thread


Morgan Johansson
BritBike Forum
https://www.britbike.com/forums/ubbthreads.php
Joined: Jun 2006
Posts: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
Phillip I only saw your reply after I did above
I am using MYSQL 5.6 43

Thanks for your help anyway

Last edited by Morgan; 03/02/2019 9:57 AM.

Morgan Johansson
BritBike Forum
https://www.britbike.com/forums/ubbthreads.php
Joined: Jun 2006
Posts: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
Have now used 7.7.1 for a day and it works fine with Mysql 5.6.
I would like to address above issue as a bug. Could the thread be moved there?

Cheers


Morgan Johansson
BritBike Forum
https://www.britbike.com/forums/ubbthreads.php
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Jun 2006
Posts: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
@Isaac

I uploaded the files in 16-ubbthreads-7-7-1p1
2019-03-02 Update:
A patch to fix "email notifications on PHP 7.1+" issues has been posted to the member area.
A release refresh to fix install issues has been posted to the member area.

So I reckon I'm upto date now and can await 7.7.2 before I upgrade my MySQL version to 5.7 or higher


Morgan Johansson
BritBike Forum
https://www.britbike.com/forums/ubbthreads.php
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
thumbsup


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Mar 2015
Posts: 96
Likes: 1
Journeyman
Journeyman
Joined: Mar 2015
Posts: 96
Likes: 1
Hi,

I uploaded a backup copy of mysql.inc.php to the libs directory and clicked check files again only for it to say it needs to be deleted... After that it says it needs to be uploaded, in a continuous loop.

Could this be because I uploaded the files and directories outlined in upgrade guidelines accidentally using "if source newer" and running the upgrade? Once that happened it said a lot of files had the wrong version. So I closed my Filezilla and re-uploaded all the files and directories again, only this time overwriting.
Attachments
bug.png bug2.png


[Linked Image from imagizer.imageshack.com]
[Linked Image from aliendisc.net]
[Linked Image from aliendisc.net]
Joined: Jul 2006
Posts: 116
Likes: 4
P
Member
Member
P Offline
Joined: Jul 2006
Posts: 116
Likes: 4
mysql.inc.php has been replaced with mysqli.inc.php in UBB.threads 7.7. It seems the problem is that /install/UPGRADE_CHANGES.txt has still references to mysql.inc.php in it.

You find in attachment an updated UPGRADE_CHANGES.txt where all NEW/CHANGED references to mysql.inc.php has been removed. This should fix the problem.

Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
it sounds like you are trying to upgrade with the old upgrader. this issue has been patched and commented on within the changelog discussion thread at
https://www.ubbcentral.com/forums/u...threads-7-7-1-released-updates-and-fixes

Quote
2019-03-02 Update:
A release refresh to fix install issues has been posted to the member area.


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Mar 2015
Posts: 96
Likes: 1
Journeyman
Journeyman
Joined: Mar 2015
Posts: 96
Likes: 1
Quote
If you're having problems with the ubbthreads-7-7-1.zip package you've downloaded prior to 2019-03-02, download this main .zip file again. This release refresh also includes within it the patch mentioned above.

I had done a new download of the refresh and applied the patch anyways overwriting the files outlined... I'm attempting a retry on everything.

Last edited by M4TT; 03/13/2019 4:36 AM.

[Linked Image from imagizer.imageshack.com]
[Linked Image from aliendisc.net]
[Linked Image from aliendisc.net]
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
M4TT, the 7.7.1 patch is for when you already have UBB.threads 7.7.1 installed. It patches 7.7.1.

Your first post (and screenshots) said that you were having problems using the upgrader to install 7.7.1. And that you were not yet on 7.7.1.
You need to use the upgrade package to perform the upgrade.

Quote
2019-03-02 UPDATE:
[...]
• ubbthreads-7-7-1.zip has been updated within the Member Area
This is a release refresh and is intended to fix any previously reported install issues. If you're having problems with the ubbthreads-7-7-1.zip package you've downloaded prior to 2019-03-02, download this main .zip file again. This release refresh also includes within it the patch mentioned above.

Source
https://www.ubbcentral.com/forums/ubbthreads.php/topics/262141/7-7-1-changelog-discussion


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Mar 2015
Posts: 96
Likes: 1
Journeyman
Journeyman
Joined: Mar 2015
Posts: 96
Likes: 1
I downloaded the ubbthreads-7-7-1.zip file from the Member Area last night, it shows 29/01/2019 9:07 AM. I followed the 7 Upgrade Guide twice and the resulting error occurred each time. I've restored my directory prior to the procedures and will attempt another round. Is it possible to do a clean install and somehow patch in the database? I'm able to do clean installations with no error. It's the upgrade that's causing a loop.


[Linked Image from imagizer.imageshack.com]
[Linked Image from aliendisc.net]
[Linked Image from aliendisc.net]
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
The missing mysql.inc.php issue in the upgrader should have been cleared up with the last refresh; could you open the upgrade_changes file and note which instances of mysql.inc.php display? Mine only shows the remove line which is correct (as we've removed it since we've move to mysqli).


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Mar 2015
Posts: 96
Likes: 1
Journeyman
Journeyman
Joined: Mar 2015
Posts: 96
Likes: 1
Originally Posted by Gizmo
[...]could you open the upgrade_changes file and note which instances of mysql.inc.php display?

From upgrade_changes (date modified 02/03/2019 2:46 pm):

VERSION-7.7.1:REMOVED: libs/mysql.inc.php


[Linked Image from imagizer.imageshack.com]
[Linked Image from aliendisc.net]
[Linked Image from aliendisc.net]
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
And it won't progress past the missing mysql step in the upgrader still? The issue affecting prior installs was previous mentions of the file existing in the upgrader; I guess you could remove that step and then progress through the installer.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
This may be redundant/remedial,
But when you upload the files to the site.
It does not delete existing files.

Maybe you need to clean up the folders on the site first before uploading.
Bear in mind that to follow the upgrade directions not the install directions.
So you don't wipe needed scripts for a existing site.

I can't fathom why this is so difficult. The last few versions have become almost plug and play compared to prior ones.

From your post , I assume you know the difference from running the upgrade script versus the install script?

Last edited by Ruben; 03/14/2019 6:17 PM.

Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Mar 2015
Posts: 96
Likes: 1
Journeyman
Journeyman
Joined: Mar 2015
Posts: 96
Likes: 1
I will say it again, I have followed the "upgrade guide", not the install guide. How does one remove the step that causes this loop?


[Linked Image from imagizer.imageshack.com]
[Linked Image from aliendisc.net]
[Linked Image from aliendisc.net]
Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
Just to make sure the upgrade guide you used is correct for the current version.
Which one did you use?


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Mar 2015
Posts: 96
Likes: 1
Journeyman
Journeyman
Joined: Mar 2015
Posts: 96
Likes: 1


[Linked Image from imagizer.imageshack.com]
[Linked Image from aliendisc.net]
[Linked Image from aliendisc.net]
Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
That should be correct.
Just a note.
It appears that your site is at ubb 7.6.1.1 not 7.6.2.
Also you have implemented some custom modifications.
Which I have no idea where you did them but If it is in the stock code that was not replaced in the upgrade could be an issue.

Without reading all the changelog notes on db changes on the different versions.
You stated a fresh new install works?
Why not try a fresh test install again. And then edit the includes/config.inc.php to point to the original database of the one you are attempting to upgrade.
The main info is like the first few lines.

Then if it works add in your modifications till it breaks again.







Last edited by Ruben; 03/14/2019 7:23 PM. Reason: Added Comment

Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Mar 2015
Posts: 96
Likes: 1
Journeyman
Journeyman
Joined: Mar 2015
Posts: 96
Likes: 1
Giving it a shot! This way I'll overhaul everything and remove what I no longer need in the directories...I'm continuously learning the internals of UBB and coding as a result of the site's work... Thanks Ruben and everyone for your quick response, it is much appreciated...


[Linked Image from imagizer.imageshack.com]
[Linked Image from aliendisc.net]
[Linked Image from aliendisc.net]
Joined: Mar 2015
Posts: 96
Likes: 1
Journeyman
Journeyman
Joined: Mar 2015
Posts: 96
Likes: 1
It was a successful "install" after manually adding modifications, images, etc. Lots of link brokenness and stuff that needs to be fixed as a result, but otherwise it all worked out as far as I can tell at this time. Nothing wrong with the fresh installation to report. I'm rewarding my users with a special lab rat badge if they find any problems lol.


[Linked Image from imagizer.imageshack.com]
[Linked Image from aliendisc.net]
[Linked Image from aliendisc.net]
Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
If you are going to keep that install.
I stringly suggest to read the upgrade instructions file in the ubb forum zip you downloaded.
There are a couple of tweaks to the database you may not have.
The instruction tells you how to manually fix it.
Plus other info you may need to correct.

Don't forget to make a backup before you touch it.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Mar 2015
Posts: 96
Likes: 1
Journeyman
Journeyman
Joined: Mar 2015
Posts: 96
Likes: 1
Okay, because every time I do a forum search, it highlights the keyword searched on every post and the highlights literally save everywhere.

For example, I search "Patch Notes" and any posts that have that phrase is highlighted permanently, even when I leave the search query.


[Linked Image from imagizer.imageshack.com]
[Linked Image from aliendisc.net]
[Linked Image from aliendisc.net]

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
1 members (Havenofsobriety), 522 guests, and 99 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)