Forum Replies Created
-
AuthorPosts
-
MariaParticipant
Hi George, no worries at all, combined thinking did the job here. I couldn’t actually find the missing files in the re-downloaded plugin, so thought I would mention it in case they should be there and you can update.
I’m happy that all is working but just wanted to tie things off so they are right for you too.
All the best and Happy Easter.
MariaParticipantAlso … there was a big thank you to you from Michael on WMPU Dev.
Thanks George! 🙂
MariaParticipantThank you so much George, sorry i have been offsite for a few days but back onto this today. I found that WMPU Devs support had picked up on the issue and the method suggested above implemented. Below is the response.
—————
In working on this issue, I noticed that George of Modern Tribe’s tech support team had advised altering the getMinFile function here:
/wp-content/plugins/the-events-calendar/lib/tribe-template-factory.class.php
Utilizing his solution, I was able to get the Google Maps to show up for both mapped & un-mapped domains, but where he advised setting SCRIPT_DEBUG to false, I found that I had to set it to true:
define(‘SCRIPT_DEBUG’, true);
To go into the reason why, when I had it set to “false” (as well as not having it defined at all), these two files were being called, giving 404 when called:
/wp-content/plugins/the-events-calendar/resources/embedded-map.min.js
/wp-content/plugins/the-events-calendar/vendor/jquery/smoothness/jquery-ui-1.8.23.custom.min.css
Looking at your site via FTP revealed that they really didn’t exist (only the un-minified versions existed). Assuming those files existed in the first place (which would seem reasonable), you should be able to replace them by downloading the plugin again, and taking copies of those files, and uploading them to the plugin folder.
Once those files are replaced, you should be able to set SCRIPT_DEBUG to false again. 🙂
Hope this helps! 🙂
———————–
Everything is indeed working correctly now but with the setting to TRUE, I am absolutely fine with this if it causes no issues etc. but the above comments may help pin down the bug ( nail it ) absolutely. I did download the plugin again but was unable to find.
embedded-map.min.js or jquery-ui-1.8.23.custom.min.css in the resources folder. I hope this points to an absolute solution.
Meanwhile – all is workings ‘yippee !’ and thanks so much for your expert eye on this, I have learnt in the process also.
Let me know if the above is the final final solution and I will upload the files and set to FALSE if necessary.
Thank you very much.
Maria
MariaParticipantThis reply is private.
MariaParticipantSorry I missed this bit.
Is http://zambiadev.partnershipsfordevelopment.net/events/ the original site, and http://zbidf.org/events/ is pointing to that – meaning the root partnershipsfordevelopment.net itself is a WordPress MultiSite network installation?
Yes to both of the above.
Also with regards to this.
One thing that stands out to me is that on your development site, the tribe-events-pro JavaScript file being loaded is the minified version (tribe-events-pro.min.js), while on http://zbidf.org/events/, the version being loaded is the full, un-minified script (tribe-events-pro.js).
Both of these are in the resources folder, is that correct ? So it is somehow calling the wrong one ?
Many thanks,
Maria
MariaParticipantHi George,
I have now posted a thread here on the wordpress.org site for the domain mapping plugin I am using https://wordpress.org/plugins/wordpress-mu-domain-mapping/
WMPU dev does have also a domain mapping plugin but I am not sure how similar they are, I have posted on their forum to find out as I am a member and may be better off using this.
This is my setup
Network site http://partnershipsfordevelopment.net/ ( overarching site )
Sub domain http://zambia.partnershipsfordeveopment.net/ ( mapped to http://zbidf.org/ )
Dev site http://zambiadev.partnershipsfordevelopment.net/ ( copy of subdomain not mapped to anything )All sites are on the same server, domain is mapped via IP address and the above plugin.
The Zambia is the first launch of a network of sites across different countries that i would like to be able to use the plugin for, all of which will likely have mapped domains. So its important i do get to the bottom of this. The network site will be an overarching site that pulls blog content from the countrywide sites.
Will let you know what response I get, hopefully I will get one and meanwhile carry on searching threads.
Many thanks,
Maria
MariaParticipant… I have also looked in the plugin folder as above and the tribe-events-pro.min.js is there in the resources folder. Thanks.
MariaParticipantHello George,
Thank you for getting back to me, and yes I am sure we will get to the bottom of it. I have looked at the config.php file and although nothing that is exactly the same exists, the debug code is right next to the piece of code that I needed to add to get the domain mapping. See below, is there anything in here that looks like a conflict or ‘trouble’ to you.
/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*/
define(‘WP_DEBUG’, false);/* Multisite */
define( ‘WP_ALLOW_MULTISITE’, true );
define( ‘SUNRISE’, ‘on’ );/* That’s all, stop editing! Happy blogging. */
Many thanks.
Maria
MariaParticipantHi Gustavo,
Still no luck with this I am afraid – ZBIDF.org has now been added to my list of licensed domains ( it just seemed to pick it up when I deleted the dev site domain ).
Unfortunately the functionality is still not working on the live site with the mapped domain.
This is my cloned site which works perfectly http://zbidfclone.partnershipsfordevelopment.net/events/
This is my live site that doesn’t work correctly http://zbidf.org/events/I have tried de-installing and re-installing the plugin but to no avail. The problem does seem to be with the pro plugin on this particular site – can you suggest what I might try next here.
Many thanks,
Maria
MariaParticipantThis reply is private.
MariaParticipantHi Gustavo – ah I see, everyone needs a break hey ! No problem as long as I know – I thought maybe the message got lost somewhere. Will be patient. Thanks. Maria
MariaParticipantHi Gustavo,
I have emailed support Lean at support but not heard back yet.
Can I add this new domain myself to test this theory ? I basically need to add zbidf.org to my registered domains.
Many thanks,
Maria
MariaParticipantThanks Gustavo,
I will give that a go today, many thanks.
Maria
MariaParticipantHi Gustavo,
Thank you very much for getting back to me. I think now that my client is ok with just the Upcoming Events ( that’s a relief ) but its good to know that if that request crops up again it would take customisation and development work. I suspected it might but good to have it confirmed, many thanks again … Maria
MariaParticipantHi there,
as part of testing I have ‘cloned’ the site exactly
here http://zbidfclone.partnershipsfordevelopment.net/
and the Events area works perfectly again ( Events menu bar, google maps
The difference being there is no mapped domain.
On the live site the primary domain is set to zbidf.org from zambia.partnershipsfordevlopment.net – does this bring things any closer to an answer ?
I am hoping to make the site ‘fully live’ by the end of the month as it is on a soft launch at the moment.
Many thanks for any help you can give in advance.
-
AuthorPosts