Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2005-08-10 11:12:48

badmrfrosty
New member
Registered: 2005-08-01
Posts: 7

'style' is null or not an object

Any idea?

here are the relevant URLs:

http://www.hilliardpres.org/drew.phps <-- source code without my passwords
http://www.hilliardpres.org/drew.php <-- the script itself with the error

all i did was copy the example from the faq into the body of this html document.

Any help would be amazing at this point im losing my mind...

-Drew

Offline

#2 2005-08-10 13:17:01

ShaunA
New member
From: United Kingdom
Registered: 2005-08-10
Posts: 1
Website

Re: 'style' is null or not an object

Hi, I'm getting the exact same error, when I only have one text area setup (one text area id in the config) everything works fine and great, as soon as I add a second text id I get the error mentioned.... I've setup Xinha on 3 seperate pages. Any one of pages works fine on its own, as soon as a second is setup in the config, all breaks down...

This works : xinha_editors = xinha_editors ? xinha_editors :
    [
         'AboutUsEdit'
    ];

This Doesn't : xinha_editors = xinha_editors ? xinha_editors :
    [
         'AboutUsEdit',
    'ServicesEdit'
    ];

The only way I could get all 3 to work was to define a different config file in each of the pages...
(In AboutUs Page) <script type="text/javascript" src="../xinha/Config_AboutUs.js"></script>
(In Services Page) <script type="text/javascript" src="../xinha/Config_Services.js"></script>

Hope this makes sense and someone can throw some light onto it... at least it works with multiple configs for now....

Last edited by ShaunA (2005-08-10 13:18:55)

Offline

#3 2005-08-11 05:09:13

niko
Xinha Authority
From: Salzburg/Austria
Registered: 2005-02-14
Posts: 338

Re: 'style' is null or not an object

your first textarea (welcome) has no id!
this would be correct:

<textarea name="welcome" id="welcome" cols=65 rows=24><? echo $welcome; ?></TEXTAREA>

Niko

Offline

Board footer

Powered by FluxBB