Hi when I transfered my site online, after 1day working normaly appeared following error:
Error displaying the error page: Application Instantiation Error: Error initialising the session.
And I have to transfer again for it starts working
Help me please !!!
Site [http://takfa-as.co.nf] works fine with and without login
Actually I added following code into the file in libraries/cms/application/cms.php
jimport('joomla.log.log');
JLog::addLogger(array('text_file' => 'session_errors.php'));
JLog::add(
JText::_('JERROR_SESSION_STARTUP').
' Session State: '.$session->getState().
' Sql Error: '.$db->getErrorMsg()
);
And as a resultat in session_errors.php file displayed
#
#<?php die('Forbidden.'); ?>
#Date: 2016-07-29 11:54:17 UTC
#Software: Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
#Fields: datetime priority clientip category message
2016-07-29T11:54:17+00:00 WARNING 78.193.156.57 deprecated JDatabase::getErrorMsg() is deprecated, use exception handling instead.
2016-07-29T11:54:17+00:00 INFO 78.193.156.57 - Error initialising the session. Session State: active Sql Error: INSERT command denied to user '2174879_takfaas'@'83.125.22.218' for table '#__session' SQL=INSERT INTO #__session
(session_id
, client_id
, time
) VALUES
('2efe7a20d731859f3c55e2f2ec7c17fb', 0, '1469793257')
2016-07-29T11:54:18+00:00 WARNING 78.193.156.57 deprecated JDatabase::getErrorMsg() is deprecated, use exception handling instead.
2016-07-29T11:54:18+00:00 INFO 78.193.156.57 - Error initialising the session. Session State: active Sql Error: INSERT command denied to user '2174879_takfaas'@'83.125.22.218' for table '#__session' SQL=INSERT INTO #__session
(session_id
, client_id
, time
) VALUES
('2efe7a20d731859f3c55e2f2ec7c17fb', 0, '1469793258')
2016-07-29T11:54:19+00:00 WARNING 78.193.156.57 deprecated JDatabase::getErrorMsg() is deprecated, use exception handling instead.
2016-07-29T11:54:19+00:00 INFO 78.193.156.57 - Error initialising the session. Session State: active Sql Error: INSERT command denied to user '2174879_takfaas'@'83.125.22.218' for table '#__session' SQL=INSERT INTO #__session
(session_id
, client_id
, time
) VALUES
('2efe7a20d731859f3c55e2f2ec7c17fb', 0, '1469793259')
2016-07-29T11:54:20+00:00 WARNING 78.193.156.57 deprecated JDatabase::getErrorMsg() is deprecated, use exception handling instead.
2016-07-29T11:54:20+00:00 INFO 78.193.156.57 - Error initialising the session. Session State: active Sql Error: INSERT command denied to user '2174879_takfaas'@'83.125.22.218' for table '#__session' SQL=INSERT INTO #__session
(session_id
, client_id
, time
) VALUES
('2efe7a20d731859f3c55e2f2ec7c17fb', 0, '1469793260')
2016-07-29T11:56:44+00:00 WARNING 78.193.156.57 deprecated JDatabase::getErrorMsg() is deprecated, use exception handling instead.
2016-07-29T11:56:44+00:00 INFO 78.193.156.57 - Error initialising the session. Session State: active Sql Error: INSERT command denied to user '2174879_takfaas'@'83.125.22.218' for table '#__session' SQL=INSERT INTO #__session
(session_id
, client_id
, time
) VALUES
('2efe7a20d731859f3c55e2f2ec7c17fb', 0, '1469793404')
PHP Version 5.5.38
System Linux f15.runhosting.com 4.4.15nopreempt #1 SMP Wed Jul 13 17:10:30 EEST 2016 x86_64
Help me please !!!
Yes, I agree with you (I read also) but in my opinion the problem is that at first I could change and update database with adding articles , because I worked online , and after something is changed and database user become without enough permission.
Is this always cause of web hosting? Thanks
This 100% to do with your hosting
On 29 July 2016 at 14:36, anushbedic notifications@github.com wrote:
Yes, I agree with you (I read also) but in my opinion the problem is that
at first I could change and update database with adding articles , because
I worked online , and after something is changed and database user become
without enough permission.
Is this always cause of web hosting? Thanks—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
#11350 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8SDUHkeoM4E-b-paqd94ZsHPqGdEks5qagH4gaJpZM4JYJ_G
.
Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/
Joomla has no mechanism to change a database user's permissions, so yes
your best first option is to check with your hosting provider.
On Friday, July 29, 2016, anushbedic notifications@github.com wrote:
Yes, I agree with you (I read also) but in my opinion the problem is that
at first I could change and update database with adding articles , because
I worked online , and after something is changed and database user become
without enough permission.
Is this always cause of web hosting? Thanks—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#11350 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAWfoa5s7HCxpCmYpdvM5NWTJxopeEk6ks5qagH3gaJpZM4JYJ_G
.
Ok thanks
The error message shows the problem. It is nothing to do with the joomla software. Your database user doesnt have enough permission to update the session table. You should speak to your web host to rectify this or alternatively try the forum for support http://forum.joomla.org