Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Install and Upgrade Help => Topic started by: imrich on February 15, 2007, 07:12:44 AM

Title: 1.1.1 to 1.1.2 upgrade appeared ok, but many errors in the forum error log
Post by: imrich on February 15, 2007, 07:12:44 AM
I was running SMF 1.1.1

It seemed to be running just fine.

The 1.1.2 update came out so I backed up everything, peformed the update via the package manager.

All tests were successful.

It appeared that all went just fine.

Today (just one day later) I happened to notice that my forum error log was full of errors (6 pages of errors) very similar to these:

Quote
2: fclose(): supplied argument is not a valid stream resource
File: /home/user/domains/mydomain.tld/public_html/forum/Sources/Subs-Package.php
Line: 1909

2: fopen(/home/user/domains/mydomain.tld/public_html/forum/Themes/default/languages/index.english.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied
File: /home/user/domains/mydomain.tld/public_html/forum/Sources/Subs-Package.php
Line: 1902

2: fclose(): supplied argument is not a valid stream resource
File: /home/user/domains/mydomain.tld/public_html/forum/Sources/Subs-Package.php
Line: 1909

repeating over and over with different files

Again, the report was that all was successful when I applied the update with the package manager.

I am concerned, did my update go ok?  How do I know if this worked?
Title: Re: 1.1.1 to 1.1.2 upgrade appeared ok, but many errors in the forum error log
Post by: catfished on February 15, 2007, 11:07:31 AM
Hi imrich,

I had the exact same problem with all 4 of my forums. I started a similar thread to this one and received several replies including a couple from SMF support staff but nothing that helped. I finally figured it out myself, it was a weird permissions problem. Read this for the fix: http://www.simplemachines.org/community/index.php?topic=150388.msg960317#msg960317 If you have time, read the whole thread for entertainment: http://www.simplemachines.org/community/index.php?topic=150388.0
Title: Re: 1.1.1 to 1.1.2 upgrade appeared ok, but many errors in the forum error log
Post by: imrich on February 15, 2007, 11:39:08 AM
Catfished,

Thanks for the reply. By biggest concern is that the upgrade went ok.  Those error messages sure make me wonder.

I have to wonder why the error messages come in, but the upgrade script didn't report an error.

Title: Re: 1.1.1 to 1.1.2 upgrade appeared ok, but many errors in the forum error log
Post by: catfished on February 15, 2007, 11:54:21 AM
Quote from: imrich on February 15, 2007, 11:39:08 AM
Catfished,

Thanks for the reply. By biggest concern is that the upgrade went ok.  Those error messages sure make me wonder.

I have to wonder why the error messages come in, but the upgrade script didn't report an error.


imrich,

Like I said in the other thread, I was worried as well. I never received a reply from support saying one way or the other. Why don't you just uninstall, change the permissions in the Package Manager options and then reinstall like I did. It removed all errors on all forums. Read the other thread all the way through, it will help you see what's going on........Good luck
Title: Re: 1.1.1 to 1.1.2 upgrade appeared ok, but many errors in the forum error log
Post by: imrich on February 15, 2007, 01:25:28 PM
catfished,

Thanks. As you mentioned in the other thread, the procedure which you documented did 'work around' the issue.

But it still doesn't answer my original question. Why did the upgrade script report 'success' but leave all of those error messages in the forum error log?
Title: Re: 1.1.1 to 1.1.2 upgrade appeared ok, but many errors in the forum error log
Post by: catfished on February 15, 2007, 02:09:46 PM
Quote from: imrich on February 15, 2007, 01:25:28 PM
catfished,

Thanks. As you mentioned in the other thread, the procedure which you documented did 'work around' the issue.

But it still doesn't answer my original question. Why did the upgrade script report 'success' but leave all of those error messages in the forum error log?

I'm glad it worked for you imrich. As far as why it reported success and left all those errors, I have no idea other than a weird permission glitch. I wish one or more of the SMF Gurus would enlighten us. ;)
Title: Re: 1.1.1 to 1.1.2 upgrade appeared ok, but many errors in the forum error log
Post by: KGIII on June 12, 2007, 09:45:15 PM
We likely will never know the why. It is likely that something colided in the database or during the update and that resulted in the errors being generated.