collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 396
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

NEED HELP? If you're looking for support with Simple Portal, look no further than the Support Board!

Author Topic: Method Not Implemented  (Read 6017 times)

0 Members and 1 Guest are viewing this topic.

Offline Burke Knight

  • Sr. Member
  • ****
  • Posts: 394
  • Gender: Male
  • I tell it how I see it. Don't like it? Hit Alt+F4
    • BurkeKnight Enterprises
  • SMF Version: None
  • SP Version: None
  • Elkarte Version: None
Method Not Implemented
« on: December 31, 2014, 02:18:02 PM »
Quote
Method Not Implemented

GET to /index.php not supported.


This is what I get, when I try to edit php blocks.
This happens even on a fresh install, now.

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Method Not Implemented
« Reply #1 on: December 31, 2014, 03:06:23 PM »
You state this occurs on a fresh installation of what in particular, do you mean after a fresh SMF installation?
I do not think this is a SimplePortal issue as it seems to be related to server configuration.
Was anything changed recently within your server configuration?
Perhaps something in your php.ini file, filer ownership/permissions or a .htaccess file?

Regards.

Offline Burke Knight

  • Sr. Member
  • ****
  • Posts: 394
  • Gender: Male
  • I tell it how I see it. Don't like it? Hit Alt+F4
    • BurkeKnight Enterprises
  • SMF Version: None
  • SP Version: None
  • Elkarte Version: None
Re: Method Not Implemented
« Reply #2 on: December 31, 2014, 06:06:29 PM »
Nothing changed.
Had done fresh file install of SMF and all mods.
However, it only seems to do this on some php blocks. Not all of them.
Yet, never had this issue before.

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Method Not Implemented
« Reply #3 on: December 31, 2014, 06:08:06 PM »

Did you install a particular SMF modification or plugin just prior to this occurring?

Offline Burke Knight

  • Sr. Member
  • ****
  • Posts: 394
  • Gender: Male
  • I tell it how I see it. Don't like it? Hit Alt+F4
    • BurkeKnight Enterprises
  • SMF Version: None
  • SP Version: None
  • Elkarte Version: None
Re: Method Not Implemented
« Reply #4 on: January 01, 2015, 12:29:20 AM »
Nope. Same order it was all in on the old site.

Also, now getting this in the error log:

Quote
http://www.burkeknight.com/index.php?
8: Undefined index: avatar
File: /Themes/default/languages/Post.english.php (portal_above sub template - eval?)
Line: 183

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Method Not Implemented
« Reply #5 on: January 01, 2015, 01:46:58 AM »
Quote from: BurkeKnight
Nope. Same order it was all in on the old site.

BurkeKnight,

With that statement can I assume you have migrated to another host?
If this is the case then perhaps you have a misconfiguration of some sort as I have previously suggested?
Perhaps this is a path issue due to the migration which can be fixed with the repair_settings.php tool available at SMF.

Regards.

Offline Burke Knight

  • Sr. Member
  • ****
  • Posts: 394
  • Gender: Male
  • I tell it how I see it. Don't like it? Hit Alt+F4
    • BurkeKnight Enterprises
  • SMF Version: None
  • SP Version: None
  • Elkarte Version: None
Re: Method Not Implemented
« Reply #6 on: January 01, 2015, 01:59:04 AM »
No, I have not migrated to another host.
If did that, would have just moved the site.
I wanted to clean things up, get rid of extra files and such, from old mods, etc that were left over through the years, as well as do it as a clean 2.0.9 instead of 2.0.4 with all the updates.

And it is not a path issue that can be fixed via that, as that is how I moved from dev site, to main site, and would have fixed it.

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Method Not Implemented
« Reply #7 on: January 01, 2015, 02:24:55 AM »
BurkeKnight,

  So you recently ran an upgrade? When the forum was fresh without any mods installed did you remove all the hooks from the database using the repair_settings.php tool? (<-- only do this when no mods are installed)

Offline Burke Knight

  • Sr. Member
  • ****
  • Posts: 394
  • Gender: Male
  • I tell it how I see it. Don't like it? Hit Alt+F4
    • BurkeKnight Enterprises
  • SMF Version: None
  • SP Version: None
  • Elkarte Version: None
Re: Method Not Implemented
« Reply #8 on: January 01, 2015, 08:46:20 AM »
Okay, let me repeat... The install was a clean install of 2.0.9 and then t5he same mods, same order as the original site. When imported the database, I did run remove hooks, before I installed the mods.

However, the first issue, is sporadic. I notice it at times on the blocks, yet at other times, I can modify them.
Unknown what it is, but this is not the only site have had it happen on. Had it on a couple test sites, also.

It also happened in a 2.1 test site, using the SP made for 2.1 I found on GH. ;)

The second issue, I really have no idea about, as this is the first I've seen of that error. But, since it stated portal in it, I figured I'd post here about it.

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Method Not Implemented
« Reply #9 on: January 01, 2015, 12:55:49 PM »
The error stated portal in it because it uses the portal files to display the blocks on the page (whether blocks are present on the page or not).
Wipe your error log, then go to your Server Settings and disable evaluation of templates which should then point you to the proper file for that error.

Also... Are you absolutely sure you installed all your custom templates first prior to installing the mods to ensure the mods would make alterations to all template files when necessary (by checkboxing during their installations when applicable)? 


Ensure to run the following maintenance tasks:
Empty the file cache, Recount all forum totals and statistics, Find and repair any errors and Database -> Optimize all tables.

You can also try adjusting Use database driven sessions in your Server Settings.
From what I have read thus far on this error, it appears to be related to the app named mod_security which your host has installed
(or you installed it if this is VPS/Dedicated).

 
« Last Edit: January 01, 2015, 01:12:00 PM by Chen Zhen »

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Method Not Implemented
« Reply #10 on: January 01, 2015, 01:54:47 PM »
If your hosted account is managed then you can relay the error to them and ask them to adjust mod_security to fix the issue.
If it is unmanaged VPS/Dedicated then at this time I am not positive how to adjust the issue although you can probably get some info on an Apache site or perhaps your OS main site forum (ie. CentOS or Ubuntu).

You can add code to your .htaccess file to turn mod security off if you wish to do that.
Code: [Select]
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

ref. http://stackoverflow.com/questions/12928360/how-can-i-disable-mod-security-in-htaccess-file
« Last Edit: January 01, 2015, 01:56:50 PM by Chen Zhen »

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Method Not Implemented
« Reply #11 on: January 01, 2015, 02:27:19 PM »
You may be able to adjust Mod Security via your  web hosting control panel (ie. CPanel).
Have a look at this link for more information: Click Here

Offline Burke Knight

  • Sr. Member
  • ****
  • Posts: 394
  • Gender: Male
  • I tell it how I see it. Don't like it? Hit Alt+F4
    • BurkeKnight Enterprises
  • SMF Version: None
  • SP Version: None
  • Elkarte Version: None
Re: Method Not Implemented
« Reply #12 on: January 01, 2015, 03:02:37 PM »
1. I am only using the default theme, copied, and yes, before installed the mods.
1.a. The 2.1 only used the default theme.

2. Mod_security is not the issue. I run my own server, and that nwas one of the things I dealt with, way back when first started the server....LOL ( I would NEVER install it myself, with all the issues it causes...LOL )

EDIT: I just checked, and somehow, it had been re-enabled. Must have been an update on the servers, but I disabled on all domains, again.: Successfully disabled ModSecurity™ on all domains. However, error still goes.END EDIT.

3. Disable evaluation of templates just changed the error to display: PortalShoutbox.template.php instead of what was before.

4. Use database driven sessions is how it's been set up.
« Last Edit: January 01, 2015, 03:06:33 PM by BurkeKnight »

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Method Not Implemented
« Reply #13 on: January 01, 2015, 03:13:03 PM »

You have to reset Apache after you disable Mod Security.

Offline Burke Knight

  • Sr. Member
  • ****
  • Posts: 394
  • Gender: Male
  • I tell it how I see it. Don't like it? Hit Alt+F4
    • BurkeKnight Enterprises
  • SMF Version: None
  • SP Version: None
  • Elkarte Version: None
Re: Method Not Implemented
« Reply #14 on: January 01, 2015, 03:19:04 PM »
No, I do not.... Never had to before, and that is only on some setups that would.

However, I found the cause of the error. Seems when had copied some code in my new look for the shoutbox, it still had the code from the avatar mod for the shoutbox.

Which, that mod will not work in the latest SP, for some odd reason.

I removed it, and the error is gone. Would never have found it, though, if it did not finally tell me it was the shoutbox template....LOL

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Method Not Implemented
« Reply #15 on: January 01, 2015, 03:58:13 PM »
I am glad you found the issue.

Quote
No, I do not.... Never had to before, and that is only on some setups that would.

Every change to your Apache configuration needs an Apache restart (<-- specifically).
ie.
Code: [Select]
sudo service apache2 restart



  Imo removing the leftover code from the avatar mod solved your undefined index error but it was the disabling of Mod Security and restarting Apache that probably solved your Method Not Implemented error. The 2 errors were not related.

Regards.
« Last Edit: January 01, 2015, 04:21:43 PM by Chen Zhen »

Offline Burke Knight

  • Sr. Member
  • ****
  • Posts: 394
  • Gender: Male
  • I tell it how I see it. Don't like it? Hit Alt+F4
    • BurkeKnight Enterprises
  • SMF Version: None
  • SP Version: None
  • Elkarte Version: None
Re: Method Not Implemented
« Reply #16 on: January 01, 2015, 05:21:22 PM »
I am glad you found the issue.



Every change to your Apache configuration needs an Apache restart (<-- specifically).
ie.



  Imo removing the leftover code from the avatar mod solved your undefined index error but it was the disabling of Mod Security and restarting Apache that probably solved your Method Not Implemented error. The 2 errors were not related.


1. This solves the errors in the error log, not the original issue with the title of this topic.

2. Not every change, as changing the mod security is done via cPanel, and does it without needing a restart. I have this backed by 5 server admins of various web hosts. I had once thought like you did, until they set me straight, via demonstrations. The cPanel way is a lot easier to deal with. However, you do need to restart if using the command structure to do so.

3. I had the errors showing and not showing before and after disabling. If it was mod security, I'd have gotten a blank page or the typical 500 error. ( Which had to fight a lot on a friend's site recently, until she moved her site....LOL )