Post by mandamexico » Mon Aug 01, 2011 9:44 am

I am using OC 1.4.9.5 and cannot log in to my admin panel. When going to my site www.mysite.com/admin i get this at the top:

Warning: session_start() [function.session-start]: open(/var/chroot/home/content/67/7772867/tmp/sess_aea96e1535b3817220a29b4aca57d28a, O_RDWR) failed: File too large (27) in /home/content/67/7772867/html/system/library/session.php on line 11Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/67/7772867/html/admin/index.php:72) in /home/content/67/7772867/html/system/library/session.php on line 11Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/67/7772867/html/admin/index.php:72) in /home/content/67/7772867/html/system/library/session.php on line 11

I put my log in credentials but cannot log in.

When I go to my site www.mysite.com, I get this slightly different error:

Warning: session_start() [function.session-start]: open(/var/chroot/home/content/67/7772867/tmp/sess_71be46f94e1c7dc640c6f5d6ad98fa7a, O_RDWR) failed: File too large (27) in /home/content/67/7772867/html/system/library/session.php on line 11Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/67/7772867/html/index.php:92) in /home/content/67/7772867/html/system/library/session.php on line 11Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/67/7772867/html/index.php:92) in /home/content/67/7772867/html/system/library/session.php on line 11

Can anyone determine why this happens? My site is www.mandamexico.com
Please help me.

- Christian

My Extensions

OpenCart Developer (OCD) Tools

Donate - If I ever helped you.


User avatar
Active Member

Posts

Joined
Mon Jun 29, 2009 10:14 am
Location - Los Angeles, CA

Post by mandamexico » Mon Aug 01, 2011 3:15 pm

Here is what I found out from speaking with my host provider....

In the past 2 weeks I have been uploading products and pictures while not signing off on admin sessions. Instead I would close my laptop (sleep mode) and when Id open it back up all my work would still be saved and I could continue where I left off. Except, this would apparently create a new admin session. So, in creating all these new sessions on my server for 2 weeks or more, the file where it would be saving them got "too large" and the opencart software is not able to load it onto the server. This is causing me to not be able to log into my admin panel and the fatal error warnings also appear on my actual site and the admin url.

I have 2 questions:

1. Does opencart function in a way where the admin sessions or customer sessions get deleted from the server after a period of time?

2. I want to manually delete the sessions but cannot locate the file. I know its in this folder:

(/var/chroot/home/content/67/7772867/tmp/sess_9585dd9dd54b16c12b8e99d75d88452a, O_RDWR) failed: File too large (27)

BUT searching for it on my ftp client AND phpmyadmin became VERY frustrating. Does anyone know the folder path? I believe its as simple as highlighting the sessions and hitting the delete key.

Please if anybody can help me I would greatly appreciate you and your expertise.

Cheers,

Christian

My Extensions

OpenCart Developer (OCD) Tools

Donate - If I ever helped you.


User avatar
Active Member

Posts

Joined
Mon Jun 29, 2009 10:14 am
Location - Los Angeles, CA

Post by i2Paq » Tue Aug 02, 2011 2:24 am

Never seen or heard 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 mandamexico » Tue Aug 02, 2011 2:44 am

Hi i2paq,

Do you happen to know the folder path for login sessions? is it in public_html?
I am not aware on how opencart is structured and have been trying to locate the file here:

(/var/chroot/home/content/67/7772867/tmp/sess_f23fb1139de39ddca7ed97b475a47a5b, O_RDWR)

BUT, cannot locate that folder path. Do you have any other suggestions? :-\

Thank you greatly,

Christian

My Extensions

OpenCart Developer (OCD) Tools

Donate - If I ever helped you.


User avatar
Active Member

Posts

Joined
Mon Jun 29, 2009 10:14 am
Location - Los Angeles, CA

Post by uksitebuilder » Tue Aug 02, 2011 3:06 am

it will be before the root, you may or may not have access to this depending on what sort of hosting you have

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by mandamexico » Tue Aug 02, 2011 9:35 am

I was told by my host provider to download a putty client. I have enabled ssh on my server to do this and get into my root structure. Does anyone know of a good putty client?

I am a beginner on ssh and would like more info if anyone has any on commands to get to the correct folder paths.
I am looking for the file where session logins are stored so that I can clear the data.

Thanks,

Christian

My Extensions

OpenCart Developer (OCD) Tools

Donate - If I ever helped you.


User avatar
Active Member

Posts

Joined
Mon Jun 29, 2009 10:14 am
Location - Los Angeles, CA

Post by zychen » Thu Aug 18, 2011 10:40 pm

You can try to set session.gc_maxlifetime = 1440 in your php.ini . When the server catch this new setting, it would clean up the session file after 1440 seconds.

Newbie

Posts

Joined
Thu May 05, 2011 4:40 am
Who is online

Users browsing this forum: No registered users and 59 guests