Images are not synced from stage to Prod

Srikanth N asked on October 25, 2017 11:36

Hi,

I’m trying to sync a page from Stage to Prod which has an image as page attachment. Image is showing fine in prod, but is not appearing in Prod admin page.

I have a page,In Form section of the page there is a button to upload image file. I uploaded an image and published the page. After that i synced the page to production. It displayed sync is successful. When i saw the page in Production admin interface, Form section the uploaded image is not there.It is showing only an upload button. But the image is displaying when i access the page in live site. How it is possible to come like that. Searched lot of articles but no luck.

Please help.

Recent Answers


David te Kloese answered on October 25, 2017 11:40 (last edited on October 25, 2017 11:40)

Since the file is shown in your live site it must be synced. Just to be sure you could check your DB directly, but as I said it seems correct.

So the issue probably is on your form tab where it can't resolve the attachment correctly. So it's there but your control cant seem to find it. (Note that if you now save the page it will lose the attachment).

Can you confirm you can select the same attachment manually on your production/live site?

If so and everything still works can you compare the stored values between production and staging? Might be a path or permission issue...

0 votesVote for this answer Mark as a Correct answer

Srikanth N answered on October 26, 2017 12:39

Hi David,

It is not displaying in the page at admin site. I could see the image on live site. The page link URL has the same GUID in it.

0 votesVote for this answer Mark as a Correct answer

David te Kloese answered on October 26, 2017 12:41

Can you confirm you can select the same attachment again manually on your production/live site?

If so and everything still works can you compare the stored values between production and staging? Might be a path or permission issue...

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.