Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Install and Upgrade Help => Topic started by: Ulfkrause on March 13, 2015, 08:26:28 AM

Title: SMF 1.1.8 problem
Post by: Ulfkrause on March 13, 2015, 08:26:28 AM
Hi,

I run SMF 1.1.8, and now as our websupplier is about to upgrade from PHP 5.3 to higher I get a error
"Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72089430 bytes) in /customers/9/d/c/solkustens-awd.se/httpd.www/smf/Sources/Subs.php on line 2438"

This is caused at PHP 5.5, 5.5 and 5.6. But the site works good on 5.3 (which will be phased out soon).
I guess the best is to upgrade from SMF 1.1.8 to newer?
Any good ideas to what version I shall upgrade and how this is done?

(I'm not very familiar with PHP and SQL)

Thanks for any help!

/Ulf from Sweden :)
Title: Re: SMF 1.1.8 problem
Post by: Illori on March 13, 2015, 08:31:47 AM
SMF 1.1.* will not work on php 5.5 or higher. you need to upgrade to 2.0 for it to work with php 5.5+

http://wiki.simplemachines.org/smf/Upgrading
Title: Re: SMF 1.1.8 problem
Post by: Ulfkrause on March 13, 2015, 08:41:26 AM
Thank you for the information!   8)
Title: Re: SMF 1.1.8 problem
Post by: Ulfkrause on March 26, 2015, 07:33:39 AM
Now I made the upgrade from 1.1 to 2.0, but the forum gives me an error code "Unknown column 'a.attachment_type' in 'field list'"
Anyone who knows what might be wrong?

The forum is at http://www.solkustens-awd.se/smf/index.php
Title: Re: SMF 1.1.8 problem
Post by: Illori on March 26, 2015, 07:40:47 AM
have you run the upgrade.php script? if not that is the error you get.
Title: Re: SMF 1.1.8 problem
Post by: Ulfkrause on March 27, 2015, 05:01:54 AM
I have tried to run the upgrade.php but I get a massive error.
I have tried severad different browers.
Maybe you cas see the errors here:



Title: Re: SMF 1.1.8 problem
Post by: Illori on March 27, 2015, 05:16:58 AM
try What is repair_settings.php? (http://wiki.simplemachines.org/smf/Repair_settings.php) to fix your paths.
Title: Re: SMF 1.1.8 problem
Post by: Ulfkrause on March 27, 2015, 05:17:15 AM
Another question, if I install SMF 2.0 from scratch, a clean version. Is it possible to import all old posts and members etc from my old 1.1 forum?
Title: Re: SMF 1.1.8 problem
Post by: Ulfkrause on March 27, 2015, 05:28:09 AM
Thank you very much Illori for helping me! I´m not very familiar with this :)

When I run the repair file I face most options and can add values. But the file ends up with "Notice: Undefined index: database_error in /customers/9/d/c/solkustens-awd.se/httpd.www/smf_2.0/Sources/Subs-Db-mysql.php on line 594 Fatal error: Call to undefined function allowedTo() in /customers/9/d/c/solkustens-awd.se/httpd.www/smf_2.0/Sources/Subs-Db-mysql.php on line 595"

So I dont get any confirm button or similar :´(
Title: Re: SMF 1.1.8 problem
Post by: Kindred on March 27, 2015, 06:44:27 AM
Quote from: Ulfkrause on March 27, 2015, 05:17:15 AM
Another question, if I install SMF 2.0 from scratch, a clean version. Is it possible to import all old posts and members etc from my old 1.1 forum?

in short. no.