Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
March 18, 2010, 12:00:48 PM

Pages: [1]   Go Down
  Print  
Author Topic: JS suddenly not working  (Read 214 times)
bobray
Newbie
*
Offline Offline

Posts: 5


« on: February 02, 2010, 07:08:42 PM »

I don't really expect an answer here, but thought I'd ask just in case.

I have a MODx site at LP where the Mootools JS that expands a tree node just quit working. The problem appears in several browsers.

The site hasn't changed and, so far, no one in the MODx community has the same problem except one person who also has a site at Lunarpages. My MODx sites at other servers don't have the problem.

I know JS is not a server-side process so this question doesn't make much sense, but has anything changed at LP lately that could cause this?
Logged
Mitch
Senior Moderator
Berserker Poster
*****
Online Online

Posts: 12713


Business Development Specialist at Lunarpages


WWW
« Reply #1 on: February 03, 2010, 05:21:56 AM »

Not that I know of.  If you could give us more details and examples, perhaps somebody else might be able to try to recreate the setup on their own account to see if it works for them, or offer a fix you might have overlooked.
Logged

New Lunarpages Contest! - Win a Free Web Site Design! Enter Today!


Mitch the Moderator - follow me @lunarpages on Twitter!
Important Threads: Read This Before Posting! | Lunarforums Rules! | Mitch's Link of the Day!
Also, be sure to check out and subscribe to the Lunartics Blog and the Lunarpages Newsletter !

Need Web Hosting Help? Check out the Lunarpages Web Hosting Wiki. It has tons of tips, tutorials and resources!
lexhair
Galactic Royalty
*****
Offline Offline

Posts: 339


« Reply #2 on: February 03, 2010, 07:07:41 AM »

I don't really expect an answer here, but thought I'd ask just in case.

I have a MODx site at LP where the Mootools JS that expands a tree node just quit working. The problem appears in several browsers.

The site hasn't changed and, so far, no one in the MODx community has the same problem except one person who also has a site at Lunarpages. My MODx sites at other servers don't have the problem.

I know JS is not a server-side process so this question doesn't make much sense, but has anything changed at LP lately that could cause this?
"View Source" to make sure the js is being called in the page. If you have FireBug, use it to see what's going on. You could have a permissions problem on the js file. Make sure it's 644.
Logged
bobray
Newbie
*
Offline Offline

Posts: 5


« Reply #3 on: February 05, 2010, 06:56:51 PM »

Thanks for the ideas.

The JS code appears to be loaded and Firebug is reporting no errors (nor are there any errors in the MODx error log).

All the permissions look good except that the files in the cgi-bin directory are set to 755. Is that normal?

@Mitch: I'm afraid I can't really give more details because I don't yet have a clue which part of the MODx back end code is involved.

I think it's a pretty standard JS file tree where the nodes expand to show children when you click on them (except they don't now).

The problem is occurring in separate browsers on two separate versions of MODx at LP (one on PHP4 and one on PHP5)  that both worked fine until recently and haven't been modified. It doesn't happen on a localhost copy I have of the same site.

If any others are running MODx at LP and are, or are not, having the error, I'd be glad to hear from them. So far, there are no reports of this error on the many other hosts running MODx.
« Last Edit: February 05, 2010, 07:44:26 PM by bobray » Logged
Pages: [1]   Go Up
  Print  
 
Jump to: