首页 » this site

XOOPS搬迁方法

Author: 唐生. Published: April 14, 2005. Category: (28)
Copyright: You are free to redistribute this work, as long as you keep this disclaimer and link.
Permlink: http://www.tonyhead.com/archives/20050414_xoops.html


因为以前每次修改页面只可以在学校的电脑上才能进行(好被动啊),而且最近买左D关于html的书,学到好多新知识想多D动手试下,所以经过一晚时间将个blog从学院部机到搬去一个我可以ftp到的空间,过程都算顺利啦,下面系心得:

XOOPS网站搬迁方法
1.备份旧空间下所有文件
2.上传到新空间里
3.备份mysql
4.用SQL将数据库导入
5.修改新空间根目录下的mainfile.php以符合新环境设定
6.GO

有可能碰到的问题:
1.显示数据库或路径错误
解决:注意mainfile的DB_PREFIX,因为有些版本中的protector模块会改掉PREFIX
2.不知道新空间的绝对路径
解决:从XOOPS源码中上传install目录行一次install guide
3.白屏
解决:打开除错模式(include/common.php 96行附近,将error_reporting改为1,然后对照提示补回丢失的文件(今次就遇到问题了,我一直将flashfxp设为上传时全部改小写,但Smarty.class.php首字母居然系大写)(NT主机冇依样问题)
4.页面字体样式走样
解决:根目录设置错误
5.显示已经登陆但不能登陆管理区
解决:将session表清空

书系:


同埋

如果早少少寄书目来我会买第5版



Posted by 唐生 at April 14, 2005 7:50 PM | TrackBack (0)

« 杂记  Prev Next  广州提前进入电力紧张阶段! »
More to do on this site
Comments



Post a comment
Name:

Email Address: (will not show)

URL: (optional)

Comments:


It may take up to 30 seconds before the server returns a result. IP address recorded.
Your post will appear on the homepage of this site - feel free to post on old entries to re-active the discussion. Please do NOT ask me to contact you by email or mobile. You can also suggest a new topic
Remember info?

<-- Please click POST only once

Tags Cloud

blogger damco files funny Maersk Maersk Post Movable Type this site Webgame why 下载 世界第一富婆目标! 十指不沾阳春水嘅偶像 唐生揾紧工 广州 快闪 桌面游戏 电子产品 细艺 自建服务器 通式档案 魔法风云会


Archives

Archives | 通式档案 | Popular | Disclaimer | Subscribe | About | Contact | RSS rss
© 2003 - 2008 唐生 TONYHEAD.COM. All rights reserved.

 
News!
About this Site
Created: July 14, 2003
Entries: 505
Page views/month: 4 thousand
Comments: 389
Location: Canton, China
Time: UTC +08:00
Author: 唐生, ms08
Update Frequency: weekly
RSS 2.0 Feed  RSS
Google Reader 订阅
Powered by Movable Type 4.2rc4-en
Translations:English
My Picks
OS: Windows Server 2003 Standard Edition SP2
Browser: Mozilla Firefox 3.0
Email Client: Outlook 2003
FTP Client: FlashFXP
Text Editor: Maruo
Downloader: FlashGet
AntiVirus: Symantec AntiVirus
Compression Tool: 7-Zip
Image Viewer: IrfanView
Feed Reader: Google Reader
PIM: wikidPad
Web Hosting: Site5
Miniblog: Twitter
ID:claimID
Maersk UID:TYT004
Who Is Who