[Solved] Problem with Image Manager in 1.6.5

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
geeves
Forum Members
Forum Members
Posts: 114
Joined: Wed Dec 03, 2008 4:56 am

[Solved] Problem with Image Manager in 1.6.5

Post 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
Attachments
cmsms_165.png
Last edited by Rolf on Sun Oct 04, 2009 8:45 am, edited 1 time in total.
Ara Garabedian
Multimedia Designer / Developer
http://ara.ifky.com.au
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Problem with Image Manager in 1.6.5

Post by jmcgin51 »

a similar issue was reported here:

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

no resolution yet, unfortunately.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Problem with Image Manager in 1.6.5

Post 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?).
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Problem with Image Manager in 1.6.5

Post 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
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: Problem with Image Manager in 1.6.5

Post 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
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: Problem with Image Manager in 1.6.5

Post by RonnyK »

session.use_cookies issue is fixed in SVN and will be in the upcoming 1.6.6 release.

Ronny
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Problem with Image Manager in 1.6.5

Post 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
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
katea
Forum Members
Forum Members
Posts: 116
Joined: Wed Jun 10, 2009 12:25 am

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

Post by katea »

This hasn't solved my problem.

Still getting a 404 page and no images.

session.use_cookies is on
Last edited by katea on Mon Oct 19, 2009 11:45 pm, edited 1 time in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: [Solved] Problem with Image Manager in 1.6.5

Post 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
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Dieselboy
New Member
New Member
Posts: 4
Joined: Sun Oct 25, 2009 1:17 pm

Re: Problem with Image Manager in 1.6.5

Post 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 ?
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: [Solved] Problem with Image Manager in 1.6.5

Post 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  :)
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Dieselboy
New Member
New Member
Posts: 4
Joined: Sun Oct 25, 2009 1:17 pm

Re: [Solved] Problem with Image Manager in 1.6.5

Post 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.
Last edited by Dieselboy on Fri Nov 06, 2009 7:45 pm, edited 1 time in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: [Solved] Problem with Image Manager in 1.6.5

Post 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  ;)
Last edited by Rolf on Wed Oct 28, 2009 6:47 pm, edited 1 time in total.
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Dieselboy
New Member
New Member
Posts: 4
Joined: Sun Oct 25, 2009 1:17 pm

Re: [Solved] Problem with Image Manager in 1.6.5

Post 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 :(
Dieselboy
New Member
New Member
Posts: 4
Joined: Sun Oct 25, 2009 1:17 pm

Re: [Solved] Problem with Image Manager in 1.6.5

Post 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 ?
Post Reply

Return to “CMSMS Core”