Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
Today is August 25 fighting for a night, my z-blog finally returned to normal, the fear of the data will be lost in the heart down, thank you for pushing a month chapter teacher's advice, now this event to do a summary of the record, hoping to help for the needs of the friends who need to do a value reference.
Let me tell you something about my z-blog. One day at noon, suddenly think of the year before the personal blog site relocation, want to make their own site to create a ceramic enterprise network marketing share, through their own way to promote the process to talk about the Tao Enterprise network Marketing. But later, far from the title of the blog, title to make changes, but the site some of the procedures to do, the site backstage verification code does not come out, also makes my z-blog login, then that heart is how anxious ah, in the case of nothing to ask a push a month chapter teacher, He suggested that I reload the Z-blog program and, at the same time, emphasized that in order to keep the original data unchanged, there are two folders, that is, the root directory of data (database files) and include (subject) saved. For stability, my approach is to save data, include, and save the entire Web folder. Okay, next, there are a couple of problems I've encountered in installing a new Z-blog program.
1.z-blog data mistakenly deleted, how to save?
After installing the new program, my first practice was to upload the database directly to the Data folder, the answer is certainly not, otherwise there will be no follow-up to the two methods, I immediately to Baidu, Google search related methods, which has an article attracted to me, his situation is very similar to mine, so immediately executed, The method is as follows:
1. Download the page files in the Post folder and cache folder under the root directory of the Web site.
2. Upload backup database, file rebuild. Restore data before backup (because my data is 2 months ago I lost more than 20 articles and some tags, comments, messages)
3. Manual recovery, from the background to see the article ID to that, and then to download a good cache folder to find, and then an article, a new article, published articles, in accordance with the original article format, naming rules, release date, tags, etc., the use of alias address recovery. (Cache folder files are home article summary, file name corresponding to the article Id,post folder file is the content of the article, file name corresponding to the article address, the use of alias address recovery can make the article address and the same address included.) )
Although the authors of the above list the methods in detail, he succeeded, but I did not understand at all, so pass, emperor, there is a simple method is very suitable for me, I also use this method will lose the article data are returned to the first step of the method revealed as follows:
(1) in the site root directory to find the c_custom.asp file, open with DW will see "The Basic Site settings (use Notepad to open it will be easier.") )
Const zc_database_path= "Data/#%abc123.mdb"
Const zc_blog_host= "http://www.huangweicong.com/blog/", note that the Blue font part is your database name ". (PS: This is the data file we mentioned earlier)
(2) Find your backup of the. mdb file, renamed: #%abc123.mdb (blue font part, must take #%), and then uploaded to the Web site's Data folder.
Thanks to the above methods of the veteran contributions, because it was copied to word, and did not leave a name and name, so can not really name the thank you. Through the above method, the data is restored, but also encountered a problem, that is, z-blog the background landing problem, entered the correct username and password, but still show such a window "Error reason: Login failed, return source file." This is the next issue to be explored.
2.z-blog Background: Error reason, Login failed.
Through Baidu, Google search, found that the problem of the friends are really many, everyone's handling method is not the same, and some just said to clean up the cooki, some said that the landing page to save the choice of saving the day, one months, but there is no solution, one way is to get the majority of people's recognition, Implemented by modifying the code.
First you find login.asp on the root directory, download it, open it in DW or Notepad, and find the location of the following code:
<script language= "javascript" type= "Text/javascript" > Function Setcookie (sname, svalue,iexpiredays) {if (iexpiredays) {var dexpire = new Date (); Dexpire.settime (Dexpire.gettime () +parseint (iexpiredays*24*60*60*1000)); Document.cookie = sname + "=" + Escape (svalue) + "; Expires= "+ dexpire.togmtstring (); else{Document.cookie = sname + "=" + Escape (svalue) + "; path=/"; } }
See the Blue Callout column? Find it and change it to the following code:
Document.cookie = sname + "=" + Escape (svalue) + "; path=/blog/";
That is the red part.
Originally want to finally can be done, did not think still not, because made very late did not continue to do, the next day to try landing is not, and then suddenly put the account and password into the original account and password, incredibly successful, really to Ray died. This article by the Taobao Ladies Http://www.youhuala.com/,A5, reproduced please keep the link, thank you!