Previous Thread
Next Thread
Print Thread
Hop To
Overwritten Configuration after 7.7.0 Upgrade #262108 01/25/2019 3:14 PM
Joined: Nov 2006
Posts: 177
Jake Offline OP
Member
OP Offline
Member
Joined: Nov 2006
Posts: 177
Just upgraded from 7.6.2 to 7.7.0. Followed standard process given at https://www.ubbcentral.com/doc_upgrade7.php

All went well as has always done in the past. Deleted install directory.

Then returned to main forum url and saw this:

Warning: include(/libs/ver.inc.php): failed to open stream: No such file or directory in /home/byzcatho/public_html/forums/libs/ubbthreads.inc.php on line 9

Warning: include(): Failed opening '/libs/ver.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/byzcatho/public_html/forums/libs/ubbthreads.inc.php on line 9
Problem occured in connection

I tried re-uploading ver.inc.php in case it was corrupted, but that didn't fix it.

Not sure what happened. Just opened a support ticket.

Re: Overwritten Configuration after 7.7.0 Upgrade [Re: isaac] #262109 01/25/2019 3:20 PM
Joined: Apr 2004
Posts: 1,530
isaac Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,530
Jake, it looks like you are missing (or overwrote) your /includes/config.inc.php file with the stock one.

The error message means that its looking for a file specified at a configured directory listed within that /includes/config.inc.php file.

If you happened to accidentally overwrite your forum's config.inc.php file, you can either; A) rename and use the config-bak.inc.php file that UBB.threads.7.6.2 created within that same /includes directory. or B) restore an earlier version of your config.inc.php from the backup you did just before performing your upgrade.


Current developer of UBB.threads PHP Forum Software // 7.7.3 released!
isaac @ id242.com // my forum @ CelicaHobby.com
Re: Overwritten Configuration after 7.7.0 Upgrade [Re: isaac] #262110 01/25/2019 3:37 PM
Joined: Nov 2006
Posts: 177
Jake Offline OP
Member
OP Offline
Member
Joined: Nov 2006
Posts: 177
Well, I didn't back up the files from 7.6.2 (stupid me). There was no config-bak.inc.php file in the /includes directory.

I still had the back up from the previous version and uploaded config.inc.php.

The forum is working.

I also uploaded the other files from the backup (header, footer, intros to each forum, etc.). Looks like it is all back to normal.

See: http://www.byzcath.org/forums/ubbthreads.php/forum_summary

We have been using the UBB Forum software on our site since 1998. 20+ years!

Thanks.

Last edited by Jake; 01/25/2019 4:16 PM.
Re: Overwritten Configuration after 7.7.0 Upgrade [Re: isaac] #262111 01/25/2019 4:35 PM
Joined: Jun 2006
Posts: 15,844
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,844
Well, the upgrade steps have you exclude several files and folders for an upgrade which contain your unique configuration; the includes folder for example has all of your board rules, config, coppa, header, footer, forum introductions, sharaholic information, privacy policy, etc. If you overwrote them you'll want to restore the folders you should generally exclude from an upgrade.

A new install comes with several files which will overwrite the includes folder if the upgrade instructions aren't followed; these files in the 7.7.0 release are:
cache_builders/custom/*
includes/boardrules.php
includes/closedforums.php
includes/community_intro.php
includes/config.inc.php
includes/coppainsert.php
includes/footer.php
includes/header.php
includes/header-insert.php
includes/privacy.php
styles/wrappers.php


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.
Need to Upgrade?
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!
Re: Overwritten Configuration after 7.7.0 Upgrade [Re: isaac] #262112 01/25/2019 5:21 PM
Joined: Nov 2006
Posts: 177
Jake Offline OP
Member
OP Offline
Member
Joined: Nov 2006
Posts: 177
At this point, I don't know what happened. I know the instructions don't list the includes directory. But those files were not there after the upgrade. Probably something I did inadvertently, but I have no idea what.

Am I ok with using these files from backup in the /includes directory? They are from my backup before I installed 7.6.2.

boardrules.php
closedforums.php
community_intro.php
config-bak.inc.php
config.inc.php
config.inc.php-old
coppainsert.php
footer.php
header-insert.php
header.php
index.html
intro_1.php
intro_10.php
intro_11.php
intro_12.php
intro_13.php
intro_14.php
intro_15.php
intro_16.php
intro_17.php
intro_18.php
intro_19.php
intro_2.php
intro_22.php
intro_23.php
intro_25.php
intro_26.php
intro_27.php
intro_28.php
intro_29.php
intro_3.php
intro_30.php
intro_31.php
intro_4.php
intro_5.php
intro_6.php
intro_7.php
intro_8.php
intro_9.php
privacy.php

Thanks!

Re: Overwritten Configuration after 7.7.0 Upgrade [Re: isaac] #262113 01/25/2019 5:29 PM
Joined: Jun 2006
Posts: 15,844
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,844
The data in the files isn't updated with each version, so they should be fine; you'll notice that any changes you made between when the config was last updated will not appear in the backed up files.


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.
Need to Upgrade?
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!
Re: Overwritten Configuration after 7.7.0 Upgrade [Re: Jake] #262114 01/25/2019 7:09 PM
Joined: Nov 2006
Posts: 177
Jake Offline OP
Member
OP Offline
Member
Joined: Nov 2006
Posts: 177
Great! Many thanks!


Forum Search
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Unable to save General settings
by amciotola - 10/13/2019 4:23 AM
I see signature line images, but no avatars
by Morgan - 10/12/2019 2:21 PM
Show PDF
by Geoff - 10/09/2019 1:33 AM
Subscription’s Auto Return URL for PayPal
by Geoff - 09/27/2019 12:10 AM
pm's sent directly from view Private messages,
by Ruben - 09/23/2019 3:35 PM
Who's Online Now
0 registered members (), 22 guests, and 143 spiders.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Snapshot build 20190930)