Page 1 of 2

[Solved] Problem with Image Manager in 1.6.5

Posted: Thu Oct 01, 2009 10:56 am
by geeves
Hey guys.

Anyone have any clue why Image Manager is behaving like the screen shot attached?

The ONLY thing I can think of is that my hosting provider upgraded PHP to 5.2.10 (CMSMS v 1.6)

I have tested another CMSMS site on the same hosting provider (CMSMS 1.6.4) and same problem.


[Moderator] Solved

Re: Problem with Image Manager in 1.6.5

Posted: Thu Oct 01, 2009 8:32 pm
by jmcgin51
a similar issue was reported here:

forum.cmsmadesimple.org/index.php/topic,35132.0.html

no resolution yet, unfortunately.

Re: Problem with Image Manager in 1.6.5

Posted: Fri Oct 02, 2009 8:06 pm
by Rolf
The following similar threads have been closed and we will go further here in this one.
- http://forum.cmsmadesimple.org/index.ph ... 132.0.html
- http://forum.cmsmadesimple.org/index.ph ... 208.0.html

Having similar problems:
- Katea
- Geeves
- jmcgin51
- Fobin

First noticed in version 1.5.2 and still appearing in 1.6.5

Possible solution:
Fobin wrote: I found out that my sessions weren't saved to the /var/lib/php/session directory. That didn't stop me from logging to admin and working there except for image manager. It always showed me login screen inside the area where images should have been appeared. Correcting the session problem allowed me to use image manager again (somehow it doesn't read session from cookie?).

Re: Problem with Image Manager in 1.6.5

Posted: Sat Oct 03, 2009 10:01 am
by Rolf
Hi all,

Please check your php.ini or use phpinfo to check the settings for session.use_cookies.
When setting this to 0 (zero) I can reproduce the behavior you are describing!

Setting it back to session.use_cookies = 1 everything is working fine!

Grtz. Rolf

Re: Problem with Image Manager in 1.6.5

Posted: Sat Oct 03, 2009 5:16 pm
by RonnyK
This is being worked on.

It seems that ImageManager kicks to admin, and TinyMCE dissappears in total....

Fixing and testing is happening while writing this reply....

Ronny

Re: Problem with Image Manager in 1.6.5

Posted: Sat Oct 03, 2009 5:53 pm
by RonnyK
session.use_cookies issue is fixed in SVN and will be in the upcoming 1.6.6 release.

Ronny

Re: Problem with Image Manager in 1.6.5

Posted: Sun Oct 04, 2009 8:44 am
by Rolf
Version 1.6.6 has been released.

http://forum.cmsmadesimple.org/index.ph ... #msg179241
Geeves wrote: Thanks for this update.

This has fixed all my issues

Re: [Not Solved] Problem with Image Manager in 1.6.5

Posted: Mon Oct 19, 2009 11:15 pm
by katea
This hasn't solved my problem.

Still getting a 404 page and no images.

session.use_cookies is on

Re: [Solved] Problem with Image Manager in 1.6.5

Posted: Tue Oct 20, 2009 12:13 pm
by Rolf
Our problem is that Image Manager is showing a web page (404 of our sites) instead of images.

Does ANYONE know how we can resolve this?

It's been so long now and it's SOOOOOOOOOO frustrating!!!!

Please help!!!

Thanks

Kate
Katea,

can you give us some more info from your site (System Information)?
What does the error_log say?
Have you tried using debug=on. Any errors there?

Grtz. Rolf

Re: Problem with Image Manager in 1.6.5

Posted: Sun Oct 25, 2009 1:21 pm
by Dieselboy
Rolf wrote: Hi all,

Please check your php.ini or use phpinfo to check the settings for session.use_cookies.
When setting this to 0 (zero) I can reproduce the behavior you are describing!

Setting it back to session.use_cookies = 1 everything is working fine!

Grtz. Rolf
Hello guys!
Even after setting in my php.ini  session.use_cookies = 1 , I'm still getting the login screen after clicking Image Manager in my cms admin panel. I have also updated my 1.6.5 version up the newest 1.6.6 one - still nothing. Is anybody having the same problem and how to solve it ?

Re: [Solved] Problem with Image Manager in 1.6.5

Posted: Mon Oct 26, 2009 10:05 am
by Rolf
Hello Dieselboy
can you give us some more info from your site (System Information)?
What does the error_log say?
Have you tried using debug=on. Any errors there?
Regards, Rolf  :)

