Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2013-01-11 11:45:07

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Server 500 error

Just working on a site for a client, and I’m getting a Server 500 Error.

In my diagnostics I have the following message, are any of these to blame?

The following PHP functions (which may be necessary to run Textpattern) are disabled on your server: escapeshellarg, escapeshellcmd, proc_close, ini_alter, show_source, proc_nice, proc_terminate, proc_get_status, proc_close, pfsockopen, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, symlink

Or is it something else? Some but not all of those are listed here

Just trying to narrow down the cause really.

Phil

Offline

#2 2013-01-11 12:40:52

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,323
Website Mastodon

Re: Server 500 error

None of these functions are required. Does the error persist once you delete or rename .htaccess in the site’s root directory?

Offline

#3 2013-01-11 12:42:21

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Server 500 error

No, if I delete the .htaccess file I don’t get the 500 Error. Ideas?

Offline

#4 2013-01-11 12:53:18

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,323
Website Mastodon

Re: Server 500 error

The most common cause for these errors is mod_rewrite.

Try to uncomment the RewriteBase line and add a valid URL base. You may find further hints here if you can make sense of the translation.

Last edited by wet (2013-01-11 12:58:30)

Offline

#5 2013-01-11 13:11:26

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Server 500 error

It’s definitely something to do with mod_rewrite, if I set RewriteEngine Off I get the same result as deleting the .htaccess file (i.e. it works but the URLs are messy).

What exactly should as the valid URL base, it’s not a path like this (example)…

RewriteBase /vhost/vhost11/mysite.co.uk/www/

…which doesn’t work by the way, still gives error 500.

Last edited by philwareham (2013-01-11 13:11:58)

Offline

#6 2013-01-11 13:14:08

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,323
Website Mastodon

Re: Server 500 error

Have you tried RewriteBase / (assuming the site starts at the server’s root)?

Offline

#7 2013-01-11 13:24:57

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Server 500 error

Ah ha! That seems to have worked. Thanks Robert!

Offline

Board footer

Powered by FluxBB