Fatal error after upgrading to 3.16

Get help with installation and running phpBB 3.1.x here. Please do not post bug reports, feature requests, or extension related questions here.
Ideas Centre
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: phpBB 3.1.x is at its End of Life stage and support will NOT be provided after July 1st, 2018.
Locked
User avatar
newsmedia
Registered User
Posts: 73
Joined: Sat Sep 15, 2012 12:29 pm
Location: Ireland
Name: Keith

Fatal error after upgrading to 3.16

Post by newsmedia » Mon Sep 28, 2015 2:33 am

Hi

Having upgraded from 3.1.5 to 3.1.6 using the upgrade package, I now have the following system error message for the board:

[27-Sep-2015 07:33:44 UTC] PHP Fatal error: Call to a member function dispatch() on a non-object in /home/**********/public_html/mewsforum/includes/ucp/ucp_register.php on line 187

How do I resolve this?

Cheers

User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: Fatal error after upgrading to 3.16

Post by Oyabun1 » Mon Sep 28, 2015 3:03 am

newsmedia wrote:Having upgraded from 3.1.5 to 3.1.6 using the upgrade package
Which package? There are at least 3 different packages.

What exactly did you do to update?
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests

User avatar
newsmedia
Registered User
Posts: 73
Joined: Sat Sep 15, 2012 12:29 pm
Location: Ireland
Name: Keith

Re: Fatal error after upgrading to 3.16

Post by newsmedia » Mon Sep 28, 2015 3:16 am

Hi

I used the automatic 3.1.6 upgrade package for Windows 7 32-bit as recommended when upgrading from 3.1.5.

No errors were reported during this process and the board functions - but my system error messages show the php error in the file mentioned - ucp_register.php

The line in question, 187 reads:
$captcha->init(CONFIRM_REG);

User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: Fatal error after upgrading to 3.16

Post by Oyabun1 » Mon Sep 28, 2015 4:11 am

Please fill out the Support Request Template and post it back here to enable us to assist you better.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests

User avatar
newsmedia
Registered User
Posts: 73
Joined: Sat Sep 15, 2012 12:29 pm
Location: Ireland
Name: Keith

Re: Fatal error after upgrading to 3.16

Post by newsmedia » Mon Sep 28, 2015 4:36 am

Support Request Template
What version of phpBB are you using? phpBB 3.1.6
What is your board's URL? www.newsmedianews.com/mewsforum
Who do you host your board with? Letshost.ie
How did you install your board? I used the download package from phpBB.com
What is the most recent action performed on your board? Update from a previous version of phpBB3
Is registration required to reproduce this issue? No
Do you have any MODs installed? Yes
Do you have any extensions installed? No
What version of phpBB3 did you update from? phpBB 3.1.5
What MODs do you have installed? UMIL - Unified Mod Install Library
Admin Easy User Delete
Display Inactive Users' Email and IP Addresses
User IP Logs
ACP Add User MOD [cannot remove]
Contact Admin [cannot remove]
National Flags [cannot remove]
What styles do you currently have installed? prosilver
What language(s) is your board currently using? English
Which database type/version are you using? MySQL 4
What is your level of experience? Experienced with PHP and phpBB
What actions did you take (updating your board; installing a MOD, style or extension; etc.) prior to this problem becoming noticeable? Updated board only
Please describe your problem. website logs show the following php error:
[27-Sep-2015 07:33:44 UTC] PHP Fatal error: Call to a member function dispatch() on a non-object in /home/**********/public_html/mewsforum/includes/ucp/ucp_register.php on line 187
Generated by SRT Generator

User avatar
Lumpy Burgertushie
Registered User
Posts: 66917
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Fatal error after upgrading to 3.16

Post by Lumpy Burgertushie » Mon Sep 28, 2015 4:58 am

not sure what is going on.

that link goes to a 3.1.6 board.
however, you say you have all those MODs installed but that is not possible. none of those MODs will work with phpbb 3.1 because 3.1 does not use MODs it uses extensions. If you did not uninstall those 3.0 MODs before you upgraded that could be part of your problems.

you have a brand new board. the best way to solve this is to simply replace all the files with new 3.1.6 files
except for the config.php file and run the database update file.

robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

User avatar
newsmedia
Registered User
Posts: 73
Joined: Sat Sep 15, 2012 12:29 pm
Location: Ireland
Name: Keith

Re: Fatal error after upgrading to 3.16

Post by newsmedia » Mon Sep 28, 2015 10:39 am

Hi

Are you replying as support team? The Mods that don't work I have added [unable to remove] as I cannot seem to remove them. The other Mods actually DO work.

User avatar
Lumpy Burgertushie
Registered User
Posts: 66917
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Fatal error after upgrading to 3.16

Post by Lumpy Burgertushie » Mon Sep 28, 2015 1:24 pm

no, since I am not on the support team, I am not replying as a support team member.

however, that does not change the fact that 3.0 MODs usually won't work on a 3.1 board.

I would assume that you must not have replaced your 3.0 files with 3.1 files when you upgraded.

there are some rare cases where the code is the same and that allows certain 3.0 MODs to continue working.
so, I stand corrected about that.

If you had upgrade to 3.1 using the normal file replacement method then that would have removed the other MODs as well as the ones that are still working.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

User avatar
newsmedia
Registered User
Posts: 73
Joined: Sat Sep 15, 2012 12:29 pm
Location: Ireland
Name: Keith

Re: Fatal error after upgrading to 3.16

Post by newsmedia » Mon Sep 28, 2015 1:32 pm

Cheers Robert and thanks for responding.

I'll wait on for a support member reply who might have a solution and might also advise how I might remove the non-working mods

Keith

User avatar
david63
Registered User
Posts: 16824
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Fatal error after upgrading to 3.16

Post by david63 » Mon Sep 28, 2015 2:18 pm

newsmedia wrote:how I might remove the non-working mods
Either restore the backup that you made before you installed them or reverse the steps taken to install them.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
Lumpy Burgertushie
Registered User
Posts: 66917
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Fatal error after upgrading to 3.16

Post by Lumpy Burgertushie » Mon Sep 28, 2015 2:41 pm

at this point you can't uninstall them since you have already upgraded to 3.1 and the database has been changed.

however, there is a script you can run to do it:
viewtopic.php?p=13985621#p13985621

doing this will most likely remove the ones that are still working as well and you may get errors because some of your files will still be trying to call for the data from the database.
you should not really be using any 3.0 code in 3.1


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

User avatar
newsmedia
Registered User
Posts: 73
Joined: Sat Sep 15, 2012 12:29 pm
Location: Ireland
Name: Keith

Re: Fatal error after upgrading to 3.16

Post by newsmedia » Mon Sep 28, 2015 2:52 pm

Thanks Robert - ran the script, yes it cleared all existing mods. But all seems fine.

Many thanks.

User avatar
david63
Registered User
Posts: 16824
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Fatal error after upgrading to 3.16

Post by david63 » Mon Sep 28, 2015 2:56 pm

So you didn't actually have the mods installed but just remnants of them, as running that script will only get rid of modules and permissions - not the entire mod.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

Locked

Return to “[3.1.x] Support Forum”