404在本地使用WAMP/PHPMYADMIN的错误
我最近使用phpmyadmin建立了WAMP服务器,并且有问题显示从Pantheon托管的网站上提取的图像。我的一切都很好,但是图像不会显示。
我已经通过万神殿导出了网站的数据库,并用phpmyadmin导入,主题正确加载,但没有任何图像。它也在WordPress上运行。我试图找到发生这种情况的具体示例,但是我不确定这笔交易是什么。任何信息都将不胜感激。
I recently set up a WAMP server using phpMyAdmin and am having issues displaying images pulled from my website hosted via Pantheon. I've got everything running fine, but the images will not display.
I've exported my website's database via Pantheon and imported with phpMyadmin and the theme loads correctly, but not any images. It's running on WordPress as well. I've tried to find specific examples of this happening, but I'm not sure what the deal is. Any information would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果我正确地说,您导出了WP网站并将其导入本地机器?
您是否在WP中检查 /更改了网站URL?
如果在wp中,网站URL不匹配真实的URL,则指向文件的链接可能会被打破。.
在浏览器中查看我们的站点代码,在那里您应该找到映像链接,以查看WP真正尝试加载的wp。
If i get it right you exported you wp site and imported it at a local machine ?
Have you checked / changed the site url in wp ?
If in wp the site url dont match the real url the links to the files can get broken ..
Look at our site code in browser and there you should find the image link to see what wp realy try to load.
已解决。必须将.tar文件的内容提取到“上传”目录中两次。在我能找到的任何文档中都没有任何解释,我不了解.tar文件的工作方式。
Solved. Had to extract the contents of the .tar file into the "uploads" directory, twice. There was no explanation to do this in any of the documentation I could find, I didn't understand how .tar files work.