Support

Admin Tools

#18503 500 error when using htaccess maker even when all options turned to no

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by user81632 on Wednesday, 18 December 2013 08:25 CST

user81632
 As per the documentation, I initially tried making an htaccess file with the following parameters:
(a) all options set to No
(b) no changes in any of the text areas, allowing or not allowing certain file types .. such as in user agents to block, back end directories etc ..
(c) put in the code "AddType application/x-httpd-php54 .php" as custom code on top of the file to enable php 5.4

I still get a 500 error despite not making any of the changes... please help

dlb
The easiest way to solve this is to check your server error log which will give you more information on what is causing the 500 error. That will tell us what we need to change in .htaccess Maker. You can find the error log in the root of your site, the file name is error_log.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

user81632
Hi,

I have attached the error log for yesterday (when i was trying to use the htaccess maker in admin tools) ...

a small explanation of what i had done:
(a) the first time i tried using htaccess maker, the site stopped working since the PHP version was 5.2 .. basically i need to include some code in the htaccess file to include PHP 5.3.. once i did this, this error stopped occurring (mentioning this to explain the initial round of errors in the error log file)
(b) the primary error seems to be related to PHP start up (timezonedb, PDO, pdo_sqlite) and failures to initialise modules "Module compiled with module API=20060613....PHP compiled with module API=20090626....These options need to match in Unknown on line 0"

Baisically whenever i try to create the htaccess file i get a 500 error, and whenever i deleted the htaccess file and rename the htaccess.admintools the site starts to work again ... all the options are set to no..... no changes have been made in the text boxes given ...

unfortunately I can't understand what is causing this error.. request your assistance on the same..

thanks
ashi

dlb
Ah! What AddHandler command are you using in .htaccess to force your PHP to 5.3? I read somewhere recently that Hostgator's FAQ instructions were wrong. I think I was searching their site for instructions on how to move to 5.4.

Their tech support gave me this long ago:
# Use PHP 5.3
AddHandler application/x-httpd-php53 .php
suPHP_ConfigPath /opt/php53/lib


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

user81632
Hi,

Thanks for the assistance. The problem was actually occurring due to PHP 5.4 not being accepted ... the code helped fix it.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!