Re: [Solved] Problem with Image Manager in 1.6.5

Posted: Tue Oct 27, 2009 7:38 pm
by Dieselboy
Hello :)

I have searched my server error log for any error and I have just found this. I think it is not a problem. Which part of the system information are you interested for ? My CMS Version 1.6.6. . Any clues ?



Debug mode errors during launching Image Manager:
Debug: (1.9E-5) - (950552)

loading smarty

Debug: (0.003852) - (1388760)

loading adodb

Debug: (0.005241) - (1531920)

loading page functions

Debug: (0.007852) - (1815080)

loading content functions

Debug: (0.010209) - (2133648)

loading pageinfo functions

Debug: (0.010802) - (2188224)

loading translation functions

Debug: (0.011197) - (2217424)

loading events functions

Debug: (0.012006) - (2351576)

loading php4 entity decode functions

Debug: (0.013137) - (2682112)

done loading files

Debug: (0.020321) - (3808576)


(mysql): SET NAMES 'utf8'
Error (0):

Debug: (0.020599) - (3839368)


(mysql): SELECT sitepref_name, sitepref_value from cms_siteprefs
Error (0):

Debug: (0.022698) - (3999536)


(mysql): SELECT * FROM cms_userplugins
Error (0):

Debug: (0.026586) - (4678184)


(mysql): SELECT * FROM cms_modules WHERE admin_only = 0 AND active = 1 ORDER by module_name
Error (0):

Debug display of 'End of include':(0.046109) - (8175464)
Debug: (0.046168) - (8098984)

No session found.  Now check for cookies

Debug: (0.046194) - (8099224)

No cookies found.  Redirect to login.

Re: [Solved] Problem with Image Manager in 1.6.5

Posted: Wed Oct 28, 2009 6:44 pm
by Rolf
Hello all,

Please check the following file:
modules/TinyMCE/templates/tinyconfig.tpl

And this line:

Code: Select all

var cmsURL = "{$rooturl}/modules/TinyMCE/filepicker.php{$urlext}&type="+type;
Oct. 3 2009 Calguy made changes to this file Rev. 543
Changelog: "v2.4.5 - Modified to work with session.use_cookies = 0"

This modification was made after the first problems with the Image Manager.
This changed file was included in the 1.6.6 (base) release, which solved problems for several people...
So, please check if this file, with the line above, is in fact on your server, perhaps something went wrong during the upload.

Good luck, Rolf  ;)

Re: [Solved] Problem with Image Manager in 1.6.5

Posted: Wed Oct 28, 2009 7:13 pm
by Dieselboy
Rolf wrote: Hello all,

Please check the following file:
modules/TinyMCE/templates/tinyconfig.tpl

And this line:

Code: Select all

var cmsURL = "{$rooturl}/modules/TinyMCE/filepicker.php{$urlext}&type="+type;
Oct. 3 2009 Calguy made changes to this file Rev. 543
Changelog: "v2.4.5 - Modified to work with session.use_cookies = 0"

This modification was made after the first problems with the Image Manager.
This changed file was included in the 1.6.6 (base) release, which solved problems for several people...
So, please check if this file, with the line above, is in fact on your server, perhaps something went wrong during the upload.

Good luck, Rolf  ;)

Yes, it is, but I still have this problem :(

Re: [Solved] Problem with Image Manager in 1.6.5

Posted: Sun Nov 01, 2009 3:44 pm
by Dieselboy
Ok, I have solved my problem . I have deleted from the php.ini session.use_cookies = 1. But new problem has raised:  Any time a want to modify the cms content I get to the login page every 15 seconds. Is there any way to fix this ?