Background of the issue:
I am trying to check a translated page before approval. The issue can be seen at the following link: hidden link
Symptoms:
I receive the error message: 'Sorry, you do not have permission to preview drafts.'
Questions:
Why am I unable to preview drafts?
How can I gain permission to preview drafts? > Gain permission, the term sounds funny. It worked 5 minutes ago. I had to debug the plugin after automatic translation got stuck. Then I had this issue.
I think I found the solution. There is a checkbox on the WPML -> Languages pages to auto login to other domains when you use different domains per language. That box had not been checked and after checking it I'm able to see the reviews.
Be sure to log out and then log back in and let me know if this resolves the issue for you.
Oh you found it!
The fonction seems not to work for me, I signed out, cleaned cache... I'm still not signed-in when opening the french version of the website. However it works normaly when using another option that different domain.
Try disabling non WPML plugins on the live site. You can see the staging has les out of date plugins and only 3 are active. It could be that something on the live site is conflicting. Alternately, you can try reactivating plugins on your staging site and see if the issue comes back. If you activate only a few at a time and check this may help determine which is a conflict.
It's like my account isn't granted with admin permissions on .fr domain. I also tried to sign in for the .fr domain, it worked, then tried to preview draft translation > No permission. Even if signed in my account for both .com and .fr accounts.
Another thing: featured blog post images aren't attached to the posts.
Check out: hidden link
Page "Post test". The image title and alt text are translated correcly, but the image isn't diplayed on the page. Is this maybe linked to wpml settings that do not copy the featured image or blog post design somehow?
I need your support to fix this, because there is no doc about this. AI doesn't understand too. And I don't want to use the "duplicate media" stuff that will multiply by x number the database size (for media library).
New threads created by Lauren and linked to this one are listed below:
On the staging site, i found the auto login check was once again unchecked. Uncheck the box to validate domain, then check the box to auto log in/out and you should be able to review translations.
On the live site, I found the following error in the ATE error log:
Error: The MySQL server is running with the --read-only option so it cannot execute this statement 0
This error indicates that the MySQL server has some limitations. You need to make sure that there are no restrictions for using the MySQL database. If the user only has read permissions, this is most likely the cause of the problem.
Hello,
You will provide me with video proof of what you're saying please.
Because I can't have access on staging or production no matter the configuration.
Now everything is disabled: plugins, themes... And auto login function is turned on.
Do you mean you would like me to record the settings in the WPML -> Languages section? Also, I no longer have access to the staging site, so I can't access there. Your live site does not have minimal settings, but I was able to re-save the Shop page which was the only one I found stuck waiting for review. If there are other pages/posts on the live site that need review, please let me know which ones so I can further test. Thanks!