jaywang
Forum Replies Created
-
Forum: Plugins
In reply to: [Sync Post With Other Site] Simply not working :(WOW! That’s awesome!
I got it and it works.
* I check the network connection on docker
curl localhost:8081/wordpress/and it returns ‘curl: (7) Failed to connect to localhost port 8081: Connection refused’. So I changelocalhosttomy real ipand get HTML successfully. Then I change the wordpress and site address to my real ip, reset the plugin, and the post successfully synchronize from docker site to local site.
* I think changelocalhosttohost.docker.internalalso works, I’ll check later.
Thank you so much and have a good day!Forum: Plugins
In reply to: [Sync Post With Other Site] Simply not working :(Thank you for your reply.
Yeah, I have seen the 500 Interal Error in the Network tab. But I don’t know how to solve it. Can you figure out how to solve this problem. I’m a beginner in wp plugin development.
I have installed two wordpress site on my mac. The first site is localhost:8081/wordpress/ installed locally with XAMPP. The second one is localhost:8000/ installed by docker on my mac.
I can successfully synchronize posts from 8081/wordpress to 8000, but got internal server error while synchronize posts from 8000 to 8081/wordpress (our error log are the same!).
What can I do to fix this?
My wordpress version is 6.0 by the way.
Thank you so much anyway!!Forum: Plugins
In reply to: [Sync Post With Other Site] Simply not working :(Same problem,have you solved this?