verdeandrea Posted October 26, 2015 Share Posted October 26, 2015 Hi guys, something very strange is happening with a multilanguage site. Some repeater fields are not showing if i change the active language. I have this pages with information about professors and one of the fields is a repeater field called "professor_info". So, if in a blank professor template i write "echo $page->professor_info" i get ids of the repeater items, but if i switch language to english (the default language is italian) those fields are not showing. Moreover, this only happens with existing pages. If I create a new page the repeater field is working in both languages. I can't understand what is causing this problem. Link to comment Share on other sites More sharing options...
verdeandrea Posted October 28, 2015 Author Share Posted October 28, 2015 I've tried deleting the repeater items for a page, and the adding then again but nothing change. It only works if i delete the page and i create a new page. But there are alot of pages, related to other pages, so i can not recreate every page. Does anyone have an idea about how to resove this problem? Please tell me if my previuos explanation is not clear enough. Thanks. Link to comment Share on other sites More sharing options...
verdeandrea Posted November 9, 2015 Author Share Posted November 9, 2015 Now I've tried upgrading to the last PW dev version, but this didn't work too. No one knows what could I try with this problem, guys? Ryan? I think that the only thing i can do is recreate every page and every page field related to tem via api. Link to comment Share on other sites More sharing options...
tpr Posted November 9, 2015 Share Posted November 9, 2015 Just to make sure, are those pages active in both (all) languages? (check at Pages -> Settings - > Name, and there's a "Active?" checkbox at the end of the name input field) Link to comment Share on other sites More sharing options...
bytesource Posted November 24, 2015 Share Posted November 24, 2015 I am having the same problem where repeater fields are not displayed on a page if the active language is not the default language. Even more strange, everything does work on my local installation, but not on the server. There must be some reason for this, but I just cannot find it. Any suggestions as to how to test this issue are highly welcome! Cheers, Stefan Link to comment Share on other sites More sharing options...
bytesource Posted November 29, 2015 Share Posted November 29, 2015 I had another issue with an image description that wouldn't get saved on the production server, and this turned out to be due to insufficient folder rights. I am suspecting the same to be the case with the content of repeaters not showing up on the production server. I therefore would like to ask if there is some folder under /assets/ or somewhere else connected to repeaters that I could check. For the record, I recursively gave 777 permission to the /assets/ folder, but the program my hosting provider uses doesn't seem to work, as it also did not change the permissions of the image mentioned above. Cheers, Stefan Link to comment Share on other sites More sharing options...
bytesource Posted November 30, 2015 Share Posted November 30, 2015 I can finally confirm that the /assets/ folder is writable, but still the repeater contents are not showing on non-default language pages. Honestly, I have no clue what to do next, so any ideas are highly appreciated. Cheers, Stefan Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now