The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

I'm crying - help browser error Javascript Rollover popup menu

Discussion in 'General Discussion' started by jeroman8, Mar 5, 2004.

  1. jeroman8

    jeroman8 Well-Known Member

    Joined:
    Mar 14, 2003
    Messages:
    410
    Likes Received:
    0
    Trophy Points:
    16
    Hello!

    I have a Rollover, popup Javascript Menu created with DW.
    This works great on other servers but not on one server,
    where it should be.

    How come it works on one server but not on another server ?
    I use Tomcat on this server if that could have anything to do with it but the menu is client based ...?!

    The browser says: Error - an object is expected, code "0".

    Now - cause it's working on other servers, it's shouldn't be the code right ?
    The path is correct to the js file.


    Regards, Jeroman
     
  2. jeroman8

    jeroman8 Well-Known Member

    Joined:
    Mar 14, 2003
    Messages:
    410
    Likes Received:
    0
    Trophy Points:
    16
    Hi guys, I finally found out the problem.

    One the 2 servers it was ok on, it didn't matter that
    I uploaded the file in Ascii Mode. It worked great anyway.

    But on this, error server It didn't !!
    When I changed and uploaded the file in Binary mode
    it worked great !!!!

    Guess this might have to do with the FTP servers on the machines. I use Proftpd on the 2 it worked on but
    the other FTP server on the one it didn't work with ascii.
     
  3. raventec

    raventec Well-Known Member

    Joined:
    Apr 19, 2003
    Messages:
    120
    Likes Received:
    0
    Trophy Points:
    16
    lol I've done that a few times. Nice you found it and posted the solution :)
     
  4. nettigritty

    nettigritty Well-Known Member
    PartnerNOC

    Joined:
    Jan 21, 2004
    Messages:
    194
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Bangalore, India
    helped me ! problem was using Pure-FTP
     

Share This Page