CMSMS 1.6.6 - Browse to insert image still brings up login page

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.
Graeme
Forum Members
Forum Members
Posts: 23
Joined: Tue Dec 23, 2008 5:28 am

Re: CMSMS 1.6.6 - Browse to insert image still brings up login page

Post by Graeme »

Utopia,

Can you please check if this file has been correctly uploaded to my site.  perhaps I need to reinstall 1.6.6 from scratch?

BR


Graeme
User avatar
utopia
Forum Members
Forum Members
Posts: 16
Joined: Wed Oct 28, 2009 8:22 am

Re: CMSMS 1.6.6 - Browse to insert image still brings up login page

Post by utopia »

Could it be that the 1.6.6 diff patch did not include this in?  The customers site did not contain the update, but, it does say it is running 1.6.6.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: CMSMS 1.6.6 - Browse to insert image still brings up login page

Post by Rolf »

utopia wrote: Could it be that the 1.6.6 diff patch did not include this in?  The customers site did not contain the update, but, it does say it is running 1.6.6.
I checked all diff files, in each one of them is the changed config.tpl present!
Something might went wrong during the upload...

Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
nils73
Power Poster
Power Poster
Posts: 520
Joined: Wed Sep 08, 2004 3:32 pm

Re: CMSMS 1.6.6 - Browse to insert image still brings up login page

Post by nils73 »

Same here: Diff from 1.6.5 to 1.6.6 (full diff) and ever since the problem remains. Tried all the tricks around, but none worked. Here is what my server reports:

Code: Select all


# cat /var/tmp/sess_c25ac115d7e903138e27a7bc819ce9c3 
cms_admin_username|s:5:"admin";login_user_username|s:5:"admin";cmsuserkey|s:8:"93aed496";cms_admin_user_id|s:1:"1";tiny_live_textareas|s:21:"content_en,Bild-links";

However some of the files appear to be empty:

Code: Select all


# ls -l /var/tmp/sess_*
-rw-------  1 www  wheel    0 Nov  4 12:25 /var/tmp/sess_003f524a3de0753980f3969231aad223
-rw-------  1 www  wheel    0 Nov  4 12:36 /var/tmp/sess_00f09c7dbadfc76e8bcdfcddd0f4d6e0
-rw-------  1 www  wheel    0 Nov  4 13:08 /var/tmp/sess_025c4e06e74d1269a521243247ea1684
-rw-------  1 www  wheel    0 Nov  4 13:28 /var/tmp/sess_033fcbcd8c22f00a3e71dcc7f2e093b3
-rw-------  1 www  wheel    0 Nov  4 13:31 /var/tmp/sess_039564d258dfbad9901e3247539bc7d6
-rw-------  1 www  wheel    0 Nov  4 12:56 /var/tmp/sess_08d1bcd1aa79c2bbdb613a429f0c318b
-rw-------  1 www  wheel    0 Nov  4 13:26 /var/tmp/sess_08f7e8f1554b17838b5adb5586d2701d
-rw-------  1 www  wheel    0 Nov  4 13:13 /var/tmp/sess_0bde947ba09161ebb2d431ae04a25e76
-rw-------  1 www  wheel    0 Nov  4 12:24 /var/tmp/sess_0d78d55843a44cf0de3248075ba058b1
-rw-------  1 www  wheel    0 Nov  4 12:45 /var/tmp/sess_0f4e08744e7e3ab5af0af77bfd36366b
-rw-------  1 www  wheel    0 Nov  4 13:48 /var/tmp/sess_12441e21faf073a68280ce36d38b9ce8
-rw-------  1 www  wheel    0 Nov  4 13:20 /var/tmp/sess_12b4d9ac01b472f75e711045733e14fe
-rw-------  1 www  wheel    0 Nov  4 12:41 /var/tmp/sess_17a39faba715649a1773ea1251b78178
-rw-------  1 www  wheel    0 Nov  4 12:23 /var/tmp/sess_1878ab0f3bec0f3e28f40d636aa09e59
-rw-------  1 www  wheel    0 Nov  4 13:21 /var/tmp/sess_189cd568374ed7b91e4f73e6ee6f85c1
-rw-------  1 www  wheel    0 Nov  4 13:10 /var/tmp/sess_1923f514d874c31d7432f706afef4a43
-rw-------  1 www  wheel    0 Nov  4 12:36 /var/tmp/sess_19cdd278160efa01ecaeba1b75c1e681

