News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Has your forum stopped working this December?

Started by [Unknown], December 19, 2004, 12:03:26 AM

Previous topic - Next topic

[Unknown]

The most recent release of PHP, 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]

Golden_Helmet

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 :)


davon

darn, yesterday i asked my hoster to update to 4.3.10 ... so have thanks for the info about the Zend Optimizer :)

peterstannard

hello unknown, i'm getting an unable to connect to the database message.

Grudge

Is the database definetly online? Can you access it with phpMyAdmin? If so check your database settings are correct.
I'm only a half geek really...

[Unknown]

Please start new topics for new requests.... but, it looks like your MySQL server is down.  Consult your host and try using repair_settings.php.  What is repair_settings.php?

-[Unknown]

dhudd

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

Grudge

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?
I'm only a half geek really...

dhudd

 :) 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

davon

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?

diplomat.

my server is still on 4.3.6 so im cool. thanks for the notice
avidSOUND.com: Where Aspiring Musicians Can Be HEARD!

[Unknown]

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]

davon

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.

Jerry



- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

"If all you look for is the negative in things, you will never see the positive."

[Unknown]

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]

Jerry

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


- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

"If all you look for is the negative in things, you will never see the positive."

Jay?

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 :|

-Jay

Jerry

I make backups once a day, and once before I know my host is going to do something ;)


- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

"If all you look for is the negative in things, you will never see the positive."

AchoHosting

Owner Acho Hosting Solutions
Nicholas R Acho
Email: [email protected]
URL: http://www.achohosting.com

Advertisement: