Solved bug after update 10.0.14

Post

Posted
Rating:
#4217 (In Topic #853)
Avatar
Standard member
kreek is in the usergroup ‘Fan in training’

input date missing END

Hi I found a bug and have a solution I think.
The calendar didnt word correctly after the update with the input date. The template FORM_SCREEN_INPUT_DATE.tpl has a fault. I changed it to the old template and noticed there is an {+END} missing on the end
That solved my problem!

Correct template from the old version 10.0.13 is: https://thepasteb.in/p/O7h5XgAQpj6Sq
Thanks for the great website!
Online now: No Back to the top

Post

Posted
Rating:
#4219
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Hi kreek,

Thanks for posting that.

I think this may have been a file corruption issue, as I couldn't reproduce or see a problem in the file. We did change the file, likely it corrupted when extracting to your site.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#4224
Avatar
Standard member
kreek is in the usergroup ‘Fan in training’

Chris Graham said

Hi kreek,

Thanks for posting that.

I think this may have been a file corruption issue, as I couldn't reproduce or see a problem in the file. We did change the file, likely it corrupted when extracting to your site.

Hi Chris,

Thanks for your quick respons,
It happende actually on two community websites. Do you have an idea where I can find the corrupted file?
Also I lost a few categories in a a catalogue.
And in the Member boxes all custom profile fields are missing.
When I try to change a members profile the custom fields are empty. I see this warning:
Is it maybe the same corrupted file?


An error occurred when loading this screen onto the web browser. You are being notified of this as you are staff. If you believe this is a bug in Composr, please contact the developers with full details. More details are available in your browser's error console. The error was:

3: Uncaught TypeError: $(…).inputDate is not a function
Online now: No Back to the top

Post

Posted
Rating:
#4225
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Ergh, that's an assortment of issues :(.

You can always find the original files in the manual installer, available from the download page. You can just copy them (individually) out of there. And the integrity checker feature in the upgrader will indicate if a file is not correct.

Categories should definitely not disappear during an upgrade, especially just a patch release. I'm not sure I can speak to what would cause that, it's not something I've heard of.

If you'd like me to look directly on the server to see what is wrong, email access details to chris@ocproducts.com.

All I can think is if perhaps you upgraded manually by uploading changed files by FTP and selected 'resume' rather than 'overwrite' in the FTP program, which would fail for any files we've made smaller (the FORM_SCREEN_INPUT_DATE.tpl got smaller). But that seems like a long shot, I'd be surprised if you did an upgrade like that.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#4226
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Hi,

This is mainly for anyone else reading…

I'm working with kreek on this.

There is a bug, not really related to anything discussed above. The fix is:
https://github.com/ocproducts/composr/commit/5c2c6c00e0cda17df0acd782736061a090a8bd27

I think it only affects users with the self-learning cache not enabled.

The problem is that we preload some JavaScript files used by the profile editing when opening the initial profile view tab. This is in case something goes wrong dynamically loading them later when switching tabs. However, some of these files depend on jQuery and will fail to load without it, and we were not preloading jQuery. Then when the tabs do try and load their JS files the files that already failed to load don't reinitiate.

With the self-learning cache the system would learn on it's own that the tabs will use jQuery and adapt. I think so anyway, I think that's why I could not reproduce an issue before.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Forum statistics:
  • 2,052 topics, 7,195 posts, 10,827 members
  • Our newest member is LowfareMart
Back to Top