将Wordpress网站从本地迁移到NextGen Gallery时遇到的问题 [英] Issues migrating Wordpress site from local to live with NextGen Gallery

查看:73
本文介绍了将Wordpress网站从本地迁移到NextGen Gallery时遇到的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经将Wordpress网站的本地测试迁移到实时服务器,但是遇到一个奇怪的问题.一切正常,但是我正在使用的一个插件(NextGEN Gallery)试图从127.0.0.1/powwptest.1/的旧位置下载一些CSS和JS文件.

I've migrated a local test of a Wordpress site to a live server but I'm encountering a weird issue. Everything works fine, but one of the plugins that I'm using (NextGEN Gallery) is attempting to download a few CSS and JS files from the old location at 127.0.0.1/powwptest.1/.

我无法一生解决这个问题.我已经通过phpMyAdmin对数据库中的127.0.0.1localhostpowwptest.1powwptest进行了重复搜索,我用Sublime Text手动搜索了.SQL文件,并用Sublime Text搜索了所有1600多个PHP文件.无济于事.绝对没有发现.

I cannot figure this issue out for the life of me. I have done repeated searches for 127.0.0.1, localhost, and powwptest.1 or powwptest in the database through phpMyAdmin, I have manually searched the .SQL file with Sublime Text, and searched all 1600+ PHP files with Sublime Text to no avail. Absolutely nothing is found.

如果数据库或任何文件中没有127.0.0.1/powwptest.1记录,为什么它仍尝试从本地服务器下载?

If there is no record of 127.0.0.1/powwptest.1 in the database or in any of the files, why is it still attempting to download from the local server?

几个电话,例如:

http://127.0.0.1/powwptest.1/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/lightbox/static/fancybox/jquery.fancybox-1.3.4.css?ver=3.6
http://127.0.0.1/powwptest.1/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/lightbox/static/fancybox/jquery.easing-1.3.pack.js?ver=3.6
http://127.0.0.1/powwptest.1/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/lightbox/static/fancybox/jquery.fancybox-1.3.4.pack.js?ver=3.6
http://127.0.0.1/powwptest.1/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/lightbox/static/fancybox/nextgen_fancybox_init.js?ver=3.6
http://127.0.0.1/powwptest.1/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/lightbox/static/fancybox/jquery.fancybox-1.3.4.pack.js?ver=3.6
http://127.0.0.1/powwptest.1/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/lightbox/static/fancybox/nextgen_fancybox_init.js?ver=3.6

我已经清除了缓存,Cookie,并在多个浏览器中进行了尝试,甚至使用了第三方(Pingdom)来确保我没有疯.他们也都在检测连接错误.我尝试过更新实时服务器上的Wordpress插件,但无济于事.有什么想法吗?

I've cleared cache, cookies, tried in multiple browsers, and even used a third-party (Pingdom) to make sure I'm not crazy. They are all detecting the connection errors as well. I've tried updating the Wordpress plugin on the live server, to no avail. Any ideas?

推荐答案

我终于弄清楚了,希望这对其他NextGen Gallery有问题的人有用.从WordPress仪表板中,转到库"->其他选项"->灯箱效果"->(显示高级设置").此时,您可以从每个条目中完全删除http://127.0.0.1/等.对于每种类型的灯箱,您都必须执行一次.

I figured it out finally, hopefully this works for others having an issue with NextGen Gallery. From your WordPress dashboard, go to Gallery -> Other Options -> Lightbox Effects -> (Show Advanced Settings). At this point you can delete the http://127.0.0.1/ etc. entirely from each entry. You'll have to do this once for each type of Lightbox.

在我看来,此信息存储在第3方服务器上,否则没有任何理由可以在数据库中重新出现.

It seems to me that this information is stored on a 3rd party server, otherwise there is no reason it could reappear in the DB.

这篇关于将Wordpress网站从本地迁移到NextGen Gallery时遇到的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