Since I use module_custom for TinyMCE, I have even changed the respective lines there. But without any positive effect. If I lookup the URL it shows http://www.myurl.com/modules/TinyMCE/fi ... type=image - wondering where both ?? come from.

Any help is highly appreciated.

Regards,
Nils
Last edited by nils73 on Wed Nov 04, 2009 1:01 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: CMSMS 1.6.6 - Browse to insert image still brings up login page

Post by Rolf »

Hi all,

I have been testing, testing and testing... but the behavior is completely random...
Hacking the url out of the page source and copying it right into the browser gives sometimes the expected ImageManager, but after some refreshing also the login screen again...
Another topic which should be solved is also getting some reaction from some new users with this (kind of) problem:
http://forum.cmsmadesimple.org/index.ph ... 834.0.html
But the number of users with this annoying issue is very low...

Some possible solutions:
#1 session.use_cookies = 1 (but this should be fixed in 1.6.6)

#2 File: modules/TinyMCE/templates/tinyconfig.tpl (the fix from #1)
The code in it should be:

Code: Select all

var cmsURL = "{$rooturl}/modules/TinyMCE/filepicker.php{$urlext}&type="+type;
and not:

Code: Select all

var cmsURL = "{$rooturl}/modules/TinyMCE/filepicker.php?{$urlext}&type="+type;
#3 Create a new folder in the root of the website, called 'sessiontemp'
Put into the (exesting) .htaccess file in the root

Code: Select all

php_value session_save_path "sessiontemp"
#4 After doing #1, 2 and 3 please Clear Cache (Site Amin >> Global Settings >> Advanced Setup)

For some it helped and for some it didn't...
If the solutions above ain't work for you, and you have perhaps another server somewhere, make a full copy of your problem-website and put it on the other server. If the site is working there fine, we can definitely conclude it is a serverside problem.

I really can't reproduce this on my test site... I have put many hours in this.
I'm sorry, but I can't help you further on this...  :-[

Regards, Rolf
Last edited by Rolf on Thu Nov 05, 2009 7:51 am, edited 1 time in total.
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
nils73
Power Poster
Power Poster
Posts: 520
Joined: Wed Sep 08, 2004 3:32 pm

Re: CMSMS 1.6.6 - Browse to insert image still brings up login page

Post by nils73 »

Rolf wrote:
If the solutions above ain't work for you, and you have perhaps another server somewhere, make a full copy of your problem-website and put it on the other server. If the site is working there fine, we can definitely conclude it is a serverside problem.
I am running CMSMS with 7 installations on the same server - only this one has issues. So it's not a server-issue, that one is for sure! Next thing I will look into is the diff from 1.6.4 to 1.6.6 and 1.6.5 to 1.6.6 - it's got nothing to do with fresh installs.

Regards,
Nils
nils73
Power Poster
Power Poster
Posts: 520
Joined: Wed Sep 08, 2004 3:32 pm

Re: CMSMS 1.6.6 - Browse to insert image still brings up login page

Post by nils73 »

I just made an important discovery: I was still wondering where filepicker.php?? came from. So I ran a search on the server, looking for filepicker.php? and then it popped up: templates_c.

Actually I do not know what admin-area has to do with templates_c and I wasn't really hoping that it would work after deleting all files in templates_c. Well, I did and guess what: It works. It works on all installations. So that is why it would not show up on clean installs. And it might be the reason for "random" showing up of this error: If caching is disabled, it might work.

Simply go to Administration > Global Setting > Clear Cache. That might do the trick.

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

Re: CMSMS 1.6.6 - Browse to insert image still brings up login page

Post by Rolf »

@nils73
Thanks for your involvement. You have seen that there are more probable courses behind this. And more solutions...
nils73 wrote: Simply go to Administration > Global Setting > Clear Cache. That might do the trick.
Have tried this before, and again on jmires' website twice, didn't help...  :-\

I think the solutions mentioned before solved your problem in the first place, but you couldn't see it after clearing cache.
But it doesn't matter, your problem is solved   :D
And for the others another thing to try on their website! I will put it in the list above  ;)
Rolf wrote: If the solutions above ain't work for you, and you have perhaps another server somewhere, make a full copy of your problem-website and put it on the other server. If the site is working there fine, we can definitely conclude it is a serverside problem.
It still stands for me... But who can proof the opposite  ;D

Grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
nils73
Power Poster
Power Poster
Posts: 520
Joined: Wed Sep 08, 2004 3:32 pm

Re: CMSMS 1.6.6 - Browse to insert image still brings up login page

Post by nils73 »

Rolf wrote:
Have tried this before, and again on jmires' website twice, didn't help...  :-\
Actually I didn't use the admin panel but used a command-line option. However 99% do not have this option. Flushing the cache via Admin should do the same (at least I hope so).
Rolf wrote:
It still stands for me... But who can proof the opposite  ;D
Just like you I spent several hours on this and since I did not change anything (in the end) except for deleting everything inside templates_c it seems that this is the most likely thing one should look into. This in combination with the fact that problem only occurs when updating and not with fresh installs. However: Thanks for the help.

Regards
Nils
chrismarie

Re: CMSMS 1.6.6 - Browse to insert image still brings up login page

Post by chrismarie »

Hi,
I don't know if this discussion is still going on, but I moved an installation of 1.6.6 to a new server and TinyMCE stopped working and the Image Manager is pulling in the login page in the frame.  I tried all the steps listed about, and even after I cleared my cache, my session save path wasn't changed, and the image manager and tinymce were still jacked.  I'm going to contact my host tomorrow and ask for some assistance. I"ll post my results here in case anyone else is still having this issue.

Here are my settings:
----------------------------------------------

Cms Version: 1.6.6

Installed Modules:

    * CMSMailer: 1.73.14
    * FileManager: 1.0.1
    * MenuManager: 1.6.2
    * ModuleManager: 1.3.1
    * News: 2.10.3
    * nuSOAP: 1.0.1
    * Printing: 1.0.4
    * Search: 1.6.1
    * ThemeManager: 1.1.1
    * TinyMCE: 2.5.5
    * Gallery: 1.0.3
    * CGExtensions: 1.17.4
    * CGSimpleSmarty: 1.4.3
    * FormBuilder: 0.5.12
    * Play: 1.0.3


Config Information:

    * php_memory_limit: 64M
    * process_whole_template: false
    * max_upload_size: 8000000
    * default_upload_permission: 664
    * assume_mod_rewrite: true
    * page_extension: .php
    * internal_pretty_urls: false
    * use_hierarchy: true


Php Information:

    * phpversion: 5.2.4
    * md5_function: On (True)
    * gd_version: 2
    * tempnam_function: On (True)
    * magic_quotes_runtime: Off (False)
    * memory_limit: 64M
    * max_execution_time: 120
    * safe_mode: Off (False)
    * session_save_path: /var/php_sessions ()
    * session.use_cookies: On (True)


Server Information:

    * Server Api: cgi
    * Server Db Type: MySQL (mysql)
    * Server Db Version: 5.0.83


----------------------------------------------
chrismarie

Re: CMSMS 1.6.6 - Browse to insert image still brings up login page

Post by chrismarie »

Update: I don't know if anyone is still having this problem, but I contacted my host, had them change the Session Save Path, and both TinyMCE and the Image Manager are functioning.
Post Reply

Return to “CMSMS Core”