Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
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
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
Re: Server 500 error
No, if I delete the .htaccess file I don’t get the 500 Error. Ideas?
Offline
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
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
Re: Server 500 error
Have you tried RewriteBase /
(assuming the site starts at the server’s root)?
Offline
Re: Server 500 error
Ah ha! That seems to have worked. Thanks Robert!
Offline
Pages: 1