Members: 16,996
Threads: 38,846
Posts: 159,391
Online: 20

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 27.04.2004, 21:27   #1 (permalink)
Junior Mamber
 
peter01's Avatar
 
Join Date: Apr 2004
Location: Groningen
Posts: 36
peter01 is on a distinguished road
Default insert image problem with htmlarea2

I have a problem with uploading images with htmlarea2's insert image function in 4.5 1.0.7. Admin's receive the ActionComplete message on the front end, super admins do not have a problem. I tried all the suggestions made in this threads. Still, the problem

http://forum.mamboserver.com/viewtop...er=asc&start=0

and

http://forum.mamboserver.com/viewtop...?p=74424#74424

Any suggestions more than welcome,
cheers, peter
__________________
check out Dean - rock... en toch oet Grunn
peter01 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Old 02.05.2004, 12:01   #2 (permalink)
Junior Mamber
 
peter01's Avatar
 
Join Date: Apr 2004
Location: Groningen
Posts: 36
peter01 is on a distinguished road
Default Re: insert image problem with htmlarea2

bump
__________________
check out Dean - rock... en toch oet Grunn
peter01 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 04.05.2004, 03:10   #3 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 10
chmartin1 is on a distinguished road
Default Re: insert image problem with htmlarea2

I'm having the exact same problem... Please somebody... help
chmartin1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 26.01.2005, 10:52   #4 (permalink)
Baby Mamber
 
slingshot's Avatar
 
Join Date: Jan 2005
Posts: 9
slingshot is on a distinguished road
Thumbs up Re: insert image problem with htmlarea2, error 81, object is null or not an object

Hi all "Error 81" fellow victims

This works:

1. Locate by FTP the file "editor.htmlarea2.php" [in directory_where_you_installed_ Mambo/editor/]and rename it "editor.htmlarea2.php.backup" (and/ or download it)
2. Rename the attachment "editor.htmlarea2.php.txt" to "editor.htmlarea2.php" and upload it.

Voila - should work, while keeping the GUI buttons.

Only if the problem persists;

3. Locate by FTP the file "editor.php" [in directory_where_you_installed_ Mambo/editor/]and rename it "editor.php.backup" (and/ or download it)
4. Rename the attachment "editor.php.txt" to "editor.php" and upload it.

That should solve your problems once, for all.

Cheers

Sean

PS : Isn't there a patch that someone in the Mambo Development team can release for this inherent bug - lots of sites are still running on Mambo 4.5.0?
slingshot is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 26.01.2005, 11:24   #5 (permalink)
Baby Mamber
 
slingshot's Avatar
 
Join Date: Jan 2005
Posts: 9
slingshot is on a distinguished road
Flame Re: insert image problem with htmlarea2 - source code that works to "solve error 81"

The last message did not seem to include the attachments - attempt two:

--------------------editor.htmlarea2.php code follows ---------------------
<?php
// $Id: editor.htmlarea2.php,v 1.6 2004/02/18 20:12:51 ronbakker Exp $
/**
* Handler for htmlarea2
* @package Mambo Open Source
* @Copyright (C) 2000 - 2004 Miro International Pty Ltd
* @ All rights reserved
* @ Mambo Open Source is Free Software
* @ Released under GNU/GPL License : http://www.gnu.org/copyleft/gpl.html
* @version $Revision: 1.6 $
**/

defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

function initEditor() {
global $mosConfig_live_site;
?>
<script language="JavaScript1.2" type="text/JavaScript1.2">
<!--
_editor_url = 'editor/htmlarea2/'; // URL to htmlarea files
var win_ie_ver = parseFloat(navigator.appVersion.split("MSIE")[1]);
if (navigator.userAgent.indexOf('Mac') >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Windows CE') >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Opera') >= 0) { win_ie_ver = 0; }

if (win_ie_ver >= 5.5) {
document.write('<scr' + 'ipt src="' +_editor_url+ 'editor.js"');
document.write(' language="Javascript1.2"></scr' + 'ipt>');
} else {
document.write('<scr'+'ipt>function editor_generate() { return false; }</scr'+'ipt>');
}
//-->
</script>
<?php
}

