Home
Login | Register
Welcome, Guest
Please Login or Register.    Lost Password?

Error When Visiting My Admin Login Page
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Error When Visiting My Admin Login Page
#505
Error When Visiting My Admin Login Page 1 Month, 1 Week ago Karma: 0
I'm receiving an error after visiting my admin login page after I add...

require_once( $mosConfig_absolute_path . '/administrator/includes/admin.php' );

mosLoadAdminModules( 'left' );

... to my login.php file. The login.php file to which I added these lines is located at /administrator/templates/khepri.

I added the lines into the file as such:

defined( '_JEXEC' ) or die( 'Restricted access' );

require_once( $mosConfig_absolute_path . '/administrator/includes/admin.php' );

mosLoadAdminModules( 'left' );
?>

The error when I visit the admin login page:

Warning: require_once(/administrator/includes/admin.php) [function.require-once]: failed to open stream: No such file or directory in /home/suptest/public_html/administrator/templates/khepri/login.php on line 15

Fatal error: require_once() [function.require]: Failed opening required '/administrator/includes/admin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/suptest/public_html/administrator/templates/khepri/login.php on line 15


Part of the problem could be that the instructions located here (www.joomlaserviceprovider.com/documentation.html) indicate that I install the plugin using a file called mod_jsecure_authentication.zip when the file I have is called plgSystemJSecure-1.0.9.

Thanks for any assistance.

- Steve
scm21st
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#509
Re: Error When Visiting My Admin Login Page 1 Month ago Karma: 0
Hi,

You have made changes in Joomla 1.5.x version whereas this changes require in Joomla 1.0.x version. For Joomla 1.5.x version do not require any changes.

Please check our Joomla 1.5.x documentation.

www.joomlaserviceprovider.com/documentat...hentication-15x.html

Thanks and Regards,
Bhavin Shah
bhavin.shah
Moderator
Posts: 51
graphgraph
User Offline Click here to see the profile of this user
Gender: Male bhavin.r.shah Location: Mumbai Birthday: 12/24
The administrator has disabled public write access.
 
#512
Re: Error When Visiting My Admin Login Page 1 Month ago Karma: 0
Thanks very much for your reply, Bhavin


If I understand correctly, I only need specify the key in the jSecure Authentication module. Making changes directly to login.php was only required in 1.0.

Thank you

- Steve
scm21st
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/02/01 07:14 By scm21st.
The administrator has disabled public write access.
 
#513
Re: Error When Visiting My Admin Login Page 1 Month ago Karma: 0
Yep, it works great. Thanks again Bhavin. I'd close this thread if I knew how.
scm21st
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: bhavin.shah, ajay.lulia