TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,970
  • Latest: bynw
Stats
  • Total Posts: 196,047
  • Total Topics: 21,336
  • Online today: 374
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 107
  • Total: 107

Error on new host

Started by bynw, October 23, 2026, 03:56:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bynw


I also have a PHP custom script for the Portal that adds a Quote of the Day (or actually any refresh of the page). Any attempt to save an edit to that PHP code produces a 500 Error. I can click back on my browser and the edit will not be saved.

@rjen

500 errors are server side errors. You should be able to see in the server error log what is going on,

FYI, my server is on php 8.5 and that works fine
Running Latest TP on SMF2.1 at: www.fjr-club.nl

lurkalot

Quote from: bynw on October 24, 2026, 02:50:23 AMI also have a PHP custom script for the Portal that adds a Quote of the Day (or actually any refresh of the page). Any attempt to save an edit to that PHP code produces a 500 Error. I can click back on my browser and the edit will not be saved.

Wonder if Modsecurity is active on your server, I know some hosts changed the Modsecurity rules to help combat the latest php exploits that have been in the news this week.  Might be worth speaking to your host.

bynw

It was mod security with the custom code so that's resolved.

lurkalot

#14
Quote from: bynw on October 24, 2026, 03:23:12 PMIt was mod security with the custom code so that's resolved.

Cool, that's a result then.  O0

So my next question is, did that fix both those issues, the Quote of the day block, and editing the path to the tp-images folder?

This website is proudly hosted on Crocweb Cloud Website Hosting.