File Manager HTML Editor Session Expired Problem

Status
Not open for further replies.

impload

Member
Nov 2, 2009
16
0
51
Hi we are having the following issue with the html editor in the file manager.


Warning: session_start() [function.session-start]: open(/tmp/sess_684c3fc38077d2e4eecefc2c14f3b0d2, O_RDWR) failed: Permission denied (13) in /usr/local/cpanel/base/3rdparty/wysiwygPro/conf/customSessHandlers.inc.php on line 26
Warning
Your editing session has expired.
This is usually caused by a long period of inactivity. Please re-load the page.

It happens even when your only logged in for like 30 seconds and you click something like the color chooser or backlink inserter.

If it's about permissions, can someone guide me on how to change them? like how to do it in ssh etc. I only know how to do it in cpanel and ftp but i know you cant access /usr/local/cpanel/base/3rdparty/wysiwygPro/conf/customSessHandlers.inc.php through ftp or cpanel.

Please someone help is really needed :(
thanks to those that lend a hand.
 

Data 1

Well-Known Member
May 25, 2008
113
0
66
Columbus Ohio
cPanel Access Level
DataCenter Provider
Since 11.25...

Basically the upgrade went great and there are features I have been waiting for since the first Cpanel/WHM I ever used.

HOWEVER a customer brought it to my attention that the HTML editor (file manager/select html file/edit) throws a expired session warning when selecting anything from the top bar.

Is anyone else experiencing this or is it something in my particular upgrade that is messed up?

Jim

Well as best as I can figure it is like this on all my servers now... at least every one I checked. I personally do not use this feature but I know several of my customers do.
 
Last edited:

Luke Carrier

Active Member
May 27, 2009
29
0
51
Have you tried a forceful update? This basically means cPanel has to overwrite all of its files instead of only those it believes are out of date - sometimes it can fall out of sync and end up with issues such as the ones you're explaining.

Running this as root should solve that:
Code:
/scripts/upcp --force
Failing that, I'd try flushing your browser cache. It's possible that the JavaScript used to power the file manager has been changed and that your browser is caching the old copy of the JS files; just a guess but it might work.

I can't reproduce this on any of our cPanel 11.25 boxes.
 

Data 1

Well-Known Member
May 25, 2008
113
0
66
Columbus Ohio
cPanel Access Level
DataCenter Provider
Thank you Luke for the reply.

It doesn't seem like the --force was with me today. I ran it on one of the servers and the results are the same.

I know I didn't have the JS cached because I have never used the editor until someone reported a problem.

I'm thinking it's some common silly setting I have on my servers. Perhaps I should do an official support request? It would be my first one ever :)
 

tinboye22

Active Member
Sep 16, 2004
29
0
151
I noticed when you try and use the decompression within file manager it truncates the zip, making a folder called each, and does not decompress all the files, tells me at the bottom that its truncated at 2%
 

Luke Carrier

Active Member
May 27, 2009
29
0
51
Data 1, I've never seen that issue before. Is it just a certain browser that suffers from the issue, or can you reproduce it in several? Also, which release tree are you on? It may be specific to yours but fixed in the one we're running (CURRENT).

tinboye22, that's incorrect - the file manager does actually decompress all of the files, but in order to avoid wasting bandwidth and resources on the client's computer it just doesn't display all of the output from the process. I think that's what you were saying, anyway.

Hope the above is useful!
 

Data 1

Well-Known Member
May 25, 2008
113
0
66
Columbus Ohio
cPanel Access Level
DataCenter Provider
Hi Luke,

I checked tonight and it is working on all servers. I guess we will never know exactly what was happening. I did try different browsers during the tests... the results were the same.

Thank you for looking at this-

Jim
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,608
79
458
cPanel Access Level
Root Administrator
The session expired problem arises when session.save_path is not defined in /usr/local/lib/php.ini. That latest builds of cPanel 11.25 address this.
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,545
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
Hi we are having the following issue with the html editor in the file manager.

Warning: session_start() [function.session-start]: open(/tmp/sess_684c3fc38077d2e4eecefc2c14f3b0d2, O_RDWR) failed: Permission denied (13) in /usr/local/cpanel/base/3rdparty/wysiwygPro/conf/customSessHandlers.inc.php on line 26
Warning
Your editing session has expired.
This is usually caused by a long period of inactivity. Please re-load the page.

It happens even when your only logged in for like 30 seconds and you click something like the color chooser or backlink inserter.

If it's about permissions, can someone guide me on how to change them? like how to do it in ssh etc. I only know how to do it in cpanel and ftp but i know you cant access /usr/local/cpanel/base/3rdparty/wysiwygPro/conf/customSessHandlers.inc.php through ftp or cpanel.

Please someone help is really needed :(
thanks to those that lend a hand.
having same error
The above two posts are now merged with another thread on the same topic. The issue is addressed as described by cPanel Kenneth's post as shown below: File Manager HTML Editor Session Expired Problem - cPanel Forums
The session expired problem arises when session.save_path is not defined in /usr/local/lib/php.ini. That latest builds of cPanel 11.25 address this.
 
Status
Not open for further replies.