xx How to remove 65K character limit on messages

March 20, 2019, 10:30:44 PM by DeveloperMcD
I notice that messages (posts) are limited to a 16-bit value, or 65,535 characters.

However, I noticed that the database has the post "body" set to LARGETEXT which should be able to store 2.4 GB or something like that.

How can I remove this artificial limitation on post size?
6 comments | Write Comment

xx blank pages to anything that has to do option

March 17, 2019, 07:13:43 AM by gamora77
Hello all.  Hoping for a little assistance.  I inherited this board and it is experiencing some troubles.  You can view the board and posts as a guest.  The moment you try and login or search, anything with "?action=****" causes blank pages.  They were running their own theme.  I reset it back to the classic theme.  I have scoured the majority of the blank page posts, but none of the solutions has helped.  Thank you in advance for any help you might be able to give.



Don't know where to go looking for the error logs.
1 comment | Write Comment

xx unable to back up

March 12, 2019, 02:18:31 PM by alantani
i tried to do a back up and got an error message.  i'm not very good at this and i don't think in the last 10 years i've ever been able to get the "back up" done properly, but i understand that i need to migrate from smf 1.1 to smf 2.1, so that's why i tried again.  here is the message.  any idea what's up?

Apply Filter: Only show the error messages of this member alantani    March 11, 2019, 09:10:18 PM
Apply Filter: Only show the error messages of this IP address     Apply Filter: Only show the error messages of this session 266c5edfbc1818898d09bfc9a22bbdc7
Apply Filter: Only show the error messages of this URL https://alantani.com/index.php?struct=on&data=on&compress=gzip&action=dumpdb&sesc=266c5edfbc1818898d09bfc9a22bbdc7
Apply Filter: Only show the errors with the same message8192: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead.
File: /home/content/33/3530133/html/Sources/DumpDatabase.php
Line: 235
2 comments | Write Comment

solved went to forum and all members have been banned

March 10, 2019, 07:54:37 PM by Illhaveanother
I belong to a site where I got the message sorry guest you have been banned from using the forum when I logged in. It seems all members have been banned. The guy who set it up hasn't done much to maintain it since he set it up back in 03ish.  It is a very old version of Simple Machines. He had mods taking care of trolls and he occasionally dropped in to do some maintenance. He posted that he did not know what happened and would try to look into it.
The website the forum is a part of is fine.
I guess I want to ask how this could happen and how it might be corrected.
12 comments | Write Comment

xx Help with "load.php"

March 07, 2019, 08:21:07 PM by BPDFamily.com
When someone try to load a internal link that they do not have permissions for, I would like to load a 403 error page.

I presume the area to code  that is on the load page. What coding change would I need to accomplish this?

Code: [Select]
// Set the template contextual information.
$context['user']['is_mod'] = &$user_info['is_mod'];
$context['current_topic'] = $topic;
$context['current_board'] = $board;

// Hacker... you can't see this topic, I'll tell you that. (but moderators can!)
if (!empty($board_info['error']) && ($board_info['error'] != 'access' || !$user_info['is_mod']))
// The permissions and theme need loading, just to make sure everything goes smoothly.

$_GET['board'] = '';
$_GET['topic'] = '';

// If it's a prefetching agent, just make clear they're not allowed.
if (isset($_SERVER['HTTP_X_MOZ']) && $_SERVER['HTTP_X_MOZ'] == 'prefetch')
header('HTTP/1.1 403 Forbidden');
elseif ($user_info['is_guest'])
fatal_lang_error('topic_gone', false);

if ($user_info['is_mod'])
$user_info['groups'][] = 3;
14 comments | Write Comment