By Marco Boccanera on Friday, 14 September 2018
Posted in Technical Issues
Replies 6
Likes 0
Views 644
Votes 0
Good Morning,

after updatating Easyblog to latest version 5.2.7 all my posts have lost the custom fields both in back end and in front end.

I have a back up of the website before the updating if you need it for investigation.

Can you please give assistance?

Thank you.

Marco
Hey Marco,

I've tested in my locally upgrade from 5.2.7 to 5.2.8, it seems like those existing blog post inside the custom field still exist.

Perhaps you can clone your live site to another test site so we can try upgrade it from there and troubleshoot this issue.
·
Friday, 14 September 2018 20:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Good morning Arlex,

I have upload the back up site in a folder called "http://www.theexporters.it/back_up". You can access and update Easyblog with the credential I gave you so you can verify the disappearing of custom fields updating from version 5.1.15 to version 5.2.8.

Thank you for your assistance.

Marco
·
Saturday, 15 September 2018 19:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Oh, it seems like that custom field group access you only set to public, so those logged in user unable to see these custom field on the blog entry page, you can check my attached screenshot below.

If i set the correct permission, I can able to view those custom field on the blog entry page e.g.

[gist type="php"]
https://www.theexporters.it/back_up/index.php?option=com_easyblog&view=entry&id=1399&Itemid=372
[/gist]

By the way, i realised your live site already updated to latest version of Easyblog, perhaps you can try check for your existing custom field group access permission and see how it goes.

In meanwhile, can you do me a favour? Is it possible for you to roll back your previous backup 5.1.15 version and check those custom field group access permission and see what you set previously?

If i recall correctly, between these versioning we did add custom field permission feature.
·
Sunday, 16 September 2018 14:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Arlex,

sorry for the delay in my replay.

I restored a back up with Easyblog version 5.1.15. as you requested. The viewing access for "Custom fields" was set only to public. (see attachment)

So I don't understand what caused the custom fields to disappear. Hopefully I had only a few post so I could restore the missing custom fields with a manual insert.

Thank you for your assistance.

Regards
·
Thursday, 27 September 2018 22:11
·
0 Likes
·
0 Votes
·
0 Comments
·
No problem Marco.

Actually those custom field data still exist in the blog post, you can take a look of my following screenshot from your backup site.
- http://take.ms/2IAHT
- http://take.ms/IYPhH
- http://take.ms/n4Mk1
- http://take.ms/tPkp4
- http://take.ms/d6Mxx
- http://take.ms/YV3lV

The main issue is 'viewing access' only set to public user (http://take.ms/wlU5l) able to access your custom field from the blog entry page.

That was known issue in Easyblog 5.1.15 which doesn't respect this 'viewing access' permission, this is why even those logged in user on your site still can able to see these custom field on the blog entry page.

And we already fixed this issue In Easyblog 5.2, so what you need to do is select all the different type of user group from this custom field group permission http://take.ms/MRjVn , so public user and other user group user also can able to see these custom field into the blog entry page.

Can you give it a check from your backup site https://www.theexporters.it/back_up and see which existing blog post still missing those custom field?
·
Friday, 28 September 2018 10:28
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post