Post by muhupower » Sat Apr 10, 2010 1:53 am

Hello, This is my first post.
I am very happy with open cart. And glad to make a donation.
I would like to start using it more for my clients as my main shopping cart software.
Lets get into the issue at hand....


I keep getting logged out of the admin section. Booted I guess - just goes back the the /admin page asking me to enter my log in details.

And this isn't just happening when I am inactive. It happens randomly. I am just go in and out of the settings or products/categories pages and then getting booted.

Even weirder - I get the admin log in screen inside the pop up for image up loader??? That really confuses me. there has to be something wrong here.

Please help - I can't have my client take over and while he is uploading his products he gets booted off every other minute.

I have the newest version of open cart.

When installing I had 2 red X's - the magic quotes and register globals where RED X, I installed anyway - I thought with the phpini and .htaccess settings I could fix it.

I am on network solutions also on a shared economy plan.

my .htaccess says
php_flag register_globals off
php_flag magic_quotes_gpc off

and my php.ini says
magic_quotes_gpc = Off;
register_globals = Off;
default_charset = UTF-8;
memory_limit = 64M;
max_execution_time = 18000;
max_upload_filesize = 100M;
safe_mode = Off;
mysql.connect_timeout = 20;
session.use_cookies = On;
session.use_trans_sid = Off;
session.gc_maxlifetime = 12000000;

Newbie

Posts

Joined
Sat Apr 10, 2010 1:37 am

Post by i2Paq » Sat Apr 10, 2010 2:04 am

Search for session on this forum.
If the changes in your php.ini are not solving it contact your hoster about this.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by muhupower » Sat Apr 10, 2010 3:17 am

Ok well I was able to fix the

magic_quotes_

and

Register globles

with networksolutions by uploading the php.ini to the root/ cgbin.

So I hoped that would fix my PROBLEM! :)

Nope - I tried uplated the settings in the admin section and when I clicked save - it logged me off again.

Any Other ideas?

session.gc.maxlifetime = 12000000; is the php.ini setting that I am guessing is working now since the other two things are working..

Is this a problem with Network Solutions only? Does NS hosting just suck.

Thanks -
I searched session and couldnt find anything.

Newbie

Posts

Joined
Sat Apr 10, 2010 1:37 am

Post by Qphoria » Sat Apr 10, 2010 3:19 am

contact your host and ask them to increase the session.gc.maxlifetime

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by muhupower » Sat Apr 10, 2010 3:23 am

Hi, Thank you for your response.

I will ask them.

Do you really thing thats what it is?

I am literally getting booted fast - while i am actively editing stuff it just randomly boots me..

I am using FF and Safari and still happens..

Newbie

Posts

Joined
Sat Apr 10, 2010 1:37 am

Post by Qphoria » Sat Apr 10, 2010 3:24 am

muhupower wrote:Hi, Thank you for your response.

I will ask them.

Do you really thing thats what it is?

I am literally getting booted fast - while i am actively editing stuff it just randomly boots me..

I am using FF and Safari and still happens..
yes. This is commonly reported and this is always the fix.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by muhupower » Tue Apr 13, 2010 3:24 am

Well.

For some reason I can not fix this problem.

It might be with networksolutions.. I tried everything.

I did a clean install on Godaddy and open cart runs fine on the economy hosting plan.

So I am going to move my client to them..

This is just another case among many I left networksolutions for godaddy.

-O

Newbie

Posts

Joined
Sat Apr 10, 2010 1:37 am

Post by readytechusa » Mon Oct 10, 2011 3:48 pm

The recommended fix: session.gc.maxlifetime = 12000000 did not work for me. (1.5.1.3)

I found this advice from a different thread and it worked, so just passing it on, hope it helps for anyone else that happens to be searching for this topic.
readytechusa.com

:::I used this with success:::

Code: Select all

<script type="text/javascript">
function pingServer() {
$.ajax({ url: location.href });
}
$(document).ready(function() {
setInterval('pingServer()', 20000);
});
</script>
:::Put it in admin/view/template/common/header.tpl, right :::before the closing head tag:

Code: Select all

</head>

opencart version: 1.5.1.3


Newbie

Posts

Joined
Thu Oct 06, 2011 1:38 pm
Location - California
Who is online

Users browsing this forum: No registered users and 88 guests