Site errors

Permalink 1 user found helpful
Hi.

Have had site up and working happily for 2 years.

Has now gone rogue. See:http://www.blackwellviolins.co.uk/...

Multiple 'Strict Standards: Non-static method' messages showing and can't access the edit function (same messages).

Any ideas on what to do.

I am not a code monkey - basic understanding of HTML and have downloaded a copy of the HTdocs file from the host server.

Thanks

Judith

 
mesuva replied on at Permalink Reply
mesuva
This can happen when the host forces a PHP version upgrade.

You could contact your host and see if they can bump the PHP version down to 5.3 (I bet it's on PHP 5.4). Then I'd suggest you look to update your site 5.6.x, as that then will work with more recent PHP versions.

With updates, etc, make sure you take a backup of all your files AND the database, so if it all goes belly up you can restore everything and start over.
blackwellviolins replied on at Permalink Reply
Have contacted the host (Fasthosts). They say that they have not altered the PHP environment in any way that could cause this scripting problem.

They are using PHP 5.4 and say they can't revert to 5.3.

The site is running on latest Concrete version.

Any other ideas?
WebcentricLtd replied on at Permalink Reply
Hello, it seems a little strange that they qualified their statement by adding 'in any way that would have caused this scripting problem.' Sounds like they may have made a change but just didn't expect any fallout from it.

you could try asking your host to turn off php errors and warnings etc for your webspace -

you could try adding this to the bottom of your htaccess file (you need to be careful with this file - I'd take a copy first).

php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off

You are on a reasonably old version of Concrete5 so you could upgrade as Mesuva suggested.
blackwellviolins replied on at Permalink Reply 1 Attachment
Hi Guys. Many thanks you for your help so far.

Have just spent another 45min on the Fasthosts technical helpline: They say that the PHP version makes no difference in this case and that test php files are loading OK to the server. Adding your suggested code just resulted in a 500 error message.

Don't know ho0w I update the Concrete version when I can't access the client side edit function

They suggest reloading the site, keeping the same database. Unfortunately the original site copy went with my last computer when the RAID storage was revealed not to be working.

AARGGH!

I don't know whether the error log tells you anything (attached) more.

Tempted to forsake CM and go back to a simple HTML site, which I can cope with!
WebcentricLtd replied on at Permalink Reply
sorry - they're wrong. It sounds like you need to Move your website to a new host - their advice sounds worthless to me. Sorry to be so blunt but they're giving you a bum steer and you could wreck your site.
WebcentricLtd replied on at Permalink Reply
apologies for sounding so negative in the last post.

The issue is that your host doesn't really understand the issue.
You're onConcrete5.5 but something has changed inthe server environment so all of the warnings and messages and errors that are normally hidden are being output tothe screen. If you scroll through the page you'll stil see content mixed in with all the errors.

You might be able to force an upgrade to 5.6 but you'd really need a skilled C5 person to do this - and there might still be issues.

You could move to another host but you'd have tomake sure their hosting will work properly with your site.
blackwellviolins replied on at Permalink Reply
Andy.

Sorry to be a pain, but can you tell me how exactly to express your suggested code addition. The htaccess file currently reads:

# -- concrete5 urls start --<IfModule mod_rewrite.c>RewriteEngine OnRewriteBase /RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME}/index.html !-fRewriteCond %{REQUEST_FILENAME}/index.php !-fRewriteRule ^(.*)$ index.php/$1 [L]</IfModule># -- concrete5 urls end --


Thought to try tinkering myself.

If that doesn't work, I guess it's back to rebuilding the site and stop bothering you guys.
WebcentricLtd replied on at Permalink Reply
I'd put it right at the end of the file after

concrete5 urls end --

If you don't have any luck I could have a little look for you late afternoon / early evening.
No guarantees but I'd at least be able to work out if it is possiible to suppress the messages or if it would be worthwhile trying a forced upgrade / move to another host.
blackwellviolins replied on at Permalink Best Answer Reply
Andy. Thanks.

Tried appending suggested code but results in 500 Server error message.

So have reloaded original htaccess file.

Would be very grateful if you can have a look. Do you need ftp access? If so email me:
jsblackwell@btinternet.com

Thanks again.
blackwellviolins replied on at Permalink Reply
Just a note to thank Andy for all his help in sorting out this problem - he's a star!
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Your site is running concrete5 - 5.5.1
You should upgrade to 5.6 as you have already been advised..