function editorArea( $name, $content, $hiddenField, $width, $height, $col, $row ) {
?>
<textarea name="<?php echo $hiddenField; ?>" id="<?php echo $hiddenField; ?>" cols="<?php echo $col; ?>" rows="<?php echo $row; ?>" style="width:<?php echo $width; ?>; height:<?php echo $height; ?>"><?php echo $content; ?></textarea>
<script language="JavaScript1.2" defer="defer">
<!--
editor_generate('<?php echo $hiddenField ?>');
//-->
</script>
<?php
}

function getEditorContents( $editorArea, $hiddenField ) {
}

?>

----------------------------------- end ------------------------------

-------------------- editor.php code follows --------------------------

<?php
// $Id: editor.php,v 1.4 2003/09/26 08:51:51 rcastley Exp $
/**
* Editor handler
* @package Mambo Open Source
* @Copyright (C) 2000 - 2003 Miro International Pty Ltd
* @ All rights reserved
* @ Mambo Open Source is Free Software
* @ Released under GNU/GPL License : http://www.gnu.org/copyleft/gpl.html
* @version $Revision: 1.4 $
**/

defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

$mosConfig_editor = strtolower( @$mosConfig_editor );

if (file_exists( "$mosConfig_absolute_path/editor/editor.$mosConfig_editor.php" ))
{
require_once( "$mosConfig_absolute_path/editor/editor.$mosConfig_editor.php" );
}
else
{
require_once( "$mosConfig_absolute_path/editor/editor.htmlarea2.php" );
}
?>

----------------------------- end -------------------------------------
slingshot is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 16.02.2005, 13:15   #6 (permalink)
Baby Mamber
 
churm's Avatar
 
Join Date: Nov 2004
Location: Berlin
Posts: 17
churm is on a distinguished road
Default Re: insert image problem with htmlarea2

strange - i'm running

4.5 incl. Mambel Fish 1.1 - Stable-1.0.8 [Cobain] 07/04/2004 15:58 GMT

on Apache. i sometimes (once in a awhile) experience the same problem with htmlarea2.

i downloaded your attachments and followed your installation instructions.

afterwards htmlarea2 was no longer displayed in Mambo - i had to restore my backups.

anyone know if the patcheds posted here really work?
if not, let's please remove this post.
churm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 05.03.2005, 00:05   #7 (permalink)
Baby Mamber
 
Join Date: Feb 2005
Posts: 9
ayabar is on a distinguished road
Default Re: insert image problem with htmlarea2, error 81, object is null or not an object

I tried both and do not get any more the error 81 , but inside the image manager in the insert image dialog box I get this new message " object not found, error 404", it seems that have to be something wtih permissions but I do not where, I set the chmod exactly as html2_xtd require, so I am lost now, any idea?

Quote:
Originally Posted by slingshot
Hi all "Error 81" fellow victims

This works:

1. Locate by FTP the file "editor.htmlarea2.php" [in directory_where_you_installed_ Mambo/editor/]and rename it "editor.htmlarea2.php.backup" (and/ or download it)
2. Rename the attachment "editor.htmlarea2.php.txt" to "editor.htmlarea2.php" and upload it.

Voila - should work, while keeping the GUI buttons.

Only if the problem persists;

3. Locate by FTP the file "editor.php" [in directory_where_you_installed_ Mambo/editor/]and rename it "editor.php.backup" (and/ or download it)
4. Rename the attachment "editor.php.txt" to "editor.php" and upload it.

That should solve your problems once, for all.

Cheers

Sean

PS : Isn't there a patch that someone in the Mambo Development team can release for this inherent bug - lots of sites are still running on Mambo 4.5.0?
ayabar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
AkoComment Problem mrjinx Komponenten 8 25.04.2004 01:39
RSGallery: image / thumbnail width problem mp35486 Mambo 4.5 General Talk 3 19.04.2004 12:07
problem with htmlarea2 and uploading images scoobidoo Mambo 4.5 'How Do I' Questions 2 12.04.2004 14:43


All times are GMT +2. The time now is 05:28.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.