Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2014-04-03 16:09:05

Bicss11
Member
Registered: 2014-04-03
Posts: 24

Re: [solved] Lot of errors afters upgrading

Bloke wrote #280038:

I also had a site the other day that threw a 500 Internal Server Error and it was the htaccess file. For some reason I had to add:

RewriteBase /...

after the RewriteEngine On line before it would work. This was on a 1&1 host.

Yes, i have a host on 1and1.
I have change the .htacces as this but the errors still apears

#DirectoryIndex index.php index.html

#Options +FollowSymLinks
#Options -Indexes
#ErrorDocument 403 default

<IfModule mod_rewrite.c>
RewriteBase /
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) – [PT,L]
RewriteRule ^(.*) /index.php
</IfModule>

#php_value register_globals 0

  1. SVG
    AddType image/svg+xml svg svgz
    AddEncoding gzip svgz

Offline

#14 2014-04-03 16:13:39

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

Re: [solved] Lot of errors afters upgrading

Bicss11 wrote #280041:

RewriteBase /
RewriteEngine On

Try to exchange these two lines, like Bloke said.


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

Offline

#15 2014-04-03 16:22:45

Bicss11
Member
Registered: 2014-04-03
Posts: 24

Re: [solved] Lot of errors afters upgrading

I did it but not working :S

Offline

#16 2014-04-03 16:28:06

Bicss11
Member
Registered: 2014-04-03
Posts: 24

Re: [solved] Lot of errors afters upgrading

Im installing the textpattern again, i will say if it works Thx!

Offline

#17 2014-04-03 16:53:58

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,476

Re: [solved] Lot of errors afters upgrading

Here the part of the Textpattern .htacces file you need (“RewriteEngine On” first), plus your part (SVG as comment):

<IfModule mod_rewrite.c>

	RewriteEngine On
	RewriteBase /

	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>


#	SVG

	AddType image/svg+xml .svg .svgz
	AddEncoding gzip .svgz

Last edited by GugUser (2014-04-03 17:06:04)

Offline

#18 2014-04-03 21:13:57

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,721
Website GitHub

Re: [solved] Lot of errors afters upgrading

GugUser wrote #280045:

plus your part (SVG as comment)

Yes, you’re right, good catch. I have no idea why 1&1 require .htaccess changes like this, although their file system setup is a little strange which may go partway toward explaining it.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#19 2014-04-04 07:39:10

Bicss11
Member
Registered: 2014-04-03
Posts: 24

Re: [solved] Lot of errors afters upgrading

Hi!
Im having errors installing MLP plugin.

I have copied the textpattern folder but then, when im pasting the code of the three files on the source folder the code give me error.

Im doing all okay?

Thx

Last edited by Bicss11 (2014-04-04 07:39:36)

Offline

#20 2014-04-04 08:04:23

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,721
Website GitHub

Re: [solved] Lot of errors afters upgrading

Bicss11 wrote #280058:

when im pasting the code of the three files on the source folder the code give me error.

Hmm, try installing the following compiled plugins in the regular manner from the Admin->Plugins panel:


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#21 2014-04-04 10:09:41

Bicss11
Member
Registered: 2014-04-03
Posts: 24

Re: [solved] Lot of errors afters upgrading

Thx Bloke, only two errors more.
When i entering to my page mlp now is not working and it gives me two errors of two plugin types
I have l10n and zem_nth plugins installes and activated

Error de etiqueta <txp:l10n_lang_list list_class=“idiomas” current_class=“idioma_on” link_current=“1” show_empty=“1” /> -> Textpattern Warning: la etiqueta no existe mientras se analizaba el bloque cabecera en la página default
Error de etiqueta <txp:zem_nth step=“2” of=“2”> -> Textpattern Warning: la etiqueta no existe mientras se analizaba el bloque ultimas_noticias en la página default
Error de etiqueta <txp:zem_nth step=“2” of=“2”> -> Textpattern Warning: la etiqueta no existe mientras se analizaba el bloque ultimas_noticias en la página default
Error de etiqueta <txp:zem_nth step=“2” of=“2”> -> Textpattern Warning: la etiqueta no existe mientras se analizaba el bloque ultimas_noticias en la página default
Error de etiqueta <txp:zem_nth step=“2” of=“2”> -> Textpattern Warning: la etiqueta no existe mientras se analizaba el bloque ultimas_noticias en la página default
Error de etiqueta <txp:zem_nth step=“2” of=“2”> -> Textpattern Warning: la etiqueta no existe mientras se analizaba el bloque ultimas_noticias en la página default
Error de etiqueta <txp:zem_nth step=“2” of=“2”> -> Textpattern Warning: la etiqueta no existe mientras se analizaba el bloque ultimas_noticias en la página default
Error de etiqueta <txp:zem_nth step=“2” of=“2”> -> Textpattern Warning: la etiqueta no existe mientras se analizaba el bloque ultimas_noticias en la página default
Error de etiqueta <txp:zem_nth step=“2” of=“2”> -> Textpattern Warning: la etiqueta no existe mientras se analizaba el bloque ultimas_noticias en la página default

Last edited by Bicss11 (2014-04-04 10:19:16)

Offline

#22 2014-04-04 10:34:32

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,721
Website GitHub

Re: [solved] Lot of errors afters upgrading

Weird. Since both plugins are activated that implies there’s some other error lurking somewhere. Anything in your error_log files on the server that might give us a clue?


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#23 2014-04-04 11:15:58

Bicss11
Member
Registered: 2014-04-03
Posts: 24

Re: [solved] Lot of errors afters upgrading

I cant see error logs because im hosted on 1and1 :S

Offline

#24 2014-04-04 11:22:04

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,721
Website GitHub

Re: [solved] Lot of errors afters upgrading

Bicss11 wrote #280070:

I cant see error logs because im hosted on 1and1 :S

Sure you can. Use your FTP client to browse the folders. error_log files normally pop up in the site root (for public side errors) or in the textpattern folder for admin-side errors. Might need to refresh the directory first before they show up.

If those files don’t exist then there are no errors being generated and we’ll have to look elsewhere to try and determine the cause.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB