Joomla-Bible-Study / Proclaim

Joomla Proclaim Component - Christian Web Ministries
https://www.christianwebministries.org/
GNU General Public License v3.0
10 stars 9 forks source link

Admin Datepicker not working #378

Closed koleror closed 10 years ago

koleror commented 10 years ago

Hi!

For the last few months, I have had an issue with the datepicker used to set a study date. When I look into the javascript console, I can see the following errors:

GET http://addcreteil.fr/media/com_biblestudy/js/ui/theme/ui.datepicker.css  index.php:32 (-> 404 error)
GET http://addcreteil.fr/media/com_biblestudy/js/ui/theme/ui.slider.css  index.php:32 (-> 404 error)
Uncaught TypeError: Cannot read property 'addClass' of undefined index.php?option=com_biblestudy&view=message&layout=edit:207
Uncaught TypeError: undefined is not a function index.php?option=com_biblestudy&view=message&layout=edit:53

I can still enter the date manually but I need the datepicker to be fixed (even a dirty quick fix would do) as I need to let other users enter studies into the database. I hoped the bug would disappear by itself with the latest update (8.0.8) but apparently not... I tried on chrome, firefox ans safari, all up-to-date. Can someone help please? Any clue where the problem comes from?

Thanks for your help.

koleror commented 10 years ago

I just found https://github.com/Joomla-Bible-Study/Joomla-Bible-Study/issues/359. Is it the same issue?

If yes, is there a quick dirty fix while waiting for the official release? Thanks

bcordis commented 10 years ago

Yes this is.

On Monday, September 22, 2014, Hugo Defrance notifications@github.com wrote:

I just found #359 https://github.com/Joomla-Bible-Study/Joomla-Bible-Study/issues/359. Is it the same issue?

— Reply to this email directly or view it on GitHub https://github.com/Joomla-Bible-Study/Joomla-Bible-Study/issues/378#issuecomment-56447757 .

Sent from Gmail Mobile

bcordis commented 10 years ago

What version of Joomla and php plus Joomla bible study are you running?

bcordis commented 10 years ago

The one error you have looks like your website is not allowing you to access files directly under that folder. This could be your error.

koleror commented 10 years ago

Joomla! 2.5.24 PHP version: 5.4.30 (full details here: http://addcreteil.fr/php-info.php) Bible study: 8.0.8

koleror commented 10 years ago

Okay, I can I patch that? In the .htaccess maybe?

bcordis commented 10 years ago

Yes that would be the place. Make sure you can brows directly to the files. If you can't the error will keep happening. Once that is ok and still having trouble will need to open a support ticket and will have to do some debug.

Sent from my iPhone

On Sep 22, 2014, at 4:57 PM, Hugo Defrance notifications@github.com wrote:

Okay, I can I patch that? In the .htaccess maybe?

— Reply to this email directly or view it on GitHub.

koleror commented 10 years ago

I just installed a fresh joomla and bible study locally and it works fine. I still have a few 404 though:

Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8888/joomla/media/com_biblestudy/js/ui/theme/ui.datepicker.css
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8888/joomla/media/com_biblestudy/js/ui/theme/ui.slider.css
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8888/joomla/media/com_biblestudy/js/ui/theme/ui.datepicker.css
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8888/joomla/media/com_biblestudy/js/ui/theme/ui.slider.css

Which means that it is only a js problem and not css one. Which file do you think is responsible?

Thanks for your help by the way! I really appreciate.

I can do some debugging if you tell me what to do. I'm a web developer too.

bcordis commented 10 years ago

If you have one of the latest browsers you can use the development tools to look into the JavaScript errors and capture where it is erring out at. We use the core Joomla JS files to so this.

Sent from my iPhone

On Sep 22, 2014, at 5:33 PM, Hugo Defrance notifications@github.com wrote:

I just installed a fresh joomla and bible study locally and it works fine. I still have a few 404 though.

Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8888/joomla/media/com_biblestudy/js/ui/theme/ui.datepicker.css Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8888/joomla/media/com_biblestudy/js/ui/theme/ui.slider.css Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8888/joomla/media/com_biblestudy/js/ui/theme/ui.datepicker.css Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8888/joomla/media/com_biblestudy/js/ui/theme/ui.slider.css Which means that it is only a js problem and not css one. Which file do you think is responsible?

Thanks for your help by the way! I really appreciate.

I can do some debugging if you tell e what to do. I'm a web developer too.

— Reply to this email directly or view it on GitHub.

koleror commented 10 years ago

The errors are:

Uncaught TypeError: Cannot read property 'addClass' of undefined index.php?option=com_biblestudy&view=message&layout=edit:207
Uncaught TypeError: undefined is not a function index.php?option=com_biblestudy&view=message&layout=edit:53
bcordis commented 10 years ago

Do you have any JS compression on or JS replaces?

On Tuesday, September 23, 2014, Hugo Defrance notifications@github.com wrote:

The errors are:

Uncaught TypeError: Cannot read property 'addClass' of undefined index.php?option=com_biblestudy&view=message&layout=edit:207Uncaught TypeError: undefined is not a function index.php?option=com_biblestudy&view=message&layout=edit:53

— Reply to this email directly or view it on GitHub https://github.com/Joomla-Bible-Study/Joomla-Bible-Study/issues/378#issuecomment-56484388 .

Sent from Gmail Mobile

koleror commented 10 years ago

As far as I know, no I don't. Maybe it conflicts with another component? I can give you a list of my extensions if you think it may help?

bcordis commented 10 years ago

Can you list the JS that are being used when the error accord. Also I may have to update the jui.

On Tuesday, September 23, 2014, Hugo Defrance notifications@github.com wrote:

As far as I know, no I don't. Maybe it conflicts with another component? I can give you a list of my extensions if you think it may help?

— Reply to this email directly or view it on GitHub https://github.com/Joomla-Bible-Study/Joomla-Bible-Study/issues/378#issuecomment-56503773 .

Sent from Gmail Mobile

koleror commented 10 years ago

Hi, Here is a list of the js files loaded on the buggy page (screenshot from the js console): capture d ecran 2014-09-23 a 23 53 19

bcordis commented 10 years ago

Looking at this can you verify the jquery versions. This could be some of your problem as bootstrap uses this.

Sent from my iPhone

On Sep 23, 2014, at 4:54 PM, Hugo Defrance notifications@github.com wrote:

Hi, Here is a list of the js files loaded on the buggy page (screenshot from the js console):

— Reply to this email directly or view it on GitHub.

koleror commented 10 years ago

Bootstrap version: 2.1.0 Jquery (twice in the list, not sure why): 1.8.3 jquery.ui: 1.8.23

bcordis commented 10 years ago

You should be able to see where there loaded from.

Sent from my iPhone

On Sep 23, 2014, at 5:22 PM, Hugo Defrance notifications@github.com wrote:

Bootstrap version: 2.1.0 Jquery (twice in the list, not sure why): 1.8.3 jquery.ui: 1.8.23

— Reply to this email directly or view it on GitHub.

koleror commented 10 years ago

Hi! Any clue how to fix my datepicker?

genu commented 10 years ago

@koleror

Can you paste a snippet of code from these lines:

Uncaught TypeError: Cannot read property 'addClass' of undefined index.php?option=com_biblestudy&view=message&layout=edit:207
and 
Uncaught TypeError: undefined is not a function index.php?option=com_biblestudy&view=message&layout=edit:53
koleror commented 10 years ago

Hi! Not sure how much code you need so I took a few lines before the error until a few line after the errors:
That's for the error:

Uncaught TypeError: Cannot read property 'addClass' of undefined index.php?option=com_biblestudy&view=message&layout=edit:207
and 
window.addEvent('domready', function(){ new Fx.Accordion($$('div#permissions-sliders.pane-sliders .panel h3.pane-toggler'),$$('div#permissions-sliders.pane-sliders .panel div.pane-slider'), {onActive: function(toggler, i) {toggler.addClass('pane-toggler-down');toggler.removeClass('pane-toggler');i.addClass('pane-down');i.removeClass('pane-hide');Cookie.write('jpanesliders_permissions-sliderscom_biblestudy',$$('div#permissions-sliders.pane-sliders .panel h3').indexOf(toggler));},onBackground: function(toggler, i) {toggler.addClass('pane-toggler');toggler.removeClass('pane-toggler-down');i.addClass('pane-hide');i.removeClass('pane-down');}, duration: 300, display: 17, show: 17, alwaysHide:true, opacity: false}); });
window.addEvent('domready', function(){ new Fx.Accordion($$('div#permissions-sliders.pane-sliders .panel h3.pane-toggler'),$$('div#permissions-sliders.pane-sliders .panel div.pane-slider'), {onActive: function(toggler, i) {toggler.addClass('pane-toggler-down');toggler.removeClass('pane-toggler');i.addClass('pane-down');i.removeClass('pane-hide');Cookie.write('jpanesliders_permissions-sliderscom_biblestudy',$$('div#permissions-sliders.pane-sliders .panel h3').indexOf(toggler));},onBackground: function(toggler, i) {toggler.addClass('pane-toggler');toggler.removeClass('pane-toggler-down');i.addClass('pane-hide');i.removeClass('pane-down');}, duration: 300, display: 17, show: 17, alwaysHide:true, opacity: false}); });
Calendar._DN = new Array ("dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi", "dimanche"); Calendar._SDN = new Array ("Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam", "Dim"); Calendar._FD = 0; Calendar._MN = new Array ("janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre"); Calendar._SMN = new Array ("Jan", "Fév", "Mar", "Avr", "Mai", "Jui", "Juil", "Aoû", "Sep", "Oct", "Nov", "Déc"); Calendar._TT = {};Calendar._TT["INFO"] = "À propos du calendrier"; Calendar._TT["ABOUT"] =
 "DHTML Date/Time Selector\n" +
 "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" +
"For latest version visit: http://www.dynarch.com/projects/calendar/\n" +
"Distributed under GNU LGPL.  See http://gnu.org/licenses/lgpl.html for details." +
"\n\n" +
"Sélection de la date :" +
"- Utilisez les boutons « et » pour sélectionner l'année" +
"- Utilisez les boutons < et > pour sélectionner le mois" +
"- Maintenez enfoncé le bouton de la souris sur l'un des boutons ci-dessous pour une sélection plus rapide.";
Calendar._TT["ABOUT_TIME"] = "\n\n" +
"Time selection:\n" +
"- Click on any of the time parts to increase it\n" +
"- or Shift-click to decrease it\n" +
"- or click and drag for faster selection.";

        Calendar._TT["PREV_YEAR"] = "Cliquez pour passer à l\'année précédente. Maintenez cliqué pour une liste d\'années."; Calendar._TT["PREV_MONTH"] = "Cliquez pour passer au mois précédent. Maintenez cliqué pour une liste de mois."; Calendar._TT["GO_TODAY"] = "Aller à aujourd\'hui"; Calendar._TT["NEXT_MONTH"] = "Cliquez pour passer au mois suivant. Maintenez cliqué pour une liste de mois."; Calendar._TT["NEXT_YEAR"] = "Cliquez pour passer à l\'année suivante. Maintenez cliqué pour une liste d\'années."; Calendar._TT["SEL_DATE"] = "Sélectionnez une date."; Calendar._TT["DRAG_TO_MOVE"] = "Tirer pour déplacer"; Calendar._TT["PART_TODAY"] = "Aujourd\'hui"; Calendar._TT["DAY_FIRST"] = "Afficher %s d\'abord"; Calendar._TT["WEEKEND"] = "0,6"; Calendar._TT["CLOSE"] = "Fermer"; Calendar._TT["TODAY"] = "Aujourd\'hui"; Calendar._TT["TIME_PART"] = "(Maj-)Clic ou tirez pour modifier la valeur."; Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e"; Calendar._TT["WK"] = "sem."; Calendar._TT["TIME"] = "Heure :";
window.addEvent('domready', function() {Calendar.setup({
                // Id of the input field
                inputField: "jform_studydate",
                // Format of the input field
                ifFormat: "%Y-%m-%d %H:%M:%S",
                // Trigger for the calendar (button ID)
                button: "jform_studydate_img",
                // Alignment (defaults to "Bl")
                align: "Tl",
                singleClick: true,
                firstDay: 1
                });});
        window.addEvent('domready', function() {

            SqueezeBox.initialize({});
            SqueezeBox.assign($$('a.modal_jform_user_id'), {
                parse: 'rel'
            });
        });
    function jSelectUser_jform_user_id(id, title) {
        var old_id = document.getElementById("jform_user_id_id").value;
        if (old_id != id) {
            document.getElementById("jform_user_id_id").value = id;
            document.getElementById("jform_user_id_name").value = title;

        }
        SqueezeBox.close();
    }

And that's for the error:

Uncaught TypeError: undefined is not a function index.php?option=com_biblestudy&view=message&layout=edit:53

            jQuery(document).ready(function() {
                jQuery('#topics').tokenInput([{"id":"1","name":"Abortion"},{"id":"2","name":"Gods Activity"},{"id":"3","name":"Addiction"},{"id":"4","name":"Afterlife"},{"id":"5","name":"Apologetics"},{"id":"6","name":"Gods Attributes"},{"id":"7","name":"Baptism"},{"id":"8","name":"Basics of Christianity"},{"id":"9","name":"Becoming a Christian"},{"id":"10","name":"Bible"},{"id":"11","name":"Jesus Birth"},{"id":"12","name":"Children"},{"id":"13","name":"Christ"},{"id":"14","name":"Christian Character\/Fruits"},{"id":"15","name":"Christian Values"},{"id":"16","name":"Christmas Season"},{"id":"17","name":"Church"},{"id":"18","name":"Communication"},{"id":"19","name":"Communion \/ Lords Supper"},{"id":"21","name":"Creation"},{"id":"22","name":"Jesus Cross\/Final Week"},{"id":"23","name":"Cults"},{"id":"24","name":"Death"},{"id":"26","name":"Descriptions of God"},{"id":"27","name":"Disciples"},{"id":"28","name":"Discipleship"},{"id":"29","name":"Jesus Divinity"},{"id":"30","name":"Divorce"},{"id":"32","name":"Easter Season"},{"id":"33","name":"Emotions"},{"id":"34","name":"Entertainment"},{"id":"35","name":"Evangelism"},{"id":"36","name":"Faith"},{"id":"37","name":"Blended Family Relationships"},{"id":"39","name":"Forgiving Others"},{"id":"40","name":"Gods Forgiveness"},{"id":"41","name":"Friendship"},{"id":"42","name":"Fulfillment in Life"},{"id":"43","name":"Fund-raising rally"},{"id":"44","name":"Funerals"},{"id":"45","name":"Giving"},{"id":"46","name":"Gods Will"},{"id":"47","name":"Hardship of Life"},{"id":"48","name":"Holy Spirit"},{"id":"50","name":"Jesus Humanity"},{"id":"52","name":"Kingdom of God"},{"id":"55","name":"Leadership Essentials"},{"id":"56","name":"Jesus Life"},{"id":"57","name":"Love"},{"id":"58","name":"Gods Love"},{"id":"59","name":"Marriage"},{"id":"61","name":"Jesus Miracles"},{"id":"62","name":"Misconceptions of Christianity"},{"id":"63","name":"Money"},{"id":"65","name":"Gods Nature"},{"id":"66","name":"Our Need for God"},{"id":"69","name":"Parables"},{"id":"70","name":"Paranormal"},{"id":"71","name":"Parenting"},{"id":"73","name":"Poverty"},{"id":"74","name":"Prayer"},{"id":"76","name":"Prominent N.T. Men"},{"id":"77","name":"Prominent N.T. Women"},{"id":"78","name":"Prominent O.T. Men"},{"id":"79","name":"Prominent O.T. Women"},{"id":"82","name":"Messianic Prophecies"},{"id":"83","name":"Racism"},{"id":"84","name":"Jesus Resurrection"},{"id":"85","name":"Second Coming"},{"id":"86","name":"Sexuality"},{"id":"87","name":"Sin"},{"id":"88","name":"Singleness"},{"id":"89","name":"Small Groups"},{"id":"90","name":"Spiritual Disciplines"},{"id":"91","name":"Spiritual Gifts"},{"id":"92","name":"Supernatural"},{"id":"93","name":"Jesus Teaching"},{"id":"94","name":"Temptation"},{"id":"95","name":"Ten Commandments"},{"id":"97","name":"Truth"},{"id":"98","name":"Twelve Apostles"},{"id":"100","name":"Weddings"},{"id":"101","name":"Workplace Issues"},{"id":"102","name":"World Religions"},{"id":"103","name":"Family"},{"id":"104","name":"Freedom"},{"id":"105","name":"Stewardship"},{"id":"106","name":"Worship"},{"id":"107","name":"Holidays"},{"id":"108","name":"Special Services"},{"id":"109","name":"Men"},{"id":"110","name":"Women"},{"id":"111","name":"Hot Topics"},{"id":"112","name":"Narnia"},{"id":"113","name":"Da Vinci Code"},{"id":"114","name":""},{"id":"115","name":"sexualite"},{"id":"116","name":"pornographie"},{"id":"117","name":"couple"},{"id":"118","name":"choix"},{"id":"119","name":"cons\u00e9quences"},{"id":"120","name":"engagement"},{"id":"121","name":"p\u00e9ch\u00e9"},{"id":"122","name":"convoitise"},{"id":"123","name":"orgueil"},{"id":"124","name":"entourage"},{"id":"125","name":"refus"},{"id":"126","name":"secours"},{"id":"127","name":"d\u00e9tresse"},{"id":"128","name":"confiance"},{"id":"129","name":"prochain"},{"id":"130","name":"pardon"},{"id":"131","name":"pri\u00e8re"},{"id":"132","name":"changement"},{"id":"133","name":"rencontre"},{"id":"134","name":"transfiguration"},{"id":"135","name":"Salut"},{"id":"136","name":"Bonnes Oeuvres"},{"id":"137","name":"Esprit Saint"},{"id":"138","name":"Bapt\u00eame"},{"id":"139","name":"Conversion"},{"id":"140","name":"Parler en Langue"},{"id":"141","name":"Nouvelle vie"},{"id":"142","name":"Mission"},{"id":"143","name":"Foi"},{"id":"144","name":"communion"},{"id":"145","name":"Refus"},{"id":"146","name":"Plan"},{"id":"147","name":"Sens"},{"id":"148","name":"Service"},{"id":"149","name":"Souffrance"},{"id":"150","name":"Conscience"},{"id":"151","name":"Louange"},{"id":"152","name":"Eglise"},{"id":"153","name":"Gr\u00e2ce"},{"id":"154","name":"\u00e9vang\u00e9lisation"},{"id":"155","name":"Peur"},{"id":"156","name":"Confiance"},{"id":"157","name":"Croire"},{"id":"158","name":"Promesses"},{"id":"159","name":"La Foi"},{"id":"160","name":"B\u00e9n\u00e9diction"},{"id":"161","name":"Mal"},{"id":"162","name":"Croissance"},{"id":"163","name":"Fid\u00e9lite"},{"id":"164","name":"Prosperite"},{"id":"165","name":"Pri\u00e8re"},{"id":"166","name":"Ob\u00e9issance"},{"id":"167","name":"Patience"},{"id":"168","name":"Tranquilite"},{"id":"169","name":"Regard"},{"id":"170","name":"Ecoute"},{"id":"171","name":"Communion"},{"id":"172","name":"Bonheur"},{"id":"173","name":"Donner"},{"id":"174","name":"Recevoir"},{"id":"175","name":"Serviteur"},{"id":"176","name":"Ambition"},{"id":"177","name":"Humilite"},{"id":"178","name":"Mort"},{"id":"179","name":"Pardon"},{"id":"180","name":"Tentation"},{"id":"181","name":"Compassion"},{"id":"182","name":"Paix"},{"id":"183","name":"Amour"},{"id":"184","name":"Parole"},{"id":"185","name":"Grace"},{"id":"186","name":"Attente"},{"id":"187","name":"Combat"},{"id":"188","name":"Entourage"},{"id":"189","name":"Buts"},{"id":"190","name":"Sacrifice"},{"id":"191","name":"Croix"},{"id":"192","name":"Zele"},{"id":"193","name":"Esprit"},{"id":"194","name":"D\u00e9pendance"},{"id":"195","name":"Engagement"},{"id":"196","name":"Priorit\u00e9s"},{"id":"197","name":"Critique"},{"id":"198","name":"Rejet"},{"id":"199","name":"R\u00e9action"},{"id":"200","name":"Choix"},{"id":"201","name":"Pr\u00e9paration"},{"id":"202","name":"Dur\u00e9e"},{"id":"203","name":"\u00e9preuve"},{"id":"204","name":"J\u00e9richo"},{"id":"205","name":"force"},{"id":"206","name":"Justification"},{"id":"207","name":"Volont\u00e9 de Dieu"},{"id":"208","name":"Pers\u00e9v\u00e9rance"},{"id":"209","name":"D\u00e9pression"},{"id":"210","name":"Corps"},{"id":"211","name":"Ame"},{"id":"212","name":"pers\u00e9cution"},{"id":"213","name":"T\u00e9moignage"},{"id":"214","name":"Pers\u00e9cution"},{"id":"215","name":"Influence"},{"id":"216","name":"Joie"},{"id":"217","name":"\u00e9goisme"},{"id":"218","name":"chef"},{"id":"219","name":"humilit\u00e9"},{"id":"220","name":"h\u00e9ros"},{"id":"221","name":"mod\u00e8le"},{"id":"222","name":"politesse"},{"id":"223","name":"Changement"},{"id":"224","name":"Seconde chance"},{"id":"225","name":"\u00e9checs"},{"id":"226","name":"Reconnaissance"},{"id":"227","name":"R\u00e9surrection"},{"id":"228","name":"Pr\u00e9sence"},{"id":"229","name":"Soutien"},{"id":"230","name":"Proph\u00e8te"},{"id":"231","name":"Esp\u00e9rance"},{"id":"232","name":"miracles"},{"id":"233","name":"t\u00e9moignage"},{"id":"234","name":"Caract\u00e8re"},{"id":"235","name":"Enfant"},{"id":"236","name":"\u00c9ducation"},{"id":"237","name":"Parents"},{"id":"238","name":"M\u00e8re"},{"id":"239","name":"P\u00e8re"},{"id":"240","name":"frustration"},{"id":"241","name":"col\u00e8re"},{"id":"242","name":"Regrets"},{"id":"243","name":"Fin du monde"},{"id":"244","name":"Estime"},{"id":"245","name":"No\u00ebl"},{"id":"246","name":"adoption"},{"id":"247","name":"plan"},{"id":"248","name":"Loi"},{"id":"249","name":"Vol\u00e9"},{"id":"250","name":"R\u00e9ussite"},{"id":"251","name":"La foi"},{"id":"252","name":"angoisses"},{"id":"253","name":"d\u00e9sespoir"},{"id":"254","name":"P\u00e2ques"},{"id":"255","name":"A"},{"id":"256","name":"A"},{"id":"257","name":"A"},{"id":"258","name":"A"},{"id":"259","name":"A"},{"id":"260","name":"A"},{"id":"261","name":"A"},{"id":"262","name":"A"},{"id":"263","name":"A"},{"id":"264","name":"A"},{"id":"265","name":"A"},{"id":"266","name":"A"},{"id":"267","name":"A"},{"id":"268","name":"A"},{"id":"269","name":"A"},{"id":"270","name":"A"},{"id":"271","name":"A"},{"id":"272","name":"A"},{"id":"273","name":"A"},{"id":"274","name":"A"},{"id":"275","name":"A"},{"id":"276","name":"A"},{"id":"277","name":"A"},{"id":"278","name":"A"},{"id":"279","name":"A"},{"id":"280","name":"A"},{"id":"281","name":"A"},{"id":"282","name":"A"},{"id":"283","name":"A"},{"id":"284","name":"A"},{"id":"285","name":"A"},{"id":"286","name":"A"},{"id":"287","name":"A"},{"id":"288","name":"A"},{"id":"289","name":"A"},{"id":"290","name":"A"},{"id":"291","name":"A"},{"id":"292","name":"A"},{"id":"293","name":"A"},{"id":"294","name":"A"},{"id":"295","name":"A"},{"id":"296","name":"A"},{"id":"297","name":"A"},{"id":"298","name":"A"},{"id":"299","name":"A"},{"id":"300","name":"A"},{"id":"301","name":"A"},{"id":"302","name":"A"},{"id":"303","name":"A"},{"id":"304","name":"A"},{"id":"305","name":"A"},{"id":"306","name":"A"},{"id":"307","name":"A"},{"id":"308","name":"A"},{"id":"309","name":"A"},{"id":"310","name":"A"},{"id":"311","name":"A"},{"id":"312","name":"A"},{"id":"313","name":"A"},{"id":"314","name":"A"},{"id":"315","name":"A"},{"id":"316","name":"A"},{"id":"317","name":"A"},{"id":"318","name":"A"},{"id":"319","name":"A"},{"id":"320","name":"A"},{"id":"321","name":"A"},{"id":"322","name":"A"},{"id":"323","name":"A"},{"id":"324","name":"A"},{"id":"325","name":"A"},{"id":"326","name":"A"},{"id":"327","name":"A"},{"id":"328","name":"A"},{"id":"329","name":"A"},{"id":"330","name":"A"},{"id":"331","name":"A"},{"id":"332","name":"A"},{"id":"333","name":"A"},{"id":"334","name":"A"},{"id":"335","name":"A"},{"id":"336","name":"A"},{"id":"337","name":"A"},{"id":"338","name":"A"},{"id":"339","name":"A"},{"id":"340","name":"A"},{"id":"341","name":"A"},{"id":"342","name":"A"},{"id":"343","name":"A"},{"id":"344","name":"A"},{"id":"345","name":"A"},{"id":"346","name":"A"},{"id":"347","name":"A"},{"id":"348","name":"A"},{"id":"349","name":"A"},{"id":"350","name":"A"},{"id":"351","name":"A"},{"id":"352","name":"A"},{"id":"353","name":"A"},{"id":"354","name":"A"},{"id":"355","name":"A"},{"id":"356","name":"A"},{"id":"357","name":"A"},{"id":"358","name":"A"},{"id":"359","name":"A"},{"id":"360","name":"A"},{"id":"361","name":"A"},{"id":"362","name":"A"},{"id":"363","name":"A"},{"id":"364","name":"A"},{"id":"365","name":"A"},{"id":"366","name":"A"},{"id":"367","name":"A"},{"id":"368","name":"A"},{"id":"369","name":"A"},{"id":"370","name":"A"},{"id":"371","name":"A"},{"id":"372","name":"A"},{"id":"373","name":"A"},{"id":"374","name":"A"},{"id":"375","name":"A"},{"id":"376","name":"A"},{"id":"377","name":"A"},{"id":"378","name":"A"},{"id":"379","name":"A"},{"id":"380","name":"A"},{"id":"381","name":"A"},{"id":"382","name":"A"},{"id":"383","name":"A"},{"id":"384","name":"A"},{"id":"385","name":"A"},{"id":"386","name":"A"},{"id":"387","name":"A"},{"id":"388","name":"A"},{"id":"389","name":"A"},{"id":"390","name":"A"},{"id":"391","name":"A"},{"id":"392","name":"A"},{"id":"393","name":"A"},{"id":"394","name":"A"},{"id":"395","name":"A"},{"id":"396","name":"A"},{"id":"397","name":"A"},{"id":"398","name":"A"},{"id":"399","name":"A"},{"id":"400","name":"A"},{"id":"401","name":"A"},{"id":"402","name":"A"},{"id":"403","name":"A"},{"id":"404","name":"A"},{"id":"405","name":"A"},{"id":"406","name":"A"},{"id":"407","name":"A"},{"id":"408","name":"A"},{"id":"409","name":"A"},{"id":"410","name":"A"},{"id":"411","name":"A"},{"id":"412","name":"A"},{"id":"413","name":"A"},{"id":"414","name":"A"},{"id":"415","name":"A"},{"id":"416","name":"A"},{"id":"417","name":"A"},{"id":"418","name":"A"},{"id":"419","name":"A"},{"id":"420","name":"A"},{"id":"421","name":"A"},{"id":"422","name":"A"},{"id":"423","name":"A"},{"id":"424","name":"A"},{"id":"425","name":"A"},{"id":"426","name":"A"},{"id":"427","name":"A"},{"id":"428","name":"A"},{"id":"429","name":"A"},{"id":"430","name":"A"},{"id":"431","name":"A"},{"id":"432","name":"A"},{"id":"433","name":"A"},{"id":"434","name":"A"},{"id":"435","name":"A"},{"id":"436","name":"A"},{"id":"437","name":"A"},{"id":"438","name":"A"},{"id":"439","name":"A"},{"id":"440","name":"A"},{"id":"441","name":"A"},{"id":"442","name":"A"},{"id":"443","name":"A"},{"id":"444","name":"A"},{"id":"445","name":"A"},{"id":"446","name":"A"},{"id":"447","name":"A"},{"id":"448","name":"A"},{"id":"449","name":"A"},{"id":"450","name":"A"},{"id":"451","name":"A"},{"id":"452","name":"A"},{"id":"453","name":"A"},{"id":"454","name":"A"},{"id":"455","name":"A"},{"id":"456","name":"A"},{"id":"457","name":"A"},{"id":"458","name":"A"},{"id":"459","name":"A"},{"id":"460","name":"A"},{"id":"461","name":"A"},{"id":"462","name":"A"},{"id":"463","name":"A"},{"id":"464","name":"A"},{"id":"465","name":"A"},{"id":"466","name":"A"},{"id":"467","name":"A"},{"id":"468","name":"A"},{"id":"469","name":"A"},{"id":"470","name":"A"},{"id":"471","name":"A"},{"id":"472","name":"A"},{"id":"473","name":"A"},{"id":"474","name":"A"},{"id":"475","name":"A"},{"id":"476","name":"A"},{"id":"477","name":"A"},{"id":"478","name":"A"},{"id":"479","name":"A"},{"id":"480","name":"A"},{"id":"481","name":"A"},{"id":"482","name":"A"},{"id":"483","name":"A"},{"id":"484","name":"A"},{"id":"485","name":"A"},{"id":"486","name":"A"},{"id":"487","name":"A"},{"id":"488","name":"A"},{"id":"489","name":"A"},{"id":"490","name":"A"},{"id":"491","name":"A"},{"id":"492","name":"A"},{"id":"493","name":"A"},{"id":"494","name":"A"},{"id":"495","name":"A"},{"id":"496","name":"A"},{"id":"497","name":"A"},{"id":"498","name":"A"},{"id":"499","name":"A"},{"id":"500","name":"A"},{"id":"501","name":"A"},{"id":"502","name":"A"},{"id":"503","name":"A"},{"id":"504","name":"A"},{"id":"505","name":"A"},{"id":"506","name":"A"},{"id":"507","name":"A"},{"id":"508","name":"A"},{"id":"509","name":"A"},{"id":"510","name":"A"},{"id":"511","name":"A"},{"id":"512","name":"A"},{"id":"513","name":"A"},{"id":"514","name":"A"},{"id":"515","name":"A"},{"id":"516","name":"A"},{"id":"517","name":"A"},{"id":"518","name":"A"},{"id":"519","name":"A"},{"id":"520","name":"A"},{"id":"521","name":"A"},{"id":"522","name":"A"}],
                {
                    theme: 'jbs',
                    hintText: 'Add Topic',
                    noResultsText: 'Not found',
                    searchingText: 'Searching...',
                    animateDropdown: false,
                    preventDuplicates: true,
                    allowFreeTagging: true,
                    prePopulate: []
                });
            });

Tell me if you need anything more :)

genu commented 10 years ago

I'm investigating. I'm thinking that maybe on your configuration, some of the fields on the study page are in conflict.

In the meantime, try removing, perhaps all form fields except the datepicker in this file com_biblestudy/admin/views/message/tmpl/edit.php to verify that this is the case if you can (are you working in a production env?)

koleror commented 10 years ago

Ok I'll try that but I can't find the file. Where is it exactly from the root of a joomla install? And yes, I'm working in a production env. Thanks for your help.

genu commented 10 years ago

The file is in administrator/components/com_biblestudy/views/message/tmpl/edit.php

koleror commented 10 years ago

Indeed, when I comment all the other inputs, it works again. I can't figure out which field is causing trouble though... Any idea?

genu commented 10 years ago

Try commenting out the field that displays the access rules

it looks like this

<?php echo $this->form->getInput('rules'); ?>
koleror commented 10 years ago

When I do that, I still have an error:

Uncaught TypeError: undefined is not a function 

But the datepicker works again!

bcordis commented 10 years ago

Looks like will need to look at the date piker JS usage. I did not think it used the same code and looks to be the problem. Using it on the same page makes a problem. This could be so to are naming of the field class.

genu commented 10 years ago

The 'undefined is not a function' error might be because the the jQuery 'tokeninput' plugin is not properly loaded. Are you able to add topics to the study?

On Tue, Sep 30, 2014 at 6:33 PM, Brent Cordis notifications@github.com wrote:

Looks like will need to look at the date piker JS usage. I did not think it used the same code and looks to be the problem. Using it on the same page makes a problem. This could be so to are naming of the field class.

Reply to this email directly or view it on GitHub: https://github.com/Joomla-Bible-Study/Joomla-Bible-Study/issues/378#issuecomment-57393633

koleror commented 10 years ago

Okay. Question: Will it work fine if I just leave the code <?php echo $this->form->getInput('rules'); ?> commented for now? Hmm indeed the topic field is blank, only the label is present. I had never noticed it before because we do not use topics :)

genu commented 10 years ago

You can leave the rules field commented out if you don't use that feature. Both if these issues should be fixed in 8.1.0 since I don't see the errors on my development environment.

On Tue, Sep 30, 2014 at 6:39 PM, Hugo Defrance notifications@github.com wrote:

Okay. Question: Will it work fine if I just leave the code <?php echo $this->form->getInput('rules'); ?> commented for now? Hmm indeed the topic field is blank, only the label is present.

I had never noticed it before because we do not use topics :)

Reply to this email directly or view it on GitHub: https://github.com/Joomla-Bible-Study/Joomla-Bible-Study/issues/378#issuecomment-57394292

koleror commented 10 years ago

Okay. I tried to reinstall a fresh joomla + bible study and couldn't reproduce the error. So I'm not sure if it will really be fixed in a new version. When will the new version be out? Will we have the new bootstrap/response design in it or is it later?

genu commented 10 years ago

Hopefully this week or next well have a beta or alpha released.

I'll go ahead and close this issue, until it comes up again (if it ever does)

On Tue, Sep 30, 2014 at 6:47 PM, Hugo Defrance notifications@github.com wrote:

Okay. I tried to reinstall a fresh joomla + bible study and couldn't reproduce the error. So I'm not sure if it will really be fixed in a new version. When will the new version be out?

Will we have the new bootstrap/response design in it or is it later?

Reply to this email directly or view it on GitHub: https://github.com/Joomla-Bible-Study/Joomla-Bible-Study/issues/378#issuecomment-57395032

koleror commented 10 years ago

Okay! Hopefully ;) Thanks!