|
|
#1 |
|
Junior Member
Join Date: Mar 2009
Posts: 24
Rep Power: 1 ![]() |
Hi,
Im running 68C dev ver. 4.1.2 and got Tinymce working on my localhost site - everything is ok there. But in my publick site tinymce seems to kill admin session... When i try to change some page and click save it goes to login page.. Is there something i should of changed when I copied tinymce module from my localhost site to public site? Regards |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,322
Rep Power: 39 ![]() ![]() |
Do you have the markitup module activated? That serves the same purpose and is also javascript which is trying to control the same functions. If you do have it active, then deactivate it.
__________________
Mike-N-Tosh v3.1.10 Developer IndianaPC.org - A community website Sandbox v4.0.9, 4.1 Templates, Mods & Docs for sale | My blog with much content for 68 Classifieds. Web Hosting | Web Design & Development | 68 Classifieds Customizations I am not a 68C employee, just a user and try to help out |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Mar 2009
Posts: 24
Rep Power: 1 ![]() |
Thanks for quick reply!
No, deactivated markitup. I can see tinymce toolbars and even edit texts but it seems to forget that im logged in when i try to save changes. And IE8 (in compatibility mode - which should be like IE7.. i guess) doesnt show tinymce at all - any ideas?? |
|
|
|
|
|
#4 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,766
Rep Power: 110 ![]() |
Can you check your server and see if you have registered globals turned on. And if so turn them off. Maybe it is using the same variable name.
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Mar 2009
Posts: 24
Rep Power: 1 ![]() |
Hi,
both localhost and public server phpinfo indicates that globals are off... |
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Mar 2009
Posts: 24
Rep Power: 1 ![]() |
Ok,
I found out that this sessionkilling is due to a tinymce plugin I installed - imagemanager wich requires authentication to upload images - it works with localhost but not in public server. Maybe someone could guide me through this authentication issue These lines handle imagemanager authentication // Authentication $mcImageManagerConfig['authenticator'] = "SessionAuthenticator"; $mcImageManagerConfig['authenticator.login_page'] = "../../../../../administration/login.php"; //this is 68C login page. I changed this so that imagemanager could underestand if administrator is logged in.. $mcImageManagerConfig['authenticator.allow_override'] = "*"; // SessionAuthenticator $mcImageManagerConfig['SessionAuthenticator.logged_in_key'] = "logged"; //this word logged I got from 68C login.php i dont know if it is the right word but it seems to work in localhost... $mcImageManagerConfig['SessionAuthenticator.groups_key'] = "groups"; $mcImageManagerConfig['SessionAuthenticator.user_key'] = "user"; $mcImageManagerConfig['SessionAuthenticator.path_key'] = "mc_path"; $mcImageManagerConfig['SessionAuthenticator.rootpath_key'] = "mc_rootpath"; $mcImageManagerConfig['SessionAuthenticator.config_prefix'] = "imagemanager"; Please, I really appreciate some help on this one.. |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Mar 2009
Posts: 24
Rep Power: 1 ![]() |
seems that everybody's sleeping
I'll add this code to my previous post. This is SessionAuthenticator.php file which (i guess) handles authentication itself: PHP Code:
Last edited by raifs; 04-27-2009 at 12:52 AM. |
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Mar 2009
Posts: 24
Rep Power: 1 ![]() |
Anybody? no ideas? Maybe there's something related to localhost and public site license key? Because in localhost it works fine and in virtual host not. And i tried it with different pc-s so it is not a cookie or cache related issue. I don't know, I can't do it alone, please help me out here.
Regards |
|
|
|
|
|
#9 | |
|
Moderator
Join Date: Mar 2006
Posts: 4,103
Rep Power: 100 ![]() ![]() |
Quote:
As for the list of variables that you displayed, if you have it working on a local system but not on a live web server, then my guess is one of the many paths asked for is incorrect.
__________________
Larry. (Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free) Set your site apart from the competition with one of my modules...... Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
|
|
|
|
|
#10 |
|
Junior Member
Join Date: Mar 2009
Posts: 24
Rep Power: 1 ![]() |
Hi,
thanks for the reply. I don't know what to say...TinyMCE module comes from mr Eric Barnes. I added this image manager which is tinymce commercial addon. I would not bother you if this addon isn't working in local server too. But it does and it is great to have a image upload function. I think that the solution is very simple but I can't put my finger on it. Paths are correct (i think - because I haven't changed them - only this 68C login.php location - it directs me to this page when I try to load imagemanager). Maybe there is still something to do with licenses...? Regards |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| counter : once per session | frommarcq | v4 Questions & Support | 2 | 12-14-2008 02:38 PM |
| Session IDs | anna245 | v4 Questions & Support | 6 | 06-12-2008 09:11 PM |
| Session timeout | castus | v4 Questions & Support | 3 | 12-03-2007 08:50 AM |
| Login Session | sarep000 | v3.1 Questions & Support | 3 | 07-16-2007 11:39 AM |
| Session Length | Maffo | v3.1 Questions & Support | 9 | 09-05-2006 02:29 PM |