Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: wandawill on July 30, 2019, 11:23:28 AM

Title: upgrade problem
Post by: wandawill on July 30, 2019, 11:23:28 AM
everything was going fine until I got this error. I don't know what it means or where to look. thanks for any help.
Title: Re: upgrade problem
Post by: Kindred on July 30, 2019, 11:32:05 AM
upgrading from what version, to what version?

mySQL version?
php version?
Title: Re: upgrade problem
Post by: wandawill on July 30, 2019, 11:44:54 AM
1.15 to 2.0.15
5.6.44 - MySQL

Current PHP version:  native (5.6)
Title: Re: upgrade problem
Post by: Kindred on July 30, 2019, 11:48:15 AM
Although the system SHOULD be able to handle it (I assume that you mean 1.1.15?)
Try upgrading 1.1.15 to 1.1.21 first, then go to 2.0.13 and then to 2.0.15

I don't know why... but sometimes that seems to work better than an all-in one upgrade -- and I apologize that the upgrader doesn't do it correctly. There seem to be some rare hosts that have issues - we just haven't had a sufficient number to be able to debug the actual issue.
Title: Re: upgrade problem
Post by: wandawill on July 30, 2019, 12:20:44 PM
thanks, but that was even worse. looks like it's time to shut it down. my old forum was 1.1.21, my head was in the clouds.
Title: Re: upgrade problem
Post by: wandawill on July 30, 2019, 02:08:27 PM
I contacted my host and they did something and the install upgrade seemed to work but the only page that comes up is the maintenance mode page. file missing?
Title: Re: upgrade problem
Post by: Arantor on July 30, 2019, 02:30:15 PM
Probably means the upgrade didn't entirely finish - check your Settings.php for the $maintenance variable, it should be set to 2 currently, change it to 0 and see what happens.
Title: Re: upgrade problem
Post by: Bigguy on July 30, 2019, 02:31:27 PM
Aah, Arantor got it before me.  ;)
Title: Re: upgrade problem
Post by: wandawill on July 30, 2019, 02:36:30 PM
Quote from: Bigguy on July 30, 2019, 02:31:27 PM
Aah, Arantor got it before me.  ;)
you're the man! thanks a lot.
Title: Re: upgrade problem
Post by: wandawill on July 30, 2019, 02:49:18 PM
the forum is back and all the boards, but read messages is all I can do. no buttons for anything.
Title: Re: upgrade problem
Post by: Bigguy on July 30, 2019, 02:50:28 PM
Quote from: wandawill on July 30, 2019, 02:36:30 PM
Quote from: Bigguy on July 30, 2019, 02:31:27 PM
Aah, Arantor got it before me.  ;)
you're the man! thanks a lot.

No, Arantor is the man. He provided you with the answer.
Title: Re: upgrade problem
Post by: Illori on July 30, 2019, 02:51:33 PM
Quote from: wandawill on July 30, 2019, 02:49:18 PM
the forum is back and all the boards, but read messages is all I can do. no buttons for anything.

try adding index.php?theme=1 to your URL it should set you back to the default theme, then go in the admin panel and reset everyone to the default theme

then delete all other themes as they will not work with 2.0.*.
Title: Re: upgrade problem
Post by: wandawill on July 30, 2019, 03:08:34 PM
still don't have any buttons no even admin.
Title: Re: upgrade problem
Post by: Arantor on July 30, 2019, 03:12:56 PM
Link to site?
Title: Re: upgrade problem
Post by: wandawill on July 30, 2019, 05:45:01 PM
it's an adult forum so I backed out the address but this is the error I get.
Fatal error: Call to undefined function tportal_version() in /home/mysite/public_html/forums/Themes/default/index.template.php on line 600
Title: Re: upgrade problem
Post by: Sir Osis of Liver on July 30, 2019, 05:55:05 PM
That's a mod error (TinyPortal).  If you upgraded from 1.1.21 to 2.0.15, you should have been running a clean install.  Did you try reinstalling TP using current version?
Title: Re: upgrade problem
Post by: wandawill on July 30, 2019, 06:12:30 PM
no, I would like to get rid of it.
Title: Re: upgrade problem
Post by: Sir Osis of Liver on July 30, 2019, 06:20:13 PM
If you upgraded with the 2.0 upgrade package, TP shouldn't be there unless you reinstalled it or copied files from your 1.1.21 install (a really bad idea).  1.1 mods and themes won't work in 2.0.  You can try running fix_packages.php (http://wiki.simplemachines.org/smf/Manually_setting_a_package_installed_or_uninstalled), but don't think that will help.  Difficult to know what you're dealing with without seeing it.

Title: Re: upgrade problem
Post by: wandawill on July 30, 2019, 06:39:24 PM
for some reason the new package folder won't overwrite the old one. there's a ton of mods in there. should I delete the old and upload the new folder?
Title: Re: upgrade problem
Post by: Sir Osis of Liver on July 30, 2019, 06:51:23 PM
Download a complete backup before you do anything else, files and database.  Did upgrade.php run successfully?  If the database has been upgraded to 2.0, you can connect it to a clean set of files, you just need Settings.php and Settings_bak.php from existing install (assuming it's running).  Would guess you have a lot of attachments, make sure you d/l /attachments using binary transfer.

Title: Re: upgrade problem
Post by: wandawill on July 31, 2019, 07:27:29 AM
I think I need a better ftp client. I can't download a back up and I think that's why things are not replacing the old files. I'll try what you said as soon as I find one. at this point it doesn't much matter if I have a backup or not. the old forum was about to crash anyway, but it did backup the database.
Title: Re: upgrade problem
Post by: wandawill on July 31, 2019, 08:15:59 AM
thanks a lot. I downloaded cute ftp and re uploaded the files and all is well.