Simple Machines Community Forum

Simple Machines => News and Updates => Topic started by: [Unknown] on December 19, 2004, 12:03:26 AM

Title: Has your forum stopped working this December?
Post by: [Unknown] on December 19, 2004, 12:03:26 AM
The most recent release of PHP (http://www.php.net/), 4.3.10, has caused many of the people using SMF trouble.  This can affect installation, upgrading, and general forum use.

If you've come here looking to see why you're having these problems, it may be because your host recently updated PHP.  This is not because SMF is incompatible with PHP 4.3.10 - instead, it is because older versions of Zend Optimizer (and some others, such as PHP-Accelerator) are not.

If you are having these problems, please ask your host to update Zend Optimizer or any other PHP acceleration software they have installed.  If this is not an option, they should disable said optimization software - this will affect PHP software other than SMF as well.

For more information, please see:
http://bugs.php.net/bug.php?id=30914
http://bugs.php.net/bug.php?id=31108

Thanks,
-[Unknown]
Title: Re: Has your forum stopped working this December?
Post by: Golden_Helmet on December 19, 2004, 01:58:34 AM
thanks for the update unknown. my host still runs 4.3.8, so i'm safe. i'll remember this if my host upgrades though :)
Title: Re: Has your forum stopped working this December?
Post by: Source on December 19, 2004, 02:42:29 AM
Yep Im using  4.3.9 and ive gotta update  it also so thanks for the info.  :)
Title: Re: Has your forum stopped working this December?
Post by: davon on December 19, 2004, 04:29:58 AM
darn, yesterday i asked my hoster to update to 4.3.10 ... so have thanks for the info about the Zend Optimizer :)
Title: Re: Has your forum stopped working this December?
Post by: peterstannard on December 20, 2004, 04:31:15 AM
hello unknown, i'm getting an unable to connect to the database message.
Title: Re: Has your forum stopped working this December?
Post by: Grudge on December 20, 2004, 04:32:28 AM
Is the database definetly online? Can you access it with phpMyAdmin? If so check your database settings are correct.
Title: Re: Has your forum stopped working this December?
Post by: [Unknown] on December 20, 2004, 04:34:08 AM
Please start new topics for new requests (http://www.simplemachines.org/community/index.php?topic=18624.0).... but, it looks like your MySQL server is down.  Consult your host and try using repair_settings.php.  What is repair_settings.php? (http://www.simplemachines.org/community/index.php?topic=18096.0)

-[Unknown]
Title: Re: Has your forum stopped working this December?
Post by: dhudd on December 20, 2004, 08:29:34 AM
Yes, it has: here are the messages when I try to access it.-
------------------------
Notice: Array to string conversion in /home/mphoaor/public_html/smf/Sources/Load.php on line 898
Notice: Undefined index: theme_template_error in /home/mphoaor/public_html/smf/Sources/Errors.php on line 235
Notice: Undefined offset: 106 in /home/mphoaor/public_html/smf/Sources/Errors.php on line 201
Notice: Undefined index: smf239 in /home/mphoaor/public_html/smf/Sources/Subs.php on line 806
Notice: Undefined index: smf239 in /home/mphoaor/public_html/smf/Sources/Subs.php on line 807
Notice: Undefined offset: 176 in /home/mphoaor/public_html/smf/Sources/Subs.php on line 807
Notice: Undefined index: smf239 in /home/mphoaor/public_html/smf/Sources/Subs.php on line 808
Notice: Undefined index: smf240 in /home/mphoaor/public_html/smf/Sources/Subs.php on line 809
Notice: Undefined index: theme_template_error in /home/mphoaor/public_html/smf/Sources/Load.php on line 915
--------------------------------------

I will try to work on the suggestions above. In the meantime any ideas as to where to look will be appreciated. Nothing has changed from the site's viewpoint so it must be in the host end. TIA

Dick
Title: Re: Has your forum stopped working this December?
Post by: Grudge on December 20, 2004, 08:37:31 AM
Sounds like a language file is missing, or more than likely your theme settings have become corrupt, maybe try repair_settings.php What is repair_settings.php? (http://www.simplemachines.org/community/index.php?topic=18096.0)
Title: Re: Has your forum stopped working this December?
Post by: dhudd on December 20, 2004, 08:46:41 AM
 :) Thanks for the prompt answer - it's working now with no action on my part, so I suspect it was a temporary glitch on the host server.

Nice to know there is such good help available - I'm saving the php help for future use. Thanks again.

Dick
Title: Re: Has your forum stopped working this December?
Post by: davon on December 20, 2004, 10:32:49 AM
my hoster told me, that he won't upgrade php to 4.3.10 on the server where my forum is hosted yet, but offered to move the whole domain to a newer server where 4.3.10 is already installed. i asked about Zend and i was told that 2.5.3 is installed there.

When i read this from the php Bugtracker...
Quote[26 Nov 4:18pm CET] phpbug at billmann-edv dot net

ok, I just realized that this only happens when you use the
ZendOptimizer 2.5.5. Without it and with the new version 2.5.7 it works
like expected...

Does this now mean i would be safe with 2.5.3 or only with 2.5.7 (or without Zend)?
Any hints please?
Title: Re: Has your forum stopped working this December?
Post by: diplomat. on December 20, 2004, 01:08:19 PM
my server is still on 4.3.6 so im cool. thanks for the notice
Title: Re: Has your forum stopped working this December?
Post by: [Unknown] on December 20, 2004, 01:44:03 PM
Dhudd, that error is caused by this issue.  That fact that it is resolved means they probably fixed Zend Optimizer.  Again, we can't do anything to change this issue - your host must.

Davon, indeed with Zend Optimizer uninstalled or at the latest version (2.5.7) it will work fine. (aren't these both things I said in the first post?)

-[Unknown]
Title: Re: Has your forum stopped working this December?
Post by: davon on December 20, 2004, 02:07:35 PM
sorry, english isn't my native language. wasn't really sure how to expound it. if this means "every version below 2.5.7" or "especially 2.5.5" (like mentioned in the quote from the php bugtracker). will try again to find further infos on other sites. hopefully i can figure it out.
Title: Re: Has your forum stopped working this December?
Post by: Jerry on December 22, 2004, 01:09:28 AM
forgot about this post when I posted this:
http://www.simplemachines.org/community/index.php?topic=22026.0;topicseen
But my host says they upgraded Zend as well :(
Title: Re: Has your forum stopped working this December?
Post by: [Unknown] on December 22, 2004, 01:13:22 AM
Quote from: Jerry on December 22, 2004, 01:09:28 AM
forgot about this post when I posted this:
http://www.simplemachines.org/community/index.php?topic=22026.0;topicseen
But my host says they upgraded Zend as well :(

Tell them they need to restart Apache.

-[Unknown]
Title: Re: Has your forum stopped working this December?
Post by: Jerry on December 22, 2004, 01:19:36 AM
They have restarted apache. . .
Quote from: phpinfo.phpThis program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.0.4, Copyright (c) 2003-2004, by Zend Technologies with Zend Optimizer v2.5.5, Copyright (c) 1998-2004, by Zend Technologies
I take it they are using 2.5.5 stil and need 2.5.7
Title: Re: Has your forum stopped working this December?
Post by: Jay? on December 22, 2004, 01:21:04 AM
You guys, make sure you back up your sites - there is a reason why 4.3.10 came out.  Also, most are on shared hosts, there is a pretty big exploit out that effect phpBB 2.0.10 and lower, which may allow a person to replace all .htm, .php, .asp. shtm, .jsp, and .phtm  with one of their choosing - http://www.kb.cert.org/vuls/id/497400 is the advisory.

I know this is not a phpbb support site - but I think it's important to make note that you should all backup your sites atleast once a week - you never know when the next exploit  will show up.

As far as your hosts, most use whm/cpanel - Let them know to use the following steps:
1 - upgrade to whm 9.9.9 (build 33)
2 - Recompile Apache using the update apache feature
3 - /scripts/installzendopt

I have compelted these steps on several server's and all is happy, remember - this is for whm/cpanel only - other O/S's - other ways :|

Title: Re: Has your forum stopped working this December?
Post by: Jerry on December 22, 2004, 01:26:37 AM
I make backups once a day, and once before I know my host is going to do something ;)
Title: Re: Has your forum stopped working this December?
Post by: AchoHosting on December 22, 2004, 02:23:05 AM
Can you clarify step 3 i dont get it.
Title: Re: Has your forum stopped working this December?
Post by: David on December 22, 2004, 02:57:52 AM
Quote from: AchoHosting on December 22, 2004, 02:23:05 AM
Can you clarify step 3 i dont get it.
It will update their version of Zend Optimizer, or install it.
Title: Re: Has your forum stopped working this December?
Post by: AchoHosting on December 22, 2004, 07:43:08 AM
where do you run it from or how do you run it  ??
Title: Re: Has your forum stopped working this December?
Post by: Ben_S on December 22, 2004, 07:57:33 AM
Quote from: AchoHosting on December 22, 2004, 07:43:08 AM
where do you run it from or how do you run it ??

If your the admin of a cPanel box, then I fear for your customers.

From the command line.
Title: Re: Has your forum stopped working this December?
Post by: AchoHosting on December 22, 2004, 08:32:07 AM
I am and i figured it out no thanks to you, i cant memorize every little thing in linux just had to do some reading.

All my customers are compliant


-PHP 4.3.10
-Zend 2.5.7

Happy Holidays everyone


If you are having problems getting the updates done and you need help im here for anyone, and i wont blow ya off or try to make ya look dumb like some people.

EMAIL:   nicholas@achohosting.com or support@achohosting.com and ill take care of you.

Title: Re: Has your forum stopped working this December?
Post by: [Unknown] on December 22, 2004, 08:45:12 AM
Sorry, AchoHosting, but a lot of the people here are weary of hosts they think will be a detriment to SMF's users.  Everyone is wrong sometimes, just as everyone is right sometimes.... even smart and stupid people.

-[Unknown]
Title: Re: Has your forum stopped working this December?
Post by: AchoHosting on December 22, 2004, 08:46:36 AM
its cool, i am taking the time to write a step by step post on how to upgrade our web hosting server if your running linux RH 9 and Cpanel/WHM
Title: Re: Has your forum stopped working this December?
Post by: AchoHosting on December 22, 2004, 08:54:30 AM
Refer to the guide i posted in another section of the SMF forum to correct your linux /cpanel/whm web hosting servers

http://www.simplemachines.org/community/index.php?topic=22047.0

8)
Title: Re: Has your forum stopped working this December?
Post by: Jay? on December 22, 2004, 09:09:23 AM
Not trying to blow you off - I was up to 2am closing clients forums down with the phpBB exploit in it - I did not see where it was closed with just the PHP upgrade.  I have to sleep sometime.

However if you have been around WHM/Cpanel for any lenght of time, those 3 lines are all you really need.  Actually line 1 should be /scripts/upcp -f  - otherwise you will mostliky break Fantastico if you have it installed.  The second line you may also do from the command line as well.
Title: Re: Has your forum stopped working this December?
Post by: ketchup on December 22, 2004, 09:20:57 AM
Hello

I haven't upgraded to SM yet and I am still running Yabbse.

Yesterday my host said that they "reset their MySql server"  and my site gives the error

Database Error

Please try again. If you come back to this error screen, report the error to an administrator.



I want to upgrade to SM but now I'm all confused:

-The hot said that their tech team is working on fixing my site....I don't know what they are doing...talked to them last night.

-If I upgrade to SM am I going to loose all my forum messages? That would be a disaster.

-If I upgrade to SM which I would really like to do now will that fix my problem or I have to wait for the host?

I'm so stressed I can't think :o :'(
Title: Re: Has your forum stopped working this December?
Post by: Trekkie101 on December 22, 2004, 09:25:00 AM
1. Your site is back

2. No theres a upgrader that will move them all across

3. Your board seems fine.
Title: Re: Has your forum stopped working this December?
Post by: ketchup on December 22, 2004, 09:28:52 AM
oh!

see I come here and it comes back,  before I posted it was down.

uhm thanks guys!

Would it be a stupid question if I asked how to go about doing the move, I think I'm inputting the wrong search terms.


Also how do I go about backing up the files I have now...just incase I screw up? Do I just ftp everything to my hard drive from my webspace?



Title: Re: Has your forum stopped working this December?
Post by: Trekkie101 on December 22, 2004, 09:31:02 AM
Convertors on the downloads page, thats on the menu at the side.
Title: Re: Has your forum stopped working this December?
Post by: ketchup on December 22, 2004, 09:31:26 AM
thank you :)
Title: Re: Has your forum stopped working this December?
Post by: Ben_S on December 22, 2004, 10:04:08 AM
Quote from: Ben_S on December 22, 2004, 07:57:33 AM
From the command line.

Quote from: AchoHosting on December 22, 2004, 08:32:07 AMI am and i figured it out no thanks to you

You never read my post then, since I did say from the command line.

QuoteI cant memorize every little thing in linux just had to do some reading.

No comment as you will take anything I say the wrong way.
Title: Re: Has your forum stopped working this December?
Post by: ketchup on December 22, 2004, 10:49:05 AM
Ok I'm trying to do a new SM install just to check it out

When I was ftp'ing the files up it was going really fast but now its been like 10 min and the ftp is still working...is that normal?

This is what I see on the ftp...do I still wait?

COMMAND:>   LIST
STATUS:>     Connecting ftp data socket 216.187.70.170:53195...
      150 Accepted data connection
      226-Options: -a -l
      226 20 matches total
COMMAND:>   REST 0
      350 Restarting at 0
COMMAND:>   REST 0
      350 Restarting at 0
COMMAND:>   TYPE I
      200 TYPE is now 8-bit binary
COMMAND:>   PWD
      257 "/public_html/forum" is your current location
COMMAND:>   REST 0
      350 Restarting at 0
COMMAND:>   REST 0
      350 Restarting at 0


It say on my cute ftp "queue window" that all the files have been uploaded but the ftp is still working doing somthing...I dunno.
Title: Re: Has your forum stopped working this December?
Post by: Trekkie101 on December 22, 2004, 10:54:57 AM
It can take some time to upload each file individually even on a 10MB connection it may take a little time, but have you started uploading the files yet?
Title: Re: Has your forum stopped working this December?
Post by: ketchup on December 22, 2004, 10:56:40 AM
It say on my cute ftp "queue window" that all the files have been uploaded but the ftp is still working doing somthing...I dunno.

Usually when its done it will stop working and display the files in the public html folder.
Title: Re: Has your forum stopped working this December?
Post by: Trekkie101 on December 22, 2004, 11:00:08 AM
Try the address for the convertor and see if it works, also make sure you backup before you do.
Title: Re: Has your forum stopped working this December?
Post by: ketchup on December 22, 2004, 11:10:26 AM
okies it worked!  :)


