The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 40 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Sat Jul 05, 2008 10:26 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Jun 19, 2008 8:17 pm
Posts: 3
Thank you soooooo much!!!!!

I have been up late for the last few nights trying to get this sorted. I've been on all the wrong forums, I thought it was down to one of the components I'd loaded. TinyMCE was working with firefox but not IE7, anyway, thanks to this fix it's all working now. Thank you again.


Top
 Profile  
 
PostPosted: Thu Oct 23, 2008 10:00 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Jan 30, 2007 10:40 am
Posts: 44
Tried this without success. My WYSIWYG stopped working on all my sites on the same server so I am wondering if the hosts have changed something?

Any help would be appreciated. I have tried everything I can think and everything I have been able to find in the forums.

J1.0.15
Unix server
PHP Ver 5.2.6

_________________
I found a place where you can search for eBay items ending soon that have no bids


Top
 Profile  
 
PostPosted: Fri Nov 20, 2009 8:18 pm 
User avatar
Joomla! Explorer
Joomla! Explorer

Joined: Tue Feb 06, 2007 12:18 pm
Posts: 294
where is the live site under server in config tab, I can not find it!!
Was this fr Joomla 1?

_________________
http://www.seoandwebdesign.com Joomla SEO MARKETING WEB DESIGN Los Angeles


Top
 Profile  
 
PostPosted: Fri Nov 20, 2009 8:28 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Jun 18, 2007 5:09 am
Posts: 8
Location: Georgia, USA
Yeah, this is an old thread, this fix does not apply to J 2.x

_________________
Reid Workman
Internet Faction - Web Development and Design
ReidWorkman.com


Top
 Profile  
 
PostPosted: Fri Nov 20, 2009 8:38 pm 
User avatar
Joomla! Explorer
Joomla! Explorer

Joined: Tue Feb 06, 2007 12:18 pm
Posts: 294
i have letst joomla and when i try to upload image in jce editor it gives me this error
any idea?

_________________
http://www.seoandwebdesign.com Joomla SEO MARKETING WEB DESIGN Los Angeles


Top
 Profile  
 
PostPosted: Fri Nov 20, 2009 8:51 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Jun 18, 2007 5:09 am
Posts: 8
Location: Georgia, USA
Really now? That's odd..

The fix that I introduced was designed to solve a url issue that caused certain cookies not to register and thus restrict access to certain components of the site.

Is the administrator using any sort of special/custom template?

_________________
Reid Workman
Internet Faction - Web Development and Design
ReidWorkman.com


Top
 Profile  
 
PostPosted: Fri Nov 20, 2009 8:58 pm 
User avatar
Joomla! Explorer
Joomla! Explorer

Joined: Tue Feb 06, 2007 12:18 pm
Posts: 294
yes that is me, i customized the template from Joomla 1, maybe I forgot to add someting

DO you want to take a look

_________________
http://www.seoandwebdesign.com Joomla SEO MARKETING WEB DESIGN Los Angeles


Top
 Profile  
 
PostPosted: Sat Nov 21, 2009 12:50 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Jun 18, 2007 5:09 am
Posts: 8
Location: Georgia, USA
Sure, I'll have a look. Please check your PM.

_________________
Reid Workman
Internet Faction - Web Development and Design
ReidWorkman.com


Top
 Profile  
 
PostPosted: Wed Jan 20, 2010 12:17 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Nov 10, 2008 8:40 am
Posts: 43
Quote:
I know that this has been tossed up so many times however, I want to go ahead and provide an actual fix for those who do not want to explain it to other users of their administrator panel or just for their own convenience. If you are receiving any of the following:

1) Blank popups when attempting to post images, links, tables, or any other popup in TinyMCE
2) Popups display no useful text but show something similar to: {$lang_insert_link_title}
3) Receiving something similar to 'uncaught exception: Permission denied to get property Window.tinyMCE' or 'tinyMCE has no properties'
4) Having issues saving, closing, previewing, or applying new or preexisting content
5) And perhaps other Javascript related functions in the administrator panel.

Then you have two options...

First you can follow the FAQ here or this FAQ (Both are for the same issue). However you will have to remember to always go to the live site url.

Your other option is you can insert a PHP snippet into both your index.php and index2.php in your administrator folder that will automatically go there for you and so you do not have to worry about it at all in the future.

To apply this fix, open up the index.php AND the index2.php in the administrator folder, and then insert the following in the gap after the SSL check and before the "require_once( '../includes/joomla.php' );":

Code:
//URL Check
$mw_chk_http=explode(".",$_SERVER['HTTP_HOST'],1);
# HTTPS Check
if(empty($_SERVER['HTTPS'])){
$mw_cmp_http=explode(".",substr($mosConfig_live_site,7),1);
}else{
$mw_cmp_http=explode(".",substr($mosConfig_live_site,8),1);
}
# Compare Current to Config Site
if(strtolower($mw_chk_http[0])!==strtolower($mw_cmp_http[0])){
header("Location: ".$mosConfig_live_site."/administrator/index2.php");
exit();
}


Once you have applied the fix to both files, upload them to your live site and give it a shot. You will now be directed to the live site as defined in the joomla configuration.

Hopefully this helps a few headaches. I apologize if a fix similar to this has already been posted, however I didn't think it would hurt.


Note: As always, backup the files you are about to edit before ever applying any sort of script modification to them. Also this fix may be eliminated if you do any sort of Joomla version upgrades or a clean installation. If you have any problems with this fix, please post your feedback on this thread.

Mambo: This is untested on Mambo, however if you are experiencing similar to problems as described above, feel free to use the snippet above and let me know if you have any problems with it.


I am such a noob. Please help, I am not sure where to change my mosconfig live site thingy. All I see is this,
Code:
var $live_site = '';
But even when I put my site domain it does not work.

Also mentioned was to put that coding in the index1.php and index2.php after the SSL but I cannot find that anywhere, the SSL check I mean. it just has this.
Code:
<?php
/**
* @version      $Id: index2.php 10381 2008-06-01 03:35:53Z pasamio $
* @package      Joomla
* @copyright   Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license      GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/

include('index.php');
?>


as for index1.php I get this
Code:
<?php
/**
* @version      $Id: index.php 10381 2008-06-01 03:35:53Z pasamio $
* @package      Joomla
* @copyright   Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license      GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/

// Set flag that this is a parent file
define( '_JEXEC', 1 );

define('JPATH_BASE', dirname(__FILE__) );

define('DS', DIRECTORY_SEPARATOR);

require_once( JPATH_BASE .DS.'includes'.DS.'defines.php' );
require_once( JPATH_BASE .DS.'includes'.DS.'framework.php' );
require_once( JPATH_BASE .DS.'includes'.DS.'helper.php' );
require_once( JPATH_BASE .DS.'includes'.DS.'toolbar.php' );

JDEBUG ? $_PROFILER->mark( 'afterLoad' ) : null;

/**
 * CREATE THE APPLICATION
 *
 * NOTE :
 */
$mainframe =& JFactory::getApplication('administrator');

/**
 * INITIALISE THE APPLICATION
 *
 * NOTE :
 */
$mainframe->initialise(array(
   'language' => $mainframe->getUserState( "application.lang", 'lang' )
));

JPluginHelper::importPlugin('system');

// trigger the onAfterInitialise events
JDEBUG ? $_PROFILER->mark('afterInitialise') : null;
$mainframe->triggerEvent('onAfterInitialise');

/**
 * ROUTE THE APPLICATION
 *
 * NOTE :
 */
$mainframe->route();

// trigger the onAfterRoute events
JDEBUG ? $_PROFILER->mark('afterRoute') : null;
$mainframe->triggerEvent('onAfterRoute');

/**
 * DISPATCH THE APPLICATION
 *
 * NOTE :
 */
$option = JAdministratorHelper::findOption();
$mainframe->dispatch($option);

// trigger the onAfterDispatch events
JDEBUG ? $_PROFILER->mark('afterDispatch') : null;
$mainframe->triggerEvent('onAfterDispatch');

/**
 * RENDER THE APPLICATION
 *
 * NOTE :
 */
$mainframe->render();

// trigger the onAfterRender events
JDEBUG ? $_PROFILER->mark( 'afterRender' ) : null;
$mainframe->triggerEvent( 'onAfterRender' );

/**
 * RETURN THE RESPONSE
 */
echo JResponse::toString($mainframe->getCfg('gzip'));
?>


Please help!! I urgently need to edit my site! will be very grateful


Top
 Profile  
 
PostPosted: Mon Feb 08, 2010 10:14 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 16637
Location: **Translation Matters**
You are using Joomla 1.5 and posting in joomla 1.0 forums.
I suggest you search the forum for your problem and if you do not find any, post in the 1.5 forums.

First thing to do is to update to 1.5.15.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 40 posts ]  Go to page Previous  1, 2



Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group