View Full Version : 1.7 > 1.7.1 completely messed up
hudsong
01-23-2008, 01:24 AM
Fatal error: Call to undefined function: upgradeto171()
That's all I get when I click the upgrade button. Of course transmit is a bitch and replaced my images folder with an empty one (thus, no images) but that's my fault for not backing up.
Fatal error: Call to undefined function: upgradeto171() in /home/content/h/u/d/hudsong/html/blog/admin/install/install_schema.php on line 71
I have no idea what is wrong. The PHP file line 71 looks fine to me.....
hudsong
01-23-2008, 01:57 AM
I noticed that someone else had a similar error occur and never really found a way to fix it. I'm going to bite the bullet, delete my databases entirely and reinstall. There goes three months of posting down the drain. Oh well....
kevincrafts
01-23-2008, 02:03 AM
Did you upload all the proper files? That's too bad that you deleted all of your photos but maybe you should backup your DB before you try to reinstall from scratch.
EcoSee
01-23-2008, 03:04 AM
I have noticed that a lot of people are having trouble with upgrading. I had to upgrade several accounts and found that sometimes the upgrade was perfect and sometimes it was a mess. I finally realized what I was doing differently. It works perfectly when I do not upload the new "images" and "thumbnails" folders from the pixelpost 1.7.1 zip file. The problem being that we had to CHMOD these two files to 777 when we installed whatever previous version we were running. The two new folders reset the file permissions and that will mess up the upgrade. If you delete these two folders (I also delete the templates folder so it won't overwrite my modified templates) and then upload just the core files, you should have an easy upgrade. The one click upgrade has been perfect every time when I remember to delete the two folders first. Just my humble observation. Maybe the pixelpost team could have two separate zip files for their users and just leave these three folders out of the "Upgrade" version and I bet a lot less people would have problems???
Dennis
01-23-2008, 05:41 AM
Call to undefined function: upgradeto171() indicates you didn't upload all the files. Nevertheless, there is no need to delete your database.
You can fix it manually by using PHPMyAdmin to enter a new version (1.71) in the versions table (as a new row). In this case this will work since we haven't changed the database design.
Dkozikowski
01-23-2008, 06:05 AM
As dennis said, you failed to upload all the files.
Fatal error: Call to undefined function: upgradeto171()
The upgradeto171() function is located within your includes/create_tables.php file.
austriaka
01-23-2008, 11:02 AM
thank you for mentioning the problem of folder overwrite/ folder permissions.
I added the warning to the upgrade guide not to upload the images + thumbs + ev. templates folder:
http://www.pixelpost.org/docs/GettingStarted/Upgrade
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.