Joomla Bible Study

...components for the glory of God
Welcome, Guest
Please Login or Register.    Lost Password?

MooVing On - MooTools Conflicts
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: MooVing On - MooTools Conflicts
#1345
MooVing On - MooTools Conflicts 8 Months, 2 Weeks ago  
Greetings,

I have a few issues in RC5 I had mentioned in a previous thread, but that thread got to be pretty focused on a specific issue (which very thankfully was resolved)

First is a conflict with my MooTools enabled templates. If I am using a MooTools enabled template the media simply won't load. You can click the links, but nothing happens. I have disabled MooTools in the template I am currently using, however would like to switch to a new template that unfortunately does not give me the option to disable MooTools. When MooTools is enabled in the template I get the following errors on the studies listing page.

Error: window.addEvent is not a function
Source File: www.thegatheringevansville.com/ws/compon...iblestudy/tooltip.js
Line: 1

Error: $ is not a function
Source File: www.thegatheringevansville.com/ws/media/system/js/mootools.js
Line: 23

When I click the media icons to launch the media I also get this error

Error: $ is not a function
Source File: www.thegatheringevansville.com/ws/plugin...loaded/avreloaded.js
Line: 2

In the template that I can disable MooTools in only the first error appears, but I have a few other problems (that exist whether MooTools is enabled or not).

Clicking the comments icon takes me to the study details page, but with no interface for leaving comments.
Clicking the pdf icon opens a pdf file without the study notes or scripture, just a single comma and nothing else.
Clicking the download icon for audio files that have been added as AVR Media doesn't work. It tries to download a file named "http_" which is only a few bytes in size. Opening the download file in TextPad reveals the following

<br />
<b>Warning</b>: readfile(http://) [<a href='function.readfile'>function.readfile</a>]: failed to open stream: operation failed in <b>/home/gatheringchurch/thegatheringevansville.com/ws/components/com_biblestudy/class.biblestudydownload.php</b> on line <b>59</b><br />

This last problem isn't a huge issue, because I can work around it by adding the audio file with an absolute path rather than as AVR Media and it will download fine.

I know that's a whole lot of issues to cram into one thread, but I suspect they may all be related to a single javascript issue. I do have a work site side by side with my live site where I can test anything you need me to test.

Thanks in advance.
amm5172
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1347
Re: MooVing On - MooTools Conflicts 8 Months, 2 Weeks ago  
The first error "tooltip.js" has been fixed in the SVN. I'll have to investigate more, however, on the other js errors. Also, for the downloading issue, have you tried enabling "compatibility mode"?
genu
Moderator
Posts: 147
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1348
Re: MooVing On - MooTools Conflicts 8 Months, 2 Weeks ago  
Yes, I have tried cmode. The result is the same.
I have to wonder if the tooltip.js error isn't the cause of the other js errors.
amm5172
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1349
Re:MooVing On - MooTools Conflicts 8 Months, 2 Weeks ago  
6.1 uses jQuery. When jQuery and Mootools are used together, it is possible for the "$ is not a function" error to show up. I'll look into the code tomorrow night and make sure the noconflict.js is referenced properly.

Thanks,
D8
du8die
Moderator
Posts: 33
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1354
Re:MooVing On - MooTools Conflicts 8 Months, 2 Weeks ago  
One more thing that I have intermittent problems with. Any time I change the view on the Studies page in the back end or try to change pages I get a 500 error with the following message

View not found [name, type, prefix]: biblestudy,html,biblestudyView
amm5172
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1355
Re:MooVing On - MooTools Conflicts 8 Months, 2 Weeks ago  
I've noticed that too at times. I wonder if you can help us out - does it happen going from certain views to others or all the time? Does it happen after looking at a list or after editing an item then going back to the list?

The most likely culprit is either the main biblestudy controller on the backend or a form on the backend that is not sending to the right controller.

Any help would be appreciated!

Tom
tmfuller
Administrator
Posts: 855
graph
User Offline Click here to see the profile of this user
"You shall know the truth and the truth shall set you free." JC
The administrator has disabled public write access.
 
Go to topPage: 12