#26 2012-03-15 12:05:34

jnbn
Member
From: Istanbul, Turkey
Registered: 2012-03-02
Posts: 20
Website

Re: 0.9.7 strange issues

For those who's having the same issue,

After making a comparison of full phpinfo(); s of 4 servers i found that in some of them Session Use Only Cookies ( the option that avoids session_id transfers for security reasons) was enabled. And thougt it's the reason for the session error.

So after adding
ini_set('session.use_only_cookies', 0);

to index.php it worked.

By the way for others, as @themhouse explained before you can make the same change from the php ini in your root, or site directory if you're using cpanel.

I couldn't check the code in FileManager.php yet, but if we want to create a complete solution I think it may be good to find the function (for multiple file transfers probably) copies or duplicates the session data.

For now that's it from me wink


I am whatever you say I am..
If I wasn't then why would I say "I am"..

@jnbn

Offline

#27 2012-03-15 18:59:37

thedoglett
Member
Registered: 2011-07-15
Posts: 128

Re: 0.9.7 strange issues

Hi, I can confirm that your fix works - thankyou!

Offline

#28 2012-04-05 23:42:49

indrek
Member
Registered: 2010-10-24
Posts: 11

Re: 0.9.7 strange issues

jnbn wrote:

For those who's having the same issue,

After making a comparison of full phpinfo(); s of 4 servers i found that in some of them Session Use Only Cookies ( the option that avoids session_id transfers for security reasons) was enabled. And thougt it's the reason for the session error.

So after adding
ini_set('session.use_only_cookies', 0);

to index.php it worked.

By the way for others, as @themhouse explained before you can make the same change from the php ini in your root, or site directory if you're using cpanel.

I couldn't check the code in FileManager.php yet, but if we want to create a complete solution I think it may be good to find the function (for multiple file transfers probably) copies or duplicates the session data.

For now that's it from me wink

Unfortunately this doesn't work for me. PHP version is 5.2.14. You can see complete details here: http://www.fhk.ee/info.php

Please let me know if you have more ideas. Thanks a lot!

Offline

#29 2012-04-06 12:32:15

indrek
Member
Registered: 2010-10-24
Posts: 11

Re: 0.9.7 strange issues

The solution for me was:

Added to index.php:

ini_set('session.use_only_cookies', 0);
ini_set('session.cookie_httponly', 0);
ini_set('session.gc_maxlifetime', 36000);

FileManager.php (line 5222):

$returnstring .= htmlentities($variable{$i}, ENT_QUOTES, 'ISO-8859-1'); //(originally it was UTF-8).

Indrek.

Last edited by indrek (2012-04-06 12:32:48)

Offline

#30 2012-04-12 17:49:10

pepe
Member
Registered: 2012-04-12
Posts: 1

Re: 0.9.7 strange issues

Error
Your session has expired. Please log in again.

a solution

application -> libraries -> Session.php

82.

setcookie(session_name(), '', time()-42000, '/'); 

instead

82.

setcookie(session_name(), '', time()-402000, '/'); 

Offline

#31 2012-05-28 16:03:13

acapavia
Member
Registered: 2012-05-07
Posts: 2

Re: 0.9.7 strange issues

I have an issue in 0.9.7 version. When I trying to save some modifications in the articles nothing happens. For example I unchecked the option "content online", in admin seems to be working properly but in the website the conent still displaying.
I realized that happens in Chrome and Mozilla (Linux and Mac).

Anyone can help me ??

Offline

#32 2012-05-29 08:43:01

greet
Ion Tester
From: Belgium
Registered: 2012-05-07
Posts: 95

Re: 0.9.7 strange issues

With regards to the upload error, I used the sollution from a previous post
Add to the main index.php file:
ini_set('session.use_only_cookies', 0);
ini_set('session.cookie_httponly', 0);
ini_set('session.gc_maxlifetime', 36000);

Offline

#33 2012-05-29 14:31:07

greet
Ion Tester
From: Belgium
Registered: 2012-05-07
Posts: 95

Re: 0.9.7 strange issues

@acapavia
You have to logout from admin to see the effect in frontend.

Offline

#34 2012-05-30 16:00:24

acapavia
Member
Registered: 2012-05-07
Posts: 2

Re: 0.9.7 strange issues

Thank you for your answer @Gravitating.
But is it a normal behavior?  why in windows OS  browsers work properly?

Offline

#35 2012-12-20 19:23:02

myonaise
Member
Registered: 2012-12-20
Posts: 8

Re: 0.9.7 strange issues

I've switch to the single file upload solution as nothing found here worked for me...

I'm on a shared hosting solution (OVH)

I can't get why it's not working, at some point I have a 404 in the upload process to a /fr/none and then the Session expired message popup !

I wish someone had found a solution, please help I can't find out how to solve this issue ! Single file upload is very annoying smile

Thanks !

Offline

What's Ionize ?

Ionize is an Open Source Content Management System created by webdesigners for webdesigners.

Created and maintained by Partikule and Toopixel , Ionize wants to be the easiest and most powerful CMS.

Can I help ?

Because talent is nothing without involvement, we are looking for motivated coders and webdesigners to join the project team.

Resources

Website : www.ionizecms.com
Documentation : doc.ionizecms.com

Development : Ionize on GitHub
Translations : Translations on GitHub