Not Solved How can fix logging me out issue
#1
Not Solved
This user has been denied support. This user has been denied support.
I have try to fix mybb admin logging me out, am new to mybb and i have read tutorial about how to fix it but unfortunately i don't know to go to "ACP > Configuration > General Configuration" option and how to edit  ./inc/settings.php  value. 
 Can some body please help me to locate ACP > Configuration > have General Configuration" option and how to edit  ./inc/settings.php  value." to have access to my [b]Dashboard [/b]
[b]                                         Thank for helping !  [/b]
Reply
#2
Not Solved
you can edit settings.php file through file manager at your web host control panel.

after saving required changes to the file you should be able to login to
your forum's admin panel ; again you have to put correct values at above
referred location [admin panel >> configuration >> site details]

can we have your forum url to check if cookie settings are correctly set ..
Reply
#3
Not Solved
This user has been denied support. This user has been denied support.
cyberclarks.cf
Reply
#4
Not Solved
Use www.cyberclarks.cf
Could be wrong but worth a try.
Reply
#5
Not Solved
as noyle suggested, you should able to login with www in your forum url.

however after logging into forum admin panel,
it would be better to change board url to http://cyberclarks.cf &
cookie domain to .cyberclarks.cf and use forum url without www
Reply
#6
Not Solved
This user has been denied support. This user has been denied support.
(2020-01-12, 04:37 AM).m. Wrote: as noyle suggested, you should able to login with www in your forum url.

however after logging into forum admin panel,
it would be better to change board url to http://cyberclarks.cf &
cookie domain to .cyberclarks.cf and use forum url without www
is this the right php to edit? 
<?php
/**
* MyBB 1.8
* Copyright 2014 MyBB Group, All Rights Reserved
*
* Website: http://www.mybb.com
* License: http://www.mybb.com/about/license
*
*/

/**
* Logs an administrator action taking any arguments as log data.
*/
function log_admin_action()
{
global $db, $mybb;

$data = func_get_args();

if(count($data) == 1 && is_array($data[0]))
{
$data = $data[0];
}

if(!is_array($data))
{
$data = array($data);
}

$log_entry = array(
"uid" => (int)$mybb->user['uid'],
"ipaddress" => $db->escape_binary(my_inet_pton(get_ip())),
"dateline" => TIME_NOW,
"module" => $db->escape_string($mybb->get_input('module')),
"action" => $db->escape_string($mybb->get_input('action')),
"data" => $db->escape_string(@my_serialize($data))
);

$db->insert_query("adminlog", $log_entry);
}

/**
* Redirects the current user to a specified URL.
Reply
#7
Not Solved
(2020-01-14, 01:31 AM)samul Wrote:
(2020-01-12, 04:37 AM).m. Wrote: as noyle suggested, you should able to login with www in your forum url.

however after logging into forum admin panel,
it would be better to change board url to http://cyberclarks.cf &
cookie domain to .cyberclarks.cf and use forum url without www
is this the right php to edit? 
<?php
/**
* MyBB 1.8
* Copyright 2014 MyBB Group, All Rights Reserved
*
* Website: http://www.mybb.com
* License: http://www.mybb.com/about/license
*
*/

/**
* Logs an administrator action taking any arguments as log data.
*/
function log_admin_action()
{
global $db, $mybb;

$data = func_get_args();

if(count($data) == 1 && is_array($data[0]))
{
$data = $data[0];
}

if(!is_array($data))
{
$data = array($data);
}

$log_entry = array(
"uid" => (int)$mybb->user['uid'],
"ipaddress" => $db->escape_binary(my_inet_pton(get_ip())),
"dateline" => TIME_NOW,
"module" => $db->escape_string($mybb->get_input('module')),
"action" => $db->escape_string($mybb->get_input('action')),
"data" => $db->escape_string(@my_serialize($data))
);

$db->insert_query("adminlog", $log_entry);
}

/**
* Redirects the current user to a specified URL.

If you have to change the board URL, change it in MyBB Admin CP > Configurations > Board Settings.
If you need to setup redirect, for example redirect a URL without a WWW prefixed domain to a www prefixed domain, you might need to write HTTP Server rewrite rules, better ask Google. Although I'm not sure if there's any plugins can do this, you can always check https://community.mybb.com/mods.php .
Could be wrong but worth a try.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)