1

我已将 Wordpress 站点的本地测试迁移到实时服务器,但遇到了一个奇怪的问题。一切正常,但我正在使用的插件之一(NextGEN Gallery)正在尝试从127.0.0.1/powwptest.1/.

我一生都无法解决这个问题。我已经通过 phpMyAdmin 在数据库中重复搜索127.0.0.1localhostpowwptest.1powwptest,我使用 Sublime Text 手动搜索了 .SQL 文件,并使用 Sublime Text 搜索了所有 1600+ 个 PHP 文件,但无济于事。绝对什么都找不到。

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

一些调用,例如:

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 插件,但无济于事。有任何想法吗?

4

3 回答 3

3

开发 NextGen Gallery 的新团队似乎打破了很多东西。我在这个插件和网站移动方面遇到了一些疯狂的问题。

尝试重置永久链接和插件设置(如果我没记错的话,你可以从 WordPress 的插件设置页面中完成)。这不会清除您的画廊,只会清除插件设置中的设置。

于 2013-09-01T00:33:59.190 回答
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.

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.

于 2013-09-04T04:53:04.847 回答
0

我刚刚花了 3 个小时解决了同样的问题。最后,我发现了,查看数据库

select * from wp_postmeta where meta_value like '%127.0.0.1%';
于 2013-09-01T23:33:12.067 回答