Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2017-03-13 11:41:25

sgw
Member
Registered: 2012-12-18
Posts: 59

screwed up 4.5.7 installation, starting over, need MLP plugin

greetings.
last week I thought “why not upgrade my website?”. Didn’t check for MLP compatibility first and went for it.
DB dump done. The guy who did the website back then is unavailable so I have to come up with solutions by myself and your help hopefully.

I don’t understand a very basic issue: what about the directory structure? Is there a nested “textpattern/textpattern” dir or not in a standard installation? On my server it always was like that and I am not fully sure if that is because the former webguy somehow didn’t get it working in another way or if this is the intended way to do it. AND my problem is: I only have a copy of the lower textpattern-dir :-(, not the full tree (issued a ticket at my hoster, maybe I can roll that back).

My status:
unpacked 4.6.2 to /var/www/localhost/htdocs/textpattern (apache vhost DocumentRoot)
re-applied config.php
DB-connect works.
all plugins disabled now (via SQL-update-call)

I get in diagnose:

missing files
/../index.php,
/../css.php

why? Because I don’t have these 2 nested dirs?

If I get over this (website doesnt work right now): how to get at least one of the 2 language versions online for a start?

I know about that github-branch-version of the mlp-plugin already from another thread … some questions for me there as well.

Thanks so far, Stefan

Offline

#2 2017-03-13 11:52:26

sgw
Member
Registered: 2012-12-18
Posts: 59

Re: screwed up 4.5.7 installation, starting over, need MLP plugin

output of diagnosis page (partly german):

Textpattern-Version: 4.6.2 (51c56f8eddfab37312c6ef7caaccbbeb)
Letzte Aktualisierung: 2017-03-13 11:22:54/2016-10-21 07:49:48
Document Root: /var/www/localhost/htdocs/textpattern
$path_to_site: /var/www/localhost/htdocs/textpattern
Textpattern-Pfad: /var/www/localhost/htdocs/textpattern
Schema der URLs: messy
Temporäres Verzeichnis: /var/www/localhost/htdocs/textpattern/tmp
Seiten-URL: www.oops.co.at
PHP-Version: 5.6.30-pl0-gentoo
GD Graphics Library: bundled (2.1.0 compatible); Unterstützte Grafikformate: GIF, JPG, PNG.
Server TZ: Europe/Vienna
Lokale Serverzeit: 2017-03-13 12:50:31
Sommerzeit: 0
Sommer-/Winterzeit automatisch umstellen?: 0
Zeitzone: Europe/Vienna (3600)
MySQL: 5.5.5-10.0.29-MariaDB
db_server_time: 2017-03-13 12:50:31
db_server_timeoffset: 0 s
db_global_timezone: SYSTEM
db_session_timezone: SYSTEM
Regionale Einstellungen: de_DE.UTF-8
Server: Apache
Apache-Version: Apache
PHP Server API: apache2handler
RFC-2616-Header: 
Betriebssystem des Servers: Linux 4.4.39-gentoo
Admin-Oberfläche: hive 4.6.2
Voruntersuchung: 
------------------------
Fehlende Dateien: 
	/../index.php, 
	/../css.php
------------------------
Inhalt der .htaccess-Datei: 
------------------------
<IfModule mod_headers.c>
    Header set Content-Security-Policy "frame-ancestors 'self'"
</IfModule>
------------------------

Offline

#3 2017-03-13 13:38:59

sgw
Member
Registered: 2012-12-18
Posts: 59

Re: screwed up 4.5.7 installation, starting over, need MLP plugin

Managed to get my old htdocs-dir back and fixed the site to be displayed at least somehow.

pls advise:

If I want/have to stay with MLP-plugin: stay at txp 4.5.7?
which version of MLP?

Offline

#4 2017-03-13 13:43:09

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

Re: screwed up 4.5.7 installation, starting over, need MLP plugin

Hi Stefan, it really seems like the update is incomplete, not only the the two files mentioned in diagnostics but also textpattern.js is still 4.5.7. Start there and FTP the files over for another time.

Is there a nested “textpattern/textpattern” dir or not in a standard installation

Looking at the path of textpattern.js (and your .htaccess): No, looks like the standard path for the textpattern folder, root level installation.

Edit: OK, your third post wasn’t there when I started my answer.

Last edited by uli (2017-03-13 13:44:21)


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

Offline

#5 2017-03-13 13:52:15

sgw
Member
Registered: 2012-12-18
Posts: 59

Re: screwed up 4.5.7 installation, starting over, need MLP plugin

current tree:

/var/www/localhost/htdocs/textpattern 
└▶ $ tree -L 2
.
├── css
│   ├── generic.css
│   ├── ie.css
│   ├── img
│   ├── import.css
│   ├── layout.css
│   ├── print.css
│   └── reset.css
├── css.php
├── files
│   ├── AMANDA-HOWTO-Collection.pdf
│   ├── amanda-howto.pdf
│   ├──
├── images
│   ├── 11.png
│   ├── 11t.png
│   ├── 14.jpg
│   ├── 14t.jpg
│   ├── 15.jpg
│   ├── 15t.jpg
│   ├── 16.png
│   ├── 16t.png
│   ├── 2.gif
│   ├── 2t.gif
│   ├── 3.gif
│   ├── 4.gif
│   ├── 5.gif
│   ├── 5t.gif
│   ├── 6.jpg
│   ├── 7.gif
│   ├── 8.gif
│   ├── 8t.gif
│   ├── 9.jpg
│   └── 9t.jpg
├── index.php
├── js
│   ├── css3-mediaqueries.js
│   └── html5shiv.js
├── rpc
│   ├── index.php
│   └── TXP_RPCServer.php
├── sites
│   ├── README.txt
│   └── site1
└── textpattern
    ├── checksums.txt
    ├── config-dist.php
    ├── config.php
    ├── css.php
    ├── include
    ├── index.php
    ├── jquery.js
    ├── l10n.css
    ├── lang
    ├── lgpl-2.1.txt
    ├── lib
    ├── license.txt
    ├── publish
    ├── publish.php
    ├── textpattern.css
    ├── textpattern.js
    ├── theme
    ├── tmp
    ├── txp_img
    └── update

issue I see right now:

I am caught at “setting language” until I rename “update” dir to eg. “update.DISABLED”
but then it says “missing files update…”

I thought I’d copy over the files from a fresh 4.5.7-tarball, no change.
Scratching my head here, this takes me hours already.

EDIT: seems I only have a sources tarball for 4.5.7. Could someone point me at “the full one”? ;-) thanks

Edit 2 (uli): Formatted file tree

Last edited by uli (2017-03-13 14:08:02)

Offline

#6 2017-03-13 14:12:17

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

Re: screwed up 4.5.7 installation, starting over, need MLP plugin

I’ve to abandon here, but others would certainly like to know what TXP version you currently are referring to.


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

Offline

#7 2017-03-13 14:18:25

sgw
Member
Registered: 2012-12-18
Posts: 59

Re: screwed up 4.5.7 installation, starting over, need MLP plugin

I want to get back to 4.5.7 with MLP working at least.
Meanwhile I found a 4.5.7 tarball in older release notes, couldn’t fix that “stuck in language settings” issue so far.

Offline

#8 2017-03-13 15:05:29

sgw
Member
Registered: 2012-12-18
Posts: 59

Re: screwed up 4.5.7 installation, starting over, need MLP plugin

It seems I am not able to get that fixed.
Looking for a fitting MLP-file to upload (=install it from scratch) sends me in circles …

The README at https://github.com/Bloke/MLP lists a l10n.txt, but the git-repo itself doesn’t contain one.
I only find “plugins/sources” … what to do with them?

Offline

#9 2017-03-13 15:21:34

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,012
Website GitHub Mastodon Twitter

Re: screwed up 4.5.7 installation, starting over, need MLP plugin

sgw wrote #304683:

It seems I am not able to get that fixed.
Looking for a fitting MLP-file to upload (=install it from scratch) sends me in circles …

The README at https://github.com/Bloke/MLP lists a l10n.txt, but the git-repo itself doesn’t contain one.
I only find “plugins/sources” … what to do with them?

Hi sgw. Did you check the mlp plugin thread? Especially the last post.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#10 2017-03-13 15:25:29

sgw
Member
Registered: 2012-12-18
Posts: 59

Re: screwed up 4.5.7 installation, starting over, need MLP plugin

I read so much lately … I am losing track.
Isn’t that meant for use with txp-4.6.x only ?

Offline

#11 2017-03-13 15:41:13

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,012
Website GitHub Mastodon Twitter

Re: screwed up 4.5.7 installation, starting over, need MLP plugin

sgw wrote #304685:

I read so much lately … I am losing track.
Isn’t that meant for use with txp-4.6.x only ?

Indeed it is and 4.6.x is recommended not only because of security issues but also because of server compatibility ones. If you stick in 4.5.x the chances are that your site will stop functioning sooner than later as most servers are updating their php/mysql.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#12 2017-03-13 15:50:15

sgw
Member
Registered: 2012-12-18
Posts: 59

Re: screwed up 4.5.7 installation, starting over, need MLP plugin

Upgrading to 4.6.2 was breaking everything for me … this is where my mess started.
And I still don’t get it how to install files from plugins subdir in

https://github.com/dshovchko/MLP/tree/v4.6.0.tables2views

there are no 3 .txt files. Pls advise, sorry …

Offline

Board footer

Powered by FluxBB