Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2015-10-05 04:22:58

chr1spy
Member
From: United States
Registered: 2009-07-21
Posts: 11

Website suddenly down

A site I built for a client several years ago suddenly went down. Any help would be much appreciated.

After logging into the admin panel I get the following at the top of the page above the admin header:

Deprecated: Function set_magic_quotes_runtime() is deprecated in /hermes/walnaweb04a/b289/moo.liaportraitdesign/textpattern/lib/txplib_db.php on line 14 Warning: Cannot modify header information – headers already sent by (output started at /hermes/walnaweb04a/b289/moo.liaportraitdesign/textpattern/lib/txplib_db.php:14) in /hermes/walnaweb04a/b289/moo.liaportraitdesign/textpattern/include/txp_auth.php on line 196 Warning: Cannot modify header information – headers already sent by (output started at /hermes/walnaweb04a/b289/moo.liaportraitdesign/textpattern/lib/txplib_db.php:14) in /hermes/walnaweb04a/b289/moo.liaportraitdesign/textpattern/include/txp_auth.php on line 203 Notice: Undefined index: JPG Support in /hermes/walnaweb04a/b289/moo.liaportraitdesign/textpattern/include/txp_diag.php on line 398

I ran diagnostics and got the following:

Textpattern version: 4.0.8 (r3085)
Last Update: 2009-03-02 21:59:20/2009-03-02 08:00:00
Document root: /home/users/web/b289/moo.liaportraitdesign (/hermes/walnaweb04a/b289/moo.liaportraitdesign)
$path_to_site: /hermes/walnaweb04a/b289/moo.liaportraitdesign
Textpattern path: /hermes/walnaweb04a/b289/moo.liaportraitdesign/textpattern
Permanent link mode: section_id_title
Temporary directory path: /home/users/web/b289/moo.liaportraitdesign/textpattern/tmp
Site URL: liaportraitdesign.com
TZ: EST5EDT
PHP version: 5.3.29
Register globals: 1
GD Image Library: version bundled (2.1.0 compatible), supported formats: GIF, PNG
Server Local Time: 2015-10-04 23:58:59
MySQL: 5.5.32-log
Locale: en_US.UTF-8
Server: Apache/2
PHP Server API: cgi-fcgi
RFC 2616 headers: 0
Server OS: Linux 3.14.27
Active plugins: pap_contact_cleaner-0.1, zem_contact_reborn-4.0.3.20, ako_cssParse-0.1, zem_contact_lang-4.0.3.6, rss_suparchive-0.18, soo_if_frontpage-0.1.2, smd_gallery-0.51, smd_lib-0.36

Pre-flight check:
————————————
Some Textpattern files have been modified: /hermes/walnaweb04a/b289/moo.liaportraitdesign/textpattern/lib/admin_config.php, /hermes/walnaweb04a/b289/moo.liaportraitdesign/textpattern/lib/txplib_head.php
————————————

.htaccess file contents:
————————————
#DirectoryIndex index.php index.html

#Options +FollowSymLinks
#Options -Indexes

<IfModule mod_rewrite.c> RewriteEngine On #RewriteBase /relative/web/path/

RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]

RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*) index.php

RewriteCond %{HTTP:Authorization} !^$ RewriteRule .* – [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>

#php_value register_globals 0

————————————

Thanks,

Chris

Offline

#2 2015-10-05 05:17:34

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,075
Website Mastodon

Re: Website suddenly down

Who are you hosted with? Could it be they updated some functional app and now the older version of TxP no longer runs?

Can you backup all files and the DB .. might be wise to do this before anything else.

Once all backups take place you could try and update to the latest version of TxP.

But perhaps wait until some more techie Txp type comes on and may provide more helpful info.


…. texted postive

Offline

#3 2015-10-05 05:20:28

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,075
Website Mastodon

Re: Website suddenly down

PS…see this

magic_quotes_runtime functions are deprecated starting from 5.3 PHP version

http://stackoverflow.com/questions/13117937/function-set-magic-quotes-runtime-is-deprecated-in-phpmailer


…. texted postive

Offline

#4 2015-10-05 08:55:49

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,137
GitHub

Re: Website suddenly down

chr1spy wrote #295388:

A site I built for a client several years ago suddenly went down. Any help would be much appreciated.

[…]

Textpattern version: 4.0.8 (r3085)

You need to upgrade Textpattern as a priority. That’s old software, and the server has likely been upgraded PHP-wise and that throws the errors.

Take backups, put the Textpattern files into place, and see how you go. More info here if you need it.

Last edited by gaekwad (2015-10-05 08:56:07)

Offline

#5 2015-10-05 17:45:32

chr1spy
Member
From: United States
Registered: 2009-07-21
Posts: 11

Re: Website suddenly down

Thanks everyone. I’ll try updating Textpattern and see how it goes. I built the site years ago and the client just reached out to me. So, not surprising that Textpattern needs updating.

Offline

#6 2015-10-05 22:47:21

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,304

Re: Website suddenly down

Hi chr1spy, update all your plugins, too, there are some newer ones available. Two exceptions, though: rss_suparchive is no longer supported, maybe it’s still working. But you clearly won’t be able to use ako_cssParse on the current Textpattern version because CSS isn’t base64-encoded any longer. Gocom had released a version that could handle unencoded CSS, rah_css_parse, linked here with all the caution remarks you can read over at his website. He’s released newer plugins, though, that – among other things – take on the task of parsing CSS. A good point to start reading on these might be this post.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

Board footer

Powered by FluxBB