Support

Admin Tools

#15087 After update to last 1.5 com_admintools-2.2.10-pro error 404 when protecting administration?

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 nicholas on Friday, 22 February 2013 03:00 CST

Chacapamac

Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? No
Have I searched the tickets before posting? No
Have I read the documentation before posting (which pages?)? No
Joomla! version:1.5.26)
PHP version: (unknown)
MySQL version: (unknown)
Host: (Private server)
Admin Tools version: (

com_admintools-2.2.10-pro.zip

)

Description of my issue:

 

After upgrade of Joomla and Admintool I always get a 404 error when protecting administrator folder — Other site on same server work perfectly?

nicholas
Akeeba Staff
Manager

Can you please upload a screenshot of the error where the address bar of your browser is also visible?

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Chacapamac

404 error

Access Log —>- [19/Feb/2013:08:56:57 -0500] "GET /administrator/index.php?option=com_admintools HTTP/1.1" 404 683 "xxxxxxxxxx/administrator/index.php?option=com_admintools&view=adminpw" "Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.2.28) Gecko/20120306 Firefox/3.6.28"

 

 

Error Log —> [Tue Feb 19 08:06:50 2013] [warn] [client 208.94.104.3] mod_fcgid: stderr: PHP Warning:  is_file(): open_basedir restriction in effect. File(/var/www/xxxxxxxxxx/webplugins/system/admintools/admintools/main.php) is not within the allowed path(s): (/var/www/xxxxxxxxxx/web:/var/www/clients/client2/web3/tmp:/var/www/tradsf.com/web:/srv/www/tradsf.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/clients/client2/web3/web/libraries/joomla/filesystem/file.php on line 373

nicholas
Akeeba Staff
Manager

Can you try reinstalling the component? That view definitely exists since the very first version I released.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Chacapamac

I already uninstall and reinstall, I even drop the database, I will try again and manually check that all admintools foder are out before reinstalling. Wher should I look to be sure...

nicholas
Akeeba Staff
Manager

You need to make sure the following are not left behind:

  • administrator/components/com_admintools
  • components/com_admintools
  • plugins/system/admintools
  • plugins/system/admintools.php (file)
  • plugins/system/admintools.xml (file)

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Chacapamac

in plugin system I have admin8.php and xml?

 

Forget this —This is something else...

nicholas
Akeeba Staff
Manager

This is not anything related to my software.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Chacapamac

I uninstall - Drop database

Check Manually

  • administrator/components/com_admintools
  • components/com_admintools
  • plugins/system/admintools
  • plugins/system/admintools.php (file)
  • plugins/system/admintools.xml (file)

reinstall —> com_admintools-2.2.10-pro.zip

 

  • Install Component Success
  Security and utilitarian tools for Joomla! site administrators You can download translation files directly from our CDN page. admintools-48.pngAdmin Tools Installation Status ExtensionStatus  Admin Tools Component Installed Framework on Framework (FOF) Already up-to-date ModuleClient mod_atjupgrade Admin Installed PluginGroup Plg_admintools System Installed Plg_oneclickaction System Installed Plg_atoolsupdatecheck System Installed Plg_atoolsjupdatecheck System Installed

 

In component —> Apply No auto email —> no Joomla emails —> Apply

Apply Fix Permissions

Cleanup Temp Directory

Repair -optimize table

Create Master Pass

Password Protect Admin = 404 error 

No more access to administration until I take out the htacces a& pass in the administrator

 

This is an upgrade - Was working before...

nicholas
Akeeba Staff
Manager

OK, now I understand what the problem is. Your server doesn't allow you to password protect directories using .htaccess. You have to talk to your host about it.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Chacapamac

Yes they probably change that from when the site was first install....

I already send them a note... will come back if resolved

Probably that open_basedir

I try to overrule in php.ini but obviously their setting seem to take over...

nicholas
Akeeba Staff
Manager

I suspect an Apache configuration value which you can't override without changing the vhost or the main server configuration file.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Chacapamac

OK I‘M GETTINTG THERE!

The error come from

 

mod_fcgid: stderr: PHP Warning:  is_file(): open_basedir restriction in effect. File (/var/www/xxxx/xxxx/xxxx/webplugins/system/admintools/admintools/main.php) is not within the allowed path(s):

The directory where my joomla file are allowed is “web” if you look at the address up there

webplugin are together — It should be web/plugins

nicholas
Akeeba Staff
Manager

Um, for some off reason Joomla! returns the path without a trailing slash. Too bad. I can't fix it because that release is no longer maintained :(

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Chacapamac

I have to fix this....

where this is control in Admin ?  - What files

 

This is my High performance server — I have 3 — 1.5 sites there and the security need to be tight

 

Do you think the htaccess can be responsable? give a nice 301 redirect.....

 

I need to find the problem....

nicholas
Akeeba Staff
Manager

I can't know without installing a new Joomla! 1.5 dev site and debugging the code of the 2.2.10 release. This I won't do because I've dropped support for Joomla! 1.5 months ago.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Chacapamac

I have this version installed on other servers (Bluehost) and I have no problem at all - I reinstall Admin and  check the path given.

Open_basedir can be modyfy by server admin...

Another site on that server seem ok... 2.1.14 

 

I will install 2.1.14 to see if the version of admin have something to do with it?

nicholas
Akeeba Staff
Manager

You can, but I doubt that 2.1.14 would change anything. IIRC the way the plugin files were being included changed in 2.4.0.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Chacapamac

2.1.14 do the samething

I reinstall 2.2.10

I get those error after setting a master password and setting the waf and geoblock

 

[Thu Feb 21 07:45:28 2013] [warn] [client 208.94.104.3] mod_fcgid: stderr: PHP Warning:  require_once(/var/www/xxx/xxx/xxx/web/administrator): failed to open stream: No such file or directory in /var/www/xxx/xxx/xxx/web/administrator/components/com_cpanel/admin.cpanel.php on line 17, referer: http://www.xxx.com/administrator/index.php?option=com_admintools&view=wafconfig

[Thu Feb 21 07:45:28 2013] [warn] [client 208.94.104.3] mod_fcgid: stderr: PHP Fatal error:  require_once(): Failed opening required '' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/xxx/xxx/xxx/web/administrator/components/com_cpanel/admin.cpanel.php on line 17, referer: http://www.xxx.com/administrator/index.php?option=com_admintools&view=wafconfig

[Thu Feb 21 07:45:28 2013] [warn] [client 208.94.104.3] mod_fcgid: stderr: PHP Fatal error:  Class 'JLoader' not found in /var/www/xxx/xxx/xxx/web/libraries/loader.php on line 161, referer: http://www.xxx.com/administrator/index.php?option=com_admintools&view=wafconfig

 

[Thu Feb 21 07:46:53 2013] [warn] [client 208.94.104.3] mod_fcgid: stderr: PHP Notice:  Undefined variable: continent in /var/www/xxx/xxx/xxx/web/plugins/system/admintools/pro.php on line 1966, referer: http://www.xxx.com/administrator/index.php?option=com_admintools&view=geoblock

 

 

OpenBasedir

 

/var/www/xxx/xxx/xxx/web:/var/www/xxx/xxx/web3/tmp:/var/www/xxx.com/web:/srv/www/xxx.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin

 

 

 

Disabled Functions:

Disabled Functions: show_source,system,passthru,exec,popen,proc_open,eval

 

 

 

nicholas
Akeeba Staff
Manager

The fatal errors I see remind me of what happens when you restore a Joomla! 1.5 site on top of Joomla! 1.0 or when your installation is missing core Joomla! files. Is this possible?!

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Chacapamac

This is a 1.5 site from the start — I will audit the core 1.5 to see if something is missing

The working site on the same server don’t have the disabled functions....

 

Just audit the files everything is there...

Chacapamac

Those are the error after I try the administration password and reach the administration with an error 404

 

After password and 404

[Thu Feb 21 07:51:56 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Notice:  Undefined variable: continent in /var/www/xxx/xxx/xxx/web/plugins/system/admintools/pro.php on line 1966, referer: http://www.xxxx.com/administrator/index.php?option=com_admintools&view=waf

[Thu Feb 21 07:51:56 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Warning:  require_once(/var/www/xxx/xxx/xxx/web/administrator): failed to open stream: No such file or directory in /var/www/xxx/xxx/xxx/web/administrator/components/com_cpanel/admin.cpanel.php on line 17, referer: http://www.xxxx.com/administrator/index.php?option=com_admintools&view=waf

[Thu Feb 21 07:51:56 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Fatal error:  require_once(): Failed opening required '' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/xxx/xxx/xxx/web/administrator/components/com_cpanel/admin.cpanel.php on line 17, referer: http://www.xxxx.com/administrator/index.php?option=com_admintools&view=waf

[Thu Feb 21 07:51:56 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Fatal error:  Class 'JLoader' not found in /var/www/xxx/xxx/xxx/web/libraries/loader.php on line 161, referer: http://www.xxxx.com/administrator/index.php?option=com_admintools&view=waf

 

[Thu Feb 21 07:56:56 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Notice:  Undefined variable: continent in /var/www/xxx/xxx/xxx/web/plugins/system/admintools/pro.php on line 1966, referer: http://www.xxxx.com/administrator/index.php?option=com_admintools&view=waf

[Thu Feb 21 07:56:56 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Warning:  require_once(/var/www/xxx/xxx/xxx/web/administrator): failed to open stream: No such file or directory in /var/www/xxx/xxx/xxx/web/administrator/components/com_cpanel/admin.cpanel.php on line 17, referer: http://www.xxxx.com/administrator/index.php?option=com_admintools&view=waf

[Thu Feb 21 07:56:56 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Fatal error:  require_once(): Failed opening required '' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/xxx/xxx/xxx/web/administrator/components/com_cpanel/admin.cpanel.php on line 17, referer: http://www.xxxx.com/administrator/index.php?option=com_admintools&view=waf

[Thu Feb 21 07:56:56 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Fatal error:  Class 'JLoader' not found in /var/www/xxx/xxx/xxx/web/libraries/loader.php on line 161, referer: http://www.xxxx.com/administrator/index.php?option=com_admintools&view=waf

 

[Thu Feb 21 07:57:21 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Notice:  Undefined variable: continent in /var/www/xxx/xxx/xxx/web/plugins/system/admintools/pro.php on line 1966, referer: http://www.xxxx.com/administrator/index.php?option=com_admintools&view=waf

[Thu Feb 21 07:57:31 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Notice:  Undefined variable: continent in /var/www/xxx/xxx/xxx/web/plugins/system/admintools/pro.php on line 1966, referer: http://www.xxxx.com/administrator/index.php?option=com_admintools

[Thu Feb 21 08:02:37 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Notice:  Undefined variable: continent in /var/www/xxx/xxx/xxx/web/plugins/system/admintools/pro.php on line 1966, referer: http://www.xxxx.com/administrator/index.php?option=com_admin&task=sysinfo

[Thu Feb 21 08:02:37 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Warning:  require_once(/var/www/xxx/xxx/xxx/web/administrator): failed to open stream: No such file or directory in /var/www/xxx/xxx/xxx/web/administrator/components/com_cpanel/admin.cpanel.php on line 17, referer: http://www.xxxx.com/administrator/index.php?option=com_admin&task=sysinfo

[Thu Feb 21 08:02:37 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Fatal error:  require_once(): Failed opening required '' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/xxx/xxx/xxx/web/administrator/components/com_cpanel/admin.cpanel.php on line 17, referer: http://www.xxxx.com/administrator/index.php?option=com_admin&task=sysinfo

[Thu Feb 21 08:02:37 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Fatal error:  Class 'JLoader' not found in /var/www/xxx/xxx/xxx/web/libraries/loader.php on line 161, referer: http://www.xxxx.com/administrator/index.php?option=com_admin&task=sysinfo

[Thu Feb 21 08:11:37 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Notice:  Undefined variable: continent in /var/www/xxx/xxx/xxx/web/plugins/system/admintools/pro.php on line 1966

[Thu Feb 21 08:11:45 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Notice:  Undefined variable: continent in /var/www/xxx/xxx/xxx/web/plugins/system/admintools/pro.php on line 1966, referer: http://www.xxxx.com/administrator/

[Thu Feb 21 08:12:39 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Notice:  Undefined variable: continent in /var/www/xxx/xxx/xxx/web/plugins/system/admintools/pro.php on line 1966, referer: http://www.xxxx.com/administrator/index.php?option=com_installer

[Thu Feb 21 08:12:50 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Notice:  Undefined variable: continent in /var/www/xxx/xxx/xxx/web/plugins/system/admintools/pro.php on line 1966, referer: http://www.xxxx.com/administrator/index.php

[Thu Feb 21 08:13:08 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Notice:  Undefined variable: continent in /var/www/xxx/xxx/xxx/web/plugins/system/admintools/pro.php on line 1966, referer: http://www.xxxx.com/administrator/index.php?option=com_versionverificationtool

[Thu Feb 21 08:16:13 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Notice:  Undefined variable: continent in /var/www/xxx/xxx/xxx/web/plugins/system/admintools/pro.php on line 1966, referer: http://www.xxxx.com/administrator/index.php?option=com_versionverificationtool

[Thu Feb 21 08:17:15 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Notice:  Undefined variable: continent in /var/www/xxx/xxx/xxx/web/plugins/system/admintools/pro.php on line 1966, referer: http://www.xxxx.com/administrator/index.php?option=com_admintools

[Thu Feb 21 08:17:26 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Notice:  Undefined variable: continent in /var/www/xxx/xxx/xxx/web/plugins/system/admintools/pro.php on line 1966, referer: http://www.xxxx.com/administrator/index.php?option=com_admintools

[Thu Feb 21 08:17:28 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Notice:  Undefined variable: continent in /var/www/xxx/xxx/xxx/web/plugins/system/admintools/pro.php on line 1966, referer: http://www.xxxx.com/administrator/index.php?option=com_admintools&view=dbtools&task=optimize&tmpl=component

[Thu Feb 21 08:17:38 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Notice:  Undefined variable: continent in /var/www/xxx/xxx/xxx/web/plugins/system/admintools/pro.php on line 1966, referer: http://www.xxxx.com/administrator/index.php?option=com_admintools

[Thu Feb 21 08:18:21 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Notice:  Undefined variable: continent in /var/www/xxx/xxx/xxx/web/plugins/system/admintools/pro.php on line 1966, referer: http://www.xxxx.com/administrator/index.php?option=com_admintools&view=adminpw

[Thu Feb 21 08:18:23 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Notice:  Undefined variable: continent in /var/www/xxx/xxx/xxx/web/plugins/system/admintools/pro.php on line 1966, referer: http://www.xxxx.com/administrator/index.php?option=com_admintools&view=adminpw

[Thu Feb 21 08:18:44 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Notice:  Undefined variable: continent in /var/www/xxx/xxx/xxx/web/plugins/system/admintools/pro.php on line 1966, referer: http://www.xxxx.com/administrator/index.php?option=com_admintools&view=adminpw

[Thu Feb 21 08:18:45 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Notice:  Undefined variable: continent in /var/www/xxx/xxx/xxx/web/plugins/system/admintools/pro.php on line 1966, referer: http://www.xxxx.com/administrator/index.php?option=com_admintools&view=adminpw

[Thu Feb 21 08:19:33 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Notice:  Undefined variable: continent in /var/www/xxx/xxx/xxx/web/plugins/system/admintools/pro.php on line 1966

nicholas
Akeeba Staff
Manager

The only fatal error (which causes a blank page) that I see is this:

[Thu Feb 21 07:51:56 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Fatal error:  require_once(): Failed opening required '' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/xxx/xxx/xxx/web/administrator/components/com_cpanel/admin.cpanel.php on line 17, referer: http://www.xxxx.com/administrator/index.php?option=com_admintools&view=waf

[Thu Feb 21 07:51:56 2013] [warn] [client xxx.xxx.xxx.x] mod_fcgid: stderr: PHP Fatal error:  Class 'JLoader' not found in /var/www/xxx/xxx/xxx/web/libraries/loader.php on line 161, referer: http://www.xxxx.com/administrator/index.php?option=com_admintools&view=waf

In both cases this says that a core Joomla! file is missing.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Chacapamac

Do you think it’s possible that because —> 

Failed opening required '' (include_path='.:/usr/share/php:/usr/share/pear')

are not in the autorized by open_basedir

/usr/share/pear is not in

The actual base_dir

/var/www/xxx/xxx/xxx/web:/var/www/xxx/xxx/web3/tmp:/var/www/xxx.com/web:/srv/www/xxx.com/web:
/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin

nicholas
Akeeba Staff
Manager

No, it's because the core JLoader class cannot be found.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Chacapamac

Located in /libraries/loader.php (line 17)

 

loader.php is there - 644 and normal 1.5 content....

nicholas
Akeeba Staff
Manager

Sorry, pAtrick, I can't provide support for Joomla! 1.5 and I have to close this ticket.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
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!