Uutiset:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu
Advertisement:

Upgrade to PHP7 complete but can't post - error

Aloittaja waste2, tammikuu 25, 2020, 10:11:18 AP

« edellinen - seuraava »

waste2

I've tried to move forum to a different server. Old server with PHP 5.2 running SMF 2.0.12 to new setup with PHP 7.3. I have upgraded SMF to 2.0.17 as this should support PHP 7 and new MySQL API. Surprisingly though, when I try to post something after move - I have error message:

Call to undefined function mysql_free_result()

Everything else looks fine, but can't post new messages.

I have temporarily commented out offending line (Sources/Post.php:1558) and it works fine. Not sure what are the effects of this.

vbgamer45

That line shouldn't be there. Came from a modification to SMF.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

waste2

Oh... How does it work then that version check didn't report anything unusual? Is it smart enough to take modifications into account?

vbgamer45

It does not take modifications in account.
That modification needed to be updated shouldn't be using the mysql_ functions
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro


Advertisement: