News: When asking for support, it helps us and you, if you read the Posting Guidelines

Login  |  Register
* *
TinyPortal on Twitter
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 12, 2018, 10:34:58 AM

Login with username, password and session length

Recent

Members
  • Total Members: 3734
  • Latest: nati9
Stats
  • Total Posts: 186722
  • Total Topics: 20602
  • Online Today: 330
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 3
Guests: 22
Total: 25

Author Topic: Strange issue seems to be server related  (Read 636 times)

0 Members and 1 Guest are viewing this topic.

Offline wildenborch

  • Support Team
  • *
  • Posts: 335
Strange issue seems to be server related
« on: March 05, 2018, 03:19:51 AM »
Hi,

I just noticed that I can no longer turn off/on Toggle show article on the frontpage (and Sticky & Lock).

After some checking it looks like this is server (hosting) related.
My main site is hosted in the USA and the copy of this site is hosted in the Netherlands.
On the main site i cannot change the setting, on the copy site I can change this setting.

I tried it with Tinyportal 1.4.1, 14R and 1.2 all with the same result.
I also tried it with a total clean install of SMF & TP 1.4.1.
I tried to change it in the Article self and via the Article menu

I can change all details, social bookmark buttons etc. but not the Frontpage, Sticky, Lock
In the article menu I can not change Frontpage, Sticky and Lock but also also not make the article inactive or make it Featured article.

The only way I can change these through SQL (phpadmin) directly.

Is there something I should check in the PHP settings?
Both sites are running on PHP 5.6 (on a shared server)

You can see the behavior here: https://youtu.be/QAIJAnYVOqA
« Last Edit: March 05, 2018, 09:45:15 AM by wildenborch »

Online lurkalot

  • Administrator
  • *
  • Posts: 5471
    • Camera Craniums
Re: Strange issue seems to be server related
« Reply #1 on: March 05, 2018, 10:39:29 AM »
Strange one.  I've not seen this problem in any of my test installs, or my live sites.  All running on the same php version.  What happens if you just toggle them without saving?  Do they work as expected then?

Offline wildenborch

  • Support Team
  • *
  • Posts: 335
Re: Strange issue seems to be server related
« Reply #2 on: March 05, 2018, 10:45:41 AM »
Yes, the icons are changing as expected. 

I have three SMF/TP websites hosted by this company and all have the same problem.


Offline wildenborch

  • Support Team
  • *
  • Posts: 335
Re: Strange issue seems to be server related
« Reply #3 on: March 05, 2018, 10:57:20 AM »
I might have found the problem!
In CPanel there is an option: ModSecurity. This was enabled.
After disabling this security I can toggle the Frontpage, sticky and Lock.

So now I have to check if ModSecurity is important to have.....

Online lurkalot

  • Administrator
  • *
  • Posts: 5471
    • Camera Craniums
Re: Strange issue seems to be server related
« Reply #4 on: March 05, 2018, 11:17:53 AM »
I might have found the problem!
In CPanel there is an option: ModSecurity. This was enabled.
After disabling this security I can toggle the Frontpage, sticky and Lock.

So now I have to check if ModSecurity is important to have.....

No keep mod security turned off if possible, it can cause havoc. Glad you found the problem, and thanks for letting us know, it'll be handy info for anyone experiencing the same problem.

Offline wildenborch

  • Support Team
  • *
  • Posts: 335
Re: Strange issue seems to be server related
« Reply #5 on: March 05, 2018, 11:25:13 AM »
Ok, I will keep ModSecurity off!

Online lurkalot

  • Administrator
  • *
  • Posts: 5471
    • Camera Craniums
Re: Strange issue seems to be server related
« Reply #6 on: March 05, 2018, 11:37:05 AM »
Ok, I will keep ModSecurity off!

Just in case you're worried about turning mod security off, here's a bit of info for you. https://wiki.simplemachines.org/smf/Mod_security_-_Having_problems_with_mod_security

As you can turn it off in CPanel you shouldn't need to follow those instructions to disable it.

Offline wildenborch

  • Support Team
  • *
  • Posts: 335
Re: Strange issue seems to be server related
« Reply #7 on: March 05, 2018, 12:20:07 PM »
Thanks for sharing this link.