When installing j3.4 update could not access admin panel.
Admin panel access
Fatal error: Class FOFModelFieldNumber contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (FOFModelField::range, FOFModelField::modulo) in C:\HostingSpaces\virus\dairyscience.info\wwwroot\libraries\fof\model\field\number.php on line 130
I was running J3.3.6 on a commercial windows hosting package. I also use RS-Firewall extension to protect admin loginin.
I tried to insert abstract in as many places as I could in number.php. Still got error.
I can use administrator/index.php?option=com_NAME to access componets so can still work on site
Regards
Hello @nikosdion :)
I am not sure how to respond. Not an expert!
What is your exact PHP version number?
Actually... hold on a minute! The FOFModelFieldNumber class has already defined the range and modulo methods, see https://github.com/joomla/joomla-cms/blob/staging/libraries/fof/model/field/number.php#L144
So, this means that you have one of two non-Joomla-related issues:
Since this is not a Joomla! issue I'd propose to close it.
Thank you
From: Nicholas K. Dionysopoulos [mailto:notifications@github.com]
Sent: 26 February 2015 07:31
To: joomla/joomla-cms
Cc: michaelmullan
Subject: Re: [joomla-cms] J3.4. Fatal error: Class FOFModelFieldNumber contains 2 abstract methods (#6191)
Actually... hold on a minute! The FOFModelFieldNumber class has already defined the range and modulo methods, see https://github.com/joomla/joomla-cms/blob/staging/libraries/fof/model/field/number.php#L144
So, this means that you have one of two non-Joomla-related issues:
Since this is not a Joomla! issue I'd propose to close it.
—
Reply to this email directly or view it on GitHub #6191 (comment) . https://github.com/notifications/beacon/AKrxF9jJqCwKqOyfpUsl8TnhdV5cDgBwks5nvsNIgaJpZM4Dl_J_.gif
Closing this issue as per comment from Nicholas.
@michaelmullan If it turns out the issue isn't coming from your installation, please request to reopen it or just open a new issue.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-02-26 21:37:01 |
Thank you
I changed the class heading to abstract class headings and now everything works. So it may still be a J3.4 issue.
Thanks for the rapid response
Mike
From: Thomas Hunziker [mailto:notifications@github.com]
Sent: 26 February 2015 21:37
To: joomla/joomla-cms
Cc: michaelmullan
Subject: Re: [joomla-cms] J3.4. Fatal error: Class FOFModelFieldNumber contains 2 abstract methods (#6191)
Closing this issue as per comment from Nicholas.
@michaelmullan https://github.com/michaelmullan If it turns out the issue isn't coming from your installation, please request to reopen it or just open a new issue.
—
Reply to this email directly or view it on GitHub #6191 (comment) . https://github.com/notifications/beacon/AKrxFzrkoG_WJqs_Sgrr6FpCAvSA-MvJks5nv4mIgaJpZM4Dl_J_.gif
@michaelmullan not a programmer here, what is the exact script you used and did you write on the line you are getting the error on or elsewhere?
This matter has been fully resolved.
I am not a professional PHP coder so cant comment further.
MM
From: alijen [mailto:notifications@github.com]
Sent: 23 April 2015 00:15
To: joomla/joomla-cms
Cc: michaelmullan
Subject: Re: [joomla-cms] J3.4. Fatal error: Class FOFModelFieldNumber contains 2 abstract methods (#6191)
@michaelmullan https://github.com/michaelmullan not a programmer here, what is the exact script you used and did you write on the line you are getting the error on or elsewhere?
—
Reply to this email directly or view it on GitHub #6191 (comment) . https://github.com/notifications/beacon/AKrxF1Alc2ozcngdDFYf2PlScR-mN6Y9ks5oCCLzgaJpZM4Dl_J_.gif
Labels |
Added:
?
|
Paging @nikosdion :)