Support

Admin Tools

#40525 Using a php page

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
4.4.3
PHP version
8.1
Admin Tools version
7.4.9

Latest post by tampe125 on Thursday, 04 April 2024 11:08 CDT

sitemoves

Hello,

I have some php pages I need to use on my site.

they are in a separate folder in the root of the site (public_html/diversen

When I upload these files to a site without joomla, it is working.

When I upload it to the same path in my joomla site with admintools, I get a forbidden page.

Is there something I can do in admintools to make it work?

 

regards, Theo

Theo Prinssen Sitemoves

tampe125
Akeeba Staff

Hello,

you have to configure your Htaccess Maker so it will allow direct access to that folder. More info here: https://www.akeeba.com/documentation/admin-tools-joomla/server-protection.html#determine-required-exceptions 

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

sitemoves

Good Morning,

 

I think the .php is not allowed here some way.
When I look at the allowed file types, .php is not there and I can't add it to the htaccess maker.
This is the url: https://ivodewijs.nl/diversen/eenpotjegeschiedenis/kaft.php

 

Regards, Theo

Theo Prinssen Sitemoves

sitemoves

Maybe it is somehowe a Joomla issue.....

I made a temp joomla site on siteground anf installed Admin Tool  on it.
When i go to this url everything works fine: http://theop21.sg-host.com/diversen/eenpotjegeschiedenis/kaft.php

But when I go to the real site it is not: https://ivodewijs.nl/diversen/eenpotjegeschiedenis/kaft.php

Same Joomla  and AdminTool versions

Abacadabra to me......

Theo Prinssen Sitemoves

tampe125
Akeeba Staff

Hello,

what you have to do is to add the folder containing your PHP script to this field "Allow direct access, including .php files, to these directories" and regenerate the .htaccess file. That should do the trick.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

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!