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]
error_reporting(E_ALL);
To
Code: [Select]
error_reporting(E_ALL & ~E_DEPRECATED & ~E_NOTICE);

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

Hey!

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:

Quote
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 https://www.ebarrelracing.com/forum
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
Blair
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/ducatimonsterforum.org/httpdocs/mobiquo/push_hook.php
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.

TIA
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