solved Re: SMF 1.1.x incompatibility with recent PHP versions (PHP5.5+)

February 21, 2017, 02:09:33 PM by Bazino
1.1.x will work fine on  php 5.5
Here is a quick change to fix all notices.

open index.php change
Code: [Select]
Code: [Select]
error_reporting(E_ALL & ~E_DEPRECATED & ~E_NOTICE);

open ssi.php
Code: [Select]
$ssi_error_reporting = error_reporting(E_ALL);
Code: [Select]
$ssi_error_reporting = error_reporting(E_ALL & ~E_DEPRECATED & ~E_NOTICE);


First of all, thank you very much for trying to help people who don't want to upgrade to 2.+ due to heavy customization.

Today unfortunately and against my demands (at first, then later begging), my stupid provider has upgraded my webspace to 5.5 and I can't go back, they simply deleted everything below 5.5.

I was soooo much hoping, that I would skid by with the help you provided here, but now I have a problem:

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 82767645 bytes) in /www/htdocs/xxxxxxx/smf/Sources/Subs.php on line 1843

This is all I get instead of my forums :-(

Any ideas?
9 comments | Write Comment

xx We made our site https now the forum will not display right

February 20, 2017, 10:27:15 PM by Bob Gould
The forum is
Went to setting and changed it to https but themes do not display correctly what else do I need to change?
Thanks in advance
4 comments | Write Comment

solved disable Bot Attempt Stopped

February 20, 2017, 03:04:23 AM by urbex-places
Hello Forum,

i have a Forum, Version: SMF 1.1.19.

i like to deaktivate mails to the admin when a bot tried to register (Bot Attempt Stopped).

Someone knows where I can disable this automatic mail?

thank you
4 comments | Write Comment

solved Recent slew of error messages

February 18, 2017, 10:48:04 AM by ducpainter
i have a forum running SMF 1.1.21 that has been relatively error free for years, Recently I've seen 6 pages of errors not related to users forgetting their password.

The errors are all related to the same file and read as follows...

Error message '8: Undefined index: id
File: /var/www/vhosts/
Line: 29'
The only recent change is my host has updated the Plesk panel on our server which seems to be about the time the errors started occuring, the forum seems to be running fine, and no users have reported any issues.

Any help would be appreciated.

8 comments | Write Comment

xx Forum problems after restoring database backup.

February 06, 2017, 05:42:22 PM by Dayna Bedrosian
One of my forum admins decided to delete my account.  So I did a database restoration and I'm still having issues.  I tried working with my Web host and they said there was nothing that they could do.

Replication of problem steps

1. Top right Click on Profile button

2. On left side click on Forum Profile Information

3. Select radio button that says

I will upload my own picture:

4. Click on choose file

5. Select a picture

6. Bottom right of page click on Change Profile

Result is this message
An Error Has Occurred!
The attachments upload directory is not writable. Your attachment or avatar cannot be saved.

Also you see this message when you log in I see this message.
The default theme's directory is wrong, please correct it by clicking this text.

I click on it and it's still there.

Another issue I have is this message from the Forum error log.

2: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.
File: /hermes/walnaweb12a/b2998/ufgq/forum/Sources/Subs.php
Line: 883

Steps to replicate the problem

Step 1. Click on Admin button up in the top navigation bar

Step 2. Click on Forum Error Log
1 comment | Write Comment

solved Info not showing up...

February 04, 2017, 10:12:41 AM by Thread Killer
I have forum admin privileges on the forum I am writing about.  I am not even sure how to articulate the problem, I did try a search on the Monthly Summary issue, but did not find any answers.  I guess I will use that as issue #1.  It does not seem to want to update.  It appears to be stuck somewhere in the middles of 2/3/2017.

Also, and it appears these issue are just related to my use.  I seem to have to refresh a page after I have posted to make the post show up.  Also, if I read a PM and delete it, next time I go back to PM's it is there.

I realize this is some abstract ****, so help maybe very difficult.  Yes, I have logged in and out many times.  Restarted computer, many times.

Version Information:
 Forum version: SMF 1.1.21
 Current SMF version: SMF 1.1.21
11 comments | Write Comment

xx Cannot log back into forum, getting notifications upon posting. Please help!

February 03, 2017, 05:32:56 PM by RushAss
Hi Folks!  I'm the owner of a table top gaming company called Your Move Games and our Simple Machines forum is the lifeblood of our online community.  The last couple of weeks some of our members where getting various error notifications at the top of their screen after posting a message.  The new post would still go through but then the user would be redirected to the main directory and would have to drill back down to find their post.  I started experiencing this myself so I tried logging out and logging back in to see if that solved the issue and instead of logging in, I'd be redirected to a blank page with this message:
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/ymgforum/public_html/Sources/Load.php(225) : runtime-created function on line 3

And to make matters worse, it never logs me in.  So now I can't log into my own forum.  Any idea what this could be and how do I solve it?  We're using Version 1.1.20.  Any help would be appreciated.
3 comments | Write Comment