I see the forum....forgot to delete instal.php

I was just testing this on some blank webspace before I convert my forum to SM

How do I back up my yabbse files...do I just download everything from my ftp on to my hard drive? ???
Title: Re: Has your forum stopped working this December?
Post by: Trekkie101 on December 22, 2004, 11:14:48 AM
Atachments and Avatars yes, the rest is fine, but back up your database in the admin CP and make sure you do.
Title: Re: Has your forum stopped working this December?
Post by: ketchup on December 22, 2004, 11:16:39 AM
thanks trekkie
Title: Re: Has your forum stopped working this December?
Post by: Trekkie101 on December 22, 2004, 11:20:07 AM
No Problem.  ;)
Title: Re: Has your forum stopped working this December?
Post by: Anguz on December 22, 2004, 06:21:05 PM
ketchup, there's an Install and Upgrade Help board . That'd be the place to ask those questions on that rather than this topic. ;)
Title: Re: Has your forum stopped working this December?
Post by: ^Raven^ on December 26, 2004, 01:56:03 AM
For all people who are hosted by Rochen (www.rochen.com) you needn't worried.  They upgraded but experienced problems with websites going down so they dialed back the upgrade.
Title: Re: Has your forum stopped working this December?
Post by: trenchteam on December 26, 2004, 06:36:59 PM
yuppers. Mine is still down. im at ipowerweb.com and they said they are now aware of the Zend problem, and are updating all servers in order. It make take a few days! WEEKS!  WTF! >:(
Title: Re: Has your forum stopped working this December?
Post by: Ben_S on December 26, 2004, 06:38:23 PM
I'd move host if I were you.
Title: Re: Has your forum stopped working this December?
Post by: trenchteam on December 26, 2004, 08:41:02 PM
Its not my host. Its a clients host that he choose. Im at webhost4life and been there for 4 years now. No problems whatsoever. Haven't paid a time in hosting since I first bought my 100MB of space for 149.00!  ;)
Title: Re: Has your forum stopped working this December?
Post by: JohnDoe on December 27, 2004, 04:03:32 AM
Have had no problems.  Just a long task of converting my vB3 forum to SMF.
Title: Re: Has your forum stopped working this December?
Post by: mytreo on December 27, 2004, 07:52:04 AM
My forum is having serious problems since 0.00 on 25 December. Error message: MySQL Server has gone away. I have upgraded to php 4.3.10  and MySQL to 4.1.8, running on IIS6/Win2K3.
Title: Re: Has your forum stopped working this December?
Post by: smooth_jake on February 17, 2005, 12:30:13 AM
Quote from: [Unknown] on December 19, 2004, 12:03:26 AM
The most recent release of PHP (http://www.php.net/), 4.3.10, has caused many of the people using SMF trouble.  This can affect installation, upgrading, and general forum use.

If you've come here looking to see why you're having these problems, it may be because your host recently updated PHP.  This is not because SMF is incompatible with PHP 4.3.10 - instead, it is because older versions of Zend Optimizer (and some others, such as PHP-Accelerator) are not.

If you are having these problems, please ask your host to update Zend Optimizer or any other PHP acceleration software they have installed.  If this is not an option, they should disable said optimization software - this will affect PHP software other than SMF as well.

For more information, please see:
http://bugs.php.net/bug.php?id=30914
http://bugs.php.net/bug.php?id=31108

Thanks,
-[Unknown]

what is this error?

Notice: Undefined index: fuseBox_autoOptDatabase in /home/marco/public_html/forum/Sources/Subs.php on line 232

Notice: Undefined index: is_admin in /home/marco/public_html/forum/Sources/Security.php on line 552

Notice: Undefined index: permissions in /home/marco/public_html/forum/Sources/Security.php on line 559

Warning: in_array(): Wrong datatype for second argument in /home/marco/public_html/forum/Sources/Security.php on line 559
session_start(): Cannot send session cookie - headers already sent by (output started at /home/marco/public_html/forum/Sources/Subs.php:232)
Title: Re: Has your forum stopped working this December?
Post by: [Unknown] on February 17, 2005, 12:32:23 AM
I would guess your problem has more to do with mods or similar than anything else.  Try uploading all the files from the upgrade zip file.

-[Unknown]