小弟先前在centos6.2主機安裝xoops 2.5.4,最近把網頁移至另一部centos6.2主機,過程如下:
1.將/var/www/html/xoops移至另一部centos6.2主機/var/www/html
2.將/var/www/xoops_data 及/var/www/xoops_lib 移至另一部centos6.2主機/var/www
3.將/var/lib/mysql/xoops移至另一部centos6.2主機/var/lib/mysql
4.其他設定與原機相同,故不更改mainfile.php
5.重新啟動httpd及mysqld
用個人電腦瀏覽網頁一片空白,請教是何故?
1.我比較懷疑這樣子mysql會不會動
2.你確定apache2(httpd)的設定是完全一樣的嗎?一般說來預設的WEB路徑是/var/www,但是你的狀況好像是/var/www/html
3.mainfile.php有記載XOOPS用的網址,如果這個網址是用IP而不是DN,第一台伺服器IP是192.168.100.1,第二台IP是192.168.100.2,XOOPS複製過去沒有改mainfile.php的話,你連192.168.100.2上的xoops有一堆東西會跑回192.168.100.1
用DN的話可以靠修改hosts硬連
4.這個狀況開除錯要用phpmyadmin進去改了
[b][url=http://www.watchesartist.com/ ]Replica Tag Heuer Watches[/url][/b]
[b][url=http://www.watchesartist.com/ ]Replica Omega Watches[/url][/b]
[b][url=http://www.watchesartist.com/ ]Replica Cartier Watches[/url][/b]
[b][url=http://www.watchesartist.com/ ]Replica Bell Ross Watches[/url][/b]
[b][url=http://www.watchesartist.com/ ]Replica Watches[/url][/b]
[b][url=http://www.watchesartist.com/replica-u-boat-watches-classico-45mm-c-368_370.html ]Replica U BOAT Classico 45mm Watches[/url][/b]
[b][url=http://www.watchesartist.com/replica-tag-heuer-watches-carrera-chronograph-tachymeter-c-322_337.html ]cheap Tag Heuer Carrera Chronograph Tachymeter Watches[/url][/b]
[b][url=http://www.watchesartist.com/replica-breitling-watches-bentley-675-c-41_44.html ]Replica Breitling Bentley 6.75 Watches[/url][/b]
[b][url=http://www.watchesartist.com/replica-rolex-watches-special-edition-c-275_310.html ]Replica Rolex Special Edition Watches[/url][/b]
[b][url=http://www.watchesartist.com/replica-bvlgari-watches-classic-chronograph-c-65_74.html ]fake Bvlgari Classic Chronograph Watches[/url][/b]