Archive for July, 2011

After whmcs restored to distortion

$mysql_charset=”utf8″;

Comments

Zen-cart Session_start error leads to a blank page display

zen-cart. Some space reasons。After editing or download the document in?> After a blank line to pay more。This led to the foreground and background can not display normal。。Often there will be a blank page。Or session_start()error。Given the header information already sent。 Add in the shopping cart and payment processes often appear。The following are the symptoms:

Warning: session_start() [function.session-start]: Cannot send session cookie – headers already sent by (output started at /home1/megacoll/public_html/shopping/admin/includes/classes/logger.php:106) in /home1/megacoll/public_html/shopping/includes/functions/sessions.php on line 108

Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home1/megacoll/public_html/shopping/admin/includes/classes/logger.php:106) in /home1/megacoll/public_html/shopping/includes/functions/sessions.php on line 108

Warning: Cannot modify header information – headers already sent by (output started at /home1/megacoll/public_html/shopping/admin/includes/classes/logger.php:106) in /home1/megacoll/public_html/shopping/admin/includes/init_includes/init_templates.php on line 69

Warning: Cannot modify header information – headers already sent by (output started at /home1/megacoll/public_html/shopping/admin/includes/classes/logger.php:106) in /home1/megacoll/public_html/shopping/admin/includes/functions/general.php on line 37

Background leading to the site can not log。

If you have administrative privileges php.ini,Then,Directly edit php.ini,The output_buffer open (just give a value of 1024-4086),If you do not have permission to php.ini,But the server provides the function of words .htaccess,Then in .htaccess add that this thing on it:

All the php files are checked still the same。
Finally found out that there was no host in php.ini setting output_buffering。Although not yet ask them to correct,But we can try to use .htaccess。

.htaccess set as follows:
php_value output_buffering 4096

Tested 。no problem。

Comments

The lightinthebox zencart template simply submit links will be displayed on the home page

Circulated on the Internet zen cart lightinthebox template
Links submitted will be displayed in a Home
It will be considered the same as if the site was hacked
In fact not! !
In fact, it is not required to submit audited Links
Originally link module is Audit Scheme,On this point ignores,I do not know is intentional or ...
Now we need to add a review on the line

Very simple!
找到 includes/modules/sideboxes/lightinthebox/links_box.php 文件
In the code
WHERE ld.language_id = ‘” . (int)$_SESSION[‘languages_id’] . “‘
Adding back and l.links_status = '2'
To

Comments

zen-cart smtpauth set gmail success

1) First way is to send an e-mail back:smtpauth
2) Smtp mail account:[email protected]
3) Smtp account password:xxxxxxxx
4) Smtp host:smtp.gmail.com
5) Smtp server port:465Or 587

If this setting is correct。But some hosts still appear Email Error: SMTP Error: Could not connect to SMTP host. Such a situation 。

This requires the server to support。Check back next - whether the information in the OpenSSL server - Tools。Because the transmission is ssl google://smtp.gmail.com agreement。

It requires the server to support this very important Openssl。

Germany fully supports our server,We tested.

Comments

Space into the database via SSH

Space Support SSH,It can be easily imported into the database via SSH

1. The database file format export to .sql,Do not compressed into .zip or .tar.gz file

2. .sql files uploaded to the server using FTP

3. Create a database,If the database does not exist

4. By SSH login server

5. In the SSH terminal,.sql file into the directory where

6. Run the following command:
# mysql -u username -p database_name < file.sql7. 然后,会提示输入数据库的密码,输入密码后就开始导入数据库的过程。在SSH中,使用命令行的方式,只能导入.sql文件

Comments

mysql master-slave synchronization principle

Replication thread

The Mysql Replication is an asynchronous replication process,From a Mysql instace(We call Master)Copied to another Mysql instance(We call it Slave)。Realization of the entire replication process between Master and Slave is done mainly by the three threads,Two threads(Sql threads and IO thread)In the end Slave,Another thread(IO thread)At the end of Master。

To achieve the MySQL Replication ,You must first open the Master end of the Binary Log(mysql-bin.xxxxxx)Features,Otherwise it is impossible to achieve。Various operations because the whole process is actually a copy Slave from the Master side to obtain the log and then himself completely in the implementation of the log in the order recorded。Open the MySQL Binary Log can be used in the process of starting MySQL Server "-log-bin" parameter options,Or my.cnf configuration file mysqld parameter set([mysqld]Section identifies the parameters after)Increase the "log-bin" Parameter。

The basic process is as follows MySQL replication:

  1. Slave IO above the thread connecting the Master,And requests the specified log file from the specified location(Or from the beginning of the log)After the contents of the log;

   2. After receiving the request from the Master of Slave IO thread,Log information is read by the specified log specify the location of the IO thread is responsible for copying the information after the request,Back to the Slave IO thread ends。Addition to the information contained in the log, in addition to the return information,This also includes the name of the information returned by the end of the Master Binary Log file and its location in the Binary Log in;

  3. Slave IO thread after receiving the information,The contents of the log of the received file are sequentially written to the Slave Relay Log end(mysql-relay-bin.xxxxxx)The very end,And records the file name and location of the read end of the Master bin-log to the master- info file,So that when the next time can be clearly read speed Master "I need a position from which bin-log log content beginning later,please send to me"

   4. Slave SQL thread detected Relay Log in newly added content after,Parses the contents of the Log file immediately becomes a real implementation of the Master side when those Query executable statement,And their implementation of these Query。such,Actually end in Master and Slave implementation of the same end Query,So the data is exactly the same at both ends。

Actually,In the old version,MySQL replication is not achieved at the end Slave to work together by the IO thread and the SQL thread two threads completed,But by a separate thread to do all the work。But MySQL's engineers soon discovered,Doing so there is a big risk and performance problems,Notably the following:

First of all,If you do this work independently, then by a single thread,Causes the end of the Master Copy,Binary Log Log,And parsing these logs,Then the execution of this process itself becomes a serial process,Performance will naturally be subject to greater restrictions,Replication of this architecture naturally relatively long delay。

Secondly,After this replication thread Slave side get up from Master Binary Log end,Then we need to resolve these,Restore the original end Query Master performed,Then in its own execution。During this process,Master end and is likely to have generated a lot of changes and generate a large amount of information Binary Log。If there is a fault can not be repaired at the end of this storage system Master stage,So at this stage all the changes arising will be lost forever,I can not get it back。This potential risk is particularly prominent in the Slave-side pressure is relatively large when,If the pressure is relatively large because the Slave,Log analysis and application of these logs time spent will naturally be longer,The data will also be lost more。

and so,In the latter part of the transformation,The new version of MySQL in order to minimize this risk,And improve the performance of replication,Copy the Slave-side instead of two threads to finish,That is, the aforementioned IO thread and the SQL thread。The first proposed improvement program is Yahoo!An engineer "Jeremy Zawodny"。Through this transformation,This will not only largely solve the performance problems,Shorten the delay time of asynchronous,While reducing the potential amount of data loss。

of course,Even replaced the two threads so now to collaborate after,Also there is still the possibility of Slave data latency and data loss is,After all, this replication is asynchronous。Whenever you change the data in a transaction not,These problems are there。

If you want to completely avoid these problems,We can only use the MySQL Cluster to solve。But the MySQL Cluster know when I wrote this part of,It is still a number of memory database solutions,That is, all the data including the index will need all Load into memory,This memory requirement is very large large,For the general popularity of applications can be implemented not too much。of course,Before that communicate with the MySQL CTO David when,MySQL is now achieve continuous improvement of its Cluster,One very large data do not allow a change is all the Load into memory,But merely an index of all Load into memory,I would like to believe that after the completion of the transformation will be more popular MySQL Cluster,Can be implemented will be greater。

Comments

mysql-yourself Mathematical Functions

All mathematical functions return NULL in case of an error。


Unary minus。Sign change parameters。
mysql> select – 2;

note,If this operator is used with a BIGINT,The return value is a BIGINT! This means you should avoid using the integer -,That may be the value of -2 ^ 63!
ABS(X)
Returns the absolute value of X。
mysql> select ABS(2);
-> 2
mysql> select ABS(-32);
-> 32

This function can be used to secure value BIGINT。

SIGN(X)
Returns the signs of the parameters,-1、0Or 1,Depending on whether X is negative、Zero or a positive number。
mysql> select SIGN(-32);
-> -1
mysql> select SIGN(0);
-> 0
mysql> select SIGN(234);
-> 1

MOD(N,M)
 
%
mold (Similarly% operators in C)。Returns the remainder being M divided by N。
mysql> select MOD(234, 10);
-> 4
mysql> select 253 % 7;
-> 1
mysql> select MOD(29,9);
-> 2

This function can be used safely BIGINT value。
FLOOR(X)
Returns the maximum integer value not greater than X,。

mysql> select FLOOR(1.23);
-> 1
mysql> select FLOOR(-1.23);
-> -2

Note that the return value is converted to a BIGINT!
CEILING(X)
Returns the smallest integer not less than X,。
mysql> select CEILING(1.23);
-> 2
mysql> select CEILING(-1.23);
-> -1

Note that the return value is converted to a BIGINT!

ROUND(X)
It returns an integer rounding parameter X。
mysql> select ROUND(-1.23);
-> -1
mysql> select ROUND(-1.58);
-> -2
mysql> select ROUND(1.58);
-> 2

Note that the return value is converted into a BIGINT!

ROUND(X,D)
Returns rounding the parameter X has a D decimals。If D is 0,The results will have no decimal point or fractional part。
mysql> select ROUND(1.298, 1);
-> 1.3
mysql> select ROUND(1.298, 0);
-> 1

Note that the return value is converted into a BIGINT!

EXP(X)
Return value e (natural logarithm of the bottom) of the power of X。
mysql> select EXP(2);
-> 7.389056
mysql> select EXP(-2);
-> 0.135335

LOG(X)
Returns the natural logarithm of X。
mysql> select LOG(2);
-> 0.693147
mysql> select LOG(-2);
-> NULL

If you want to count on any of the bottom B of a digital X,Use the formula LOG(X)/LOG(B)。

LOG10(X)
Returns the number X of the base 10。
mysql> select LOG10(2);
-> 0.301030
mysql> select LOG10(100);
-> 2.000000
mysql> select LOG10(-100);
-> NULL

POW(X,Y)
 
POWER(X,Y)
Y return power value X。
mysql> select POW(2,2);
-> 4.000000
mysql> select POW(2,-2);
-> 0.250000
SQRT(X)
Returns the non-negative square root of X。
mysql> select SQRT(4);
-> 2.000000
mysql> select SQRT(20);
-> 4.472136

PI()
PI return value (pi)。
mysql> select PI();
-> 3.141593

COS(X)
Returns the cosine of X, Where X is given in radians。
mysql> select COS(PI());
-> -1.000000

WITHOUT(X)
Returns the sine of X,Here X is given in radians。
mysql> select SIN(PI());
-> 0.000000

TAN(X)
Returns the tangent of X,Here X is given in radians。
mysql> select TAN(PI()+1);
-> 1.557408

ACOS(X)
X returns the inverse cosine,Ie it is a cosine X。If X is not in the range -1 to 1,,Return NULL。
mysql> select ACOS(1);
-> 0.000000
mysql> select ACOS(1.0001);
-> NULL
mysql> select ACOS(0);
-> 1.570796

ASIN(X)
X returns arcsine,I.e. the sine value which is X。L X is not in the range of -1 to 1 if the,Return NULL。
mysql> select ASIN(0.2);
-> 0.201358
mysql> select ASIN(‘foo’);
-> 0.000000

ATA(X)
X returns the arctangent,That which is tangent X。
mysql> select ATAN(2);
-> 1.107149
mysql> select ATAN(-2);
-> -1.107149
ATAN2(X,Y)
Back two variables X and Y arctangent。It is similar to calculation of Y / X arctangent,In addition to signs of both parameters are used to determine the quadrant of the result。
mysql> select ATAN(-2,2);
-> -0.785398
mysql> select ATAN(PI(),0);
-> 1.570796
COT(X)
Returns the cotangent of X。
mysql> select COT(12);
-> -1.57267341
mysql> select COT(0);
-> NULL

RAND()
 
RAND(N)
Back in the range 0 to 1.0 in the random floating point values。If N is a specified integer parameter,It is used as a seed value。
mysql> select RAND();
-> 0.5925
mysql> select RAND(20);
-> 0.1811
mysql> select RAND(20);
-> 0.1811
mysql> select RAND();
-> 0.2079
mysql> select RAND();
-> 0.7888

You can not use an ORDER BY clause RAND()Value using the column,Because ORDER BY would be repeated many times computed column。However, in the MySQL3.23,you can do: SELECT * FROM table_name ORDER BY RAND(),This is beneficial to get one from SELECT * FROM table1,table2 WHERE a=b AND c
LEAST(X,Y,…)
There are two or more parameters and,The minimum return(Minimum)Parameters。Parameters were compared using the following rules:
If the return value is used in a context INTEGER,Or all of the parameters are integer values,They compared as integers。
If the return value is used in a context REAL,Or all of the real-valued parameters,As they are more real numbers。
If any parameter is sensitive to the size of a string,Parameters are compared as case-sensitive string。
In other cases,Parameters are compared as a case insensitive string。
mysql> select LEAST(2,0);
-> 0
mysql> select LEAST(34.0,3.0,5.0,767.0);
-> 3.0
mysql> select LEAST(“B”,”A”,”C”);
-> “A”

In previous versions of MySQL 3.22.5,You can use MIN()Instead LEAST。

GREATEST(X,Y,…)
Returns the maximum(Maximum)Parameters。LEAST parameters using the same rules as to compare。
mysql> select GREATEST(2,0);
-> 2
mysql> select GREATEST(34.0,3.0,5.0,767.0);
-> 767.0
mysql> select GREATEST(“B”,”A”,”C”);
-> “C”

In the MySQL 3.22.5 previous version, You can use MAX()Instead of GREATEST.
DEGREES(X)
Return parameter X,Converted from radian angle。
mysql> select DEGREES(PI());
-> 180.000000
RADIANS(X)
Return parameter X,Is converted from degrees to radians。
mysql> select RADIANS(90);
-> 1.570796

TRUNCATE(X,D)
Returns X,Truncated to D decimals。If D is 0,The results will have no decimal point or fractional part。
mysql> select TRUNCATE(1.223,1);
-> 1.2
mysql> select TRUNCATE(1.999,1);
-> 1.9
mysql> select TRUNCATE(1.999,0);
-> 1

Comments

CentOS 5 The OpenSSL and OpenSSH upgrade

The OpenSSL and OpenSSH upgraded。CentOS 5.2 is brought OpenSSL 0.9.8b,OpenSSH is 4.0p1。Upgrade follows:

openssh latest version (http://www.openssh.com/portable.html)

wget http://www.openssl.org/source/openssl-0.9.8j.tar.gz

tar zxvf openssl-0.9.8j.tar.gz

cd openssl-0.9.8j

./config –prefix=/usr

make

make test

make install

wget http://openbsd.noc.jgm.gov.ar/pub/OpenBSD/OpenSSH/portable/openssh-5.2p1.tar.gz

tar zxvf openssh-5.2p1.tar.gz

cd openssh-5.2p1

./configure –prefix=/usr –with-pam –with-zlib –sysconfdir=/etc/ssh –with-ssl-dir=/usr –with-md5-passwords

make

make install

Comments

How to better understand and deal with complaints and disputes buyers

Together with buyers to resolve disputes
What is the controversy?
Controversy buyers and sellers to communicate directly、The opportunity to solve their problems together。 Buyer dispute is asking you to help them solve problems related to the purchase of goods。
Buyers usually after dispute shall endeavor to communicate directly with the seller,In order to solve the problem together before a formal application for compensation to PayPal。
Why buyers will dispute?
Buyers may dispute for the following reasons:
• did not receive the goods:Your buyer did not receive the purchased goods
• serious discrepancies with the description of goods:Buyers think your description of goods received and made serious discrepancies
How to resolve the dispute?
In an effort to resolve the dispute,Buyers and sellers can communicate through PayPal Resolution Center。You can dispute the reasons from the center to understand buyers,And publish information,Responded to the controversy。 Whether buyers or sellers,Whenever new information,The other party will be able to receive an email notification immediately,In order to reply as soon as possible。
When communicating with buyers,Try not to preconceptions that the other side's behavior contrary to the legitimate or unjustified。 First, to show that you believe that the two sides of the dispute can be resolved,And provide some suggestions to solve。
This is because the amount of controversy associated with the transaction are temporarily freeze,Until the dispute is resolved,The most advantageous approach is for you to communicate with buyers exchange,And strive to solve the problem as soon as possible。
Outcome of the dispute could lead to?
Most disputes can be successfully addressed by a friendly buyers and sellers,Without the need to intervene PayPal。 Upon termination dispute process,Any deemed "controversial" money can be returned。
however,Sometimes buyers may choose to upgrade to the application for compensation dispute,Time limit for application is 20 days。 But please keep in mind,If you feel you would like to work together to solve the problem of sincerity,Buyers generally do not apply for compensation。
Seller Protection?
• distribution methods employed should be able to provide proof of delivery,This is especially true when the delivery precious commodity。
• Only the goods sent to the buyer's address is displayed in the transaction detail page。
• receipt of payment must be shipped within seven days。
The seller does not guarantee protection cap on the amount of your offer。Just adherence to the following provisions can be protected。For more information,Please refer to the Seller Protection Terms。
Buyers usually after dispute shall endeavor to communicate directly with the seller,In order to solve the problem together before a formal application for compensation to the PayPal "
What is the application for compensation?
If you think that can not use the dispute settlement procedures to resolve the problem directly with the seller,Buyers can upgrade to the dispute to the application for compensation,PayPal request to investigate issues。PayPal will then review the application for compensation,And decided to deal with the results in accordance with the terms of the User Agreement。In this process,Payment dispute can "freeze" on your account,Until the final determination date。
PayPal application for a ruling on compensation How long?
PayPal will try to resolve the application for compensation within 30 days,But may also slightly extend the time to resolve。During this period,We will review the event details,Collect information from buyers and sellers。Our goal is to try to quickly、Fair solution to every application for compensation。
The more information you provide evidence,PayPal could help solve the more applications for compensation、To protect your interests。 E.g,If the buyer does not receive due to commodity and application for compensation,PayPal will need evidence to prove merchandise has been delivered。 therefore,You must be able to be used to provide online tracking of post。
Time to respond to the application for compensation is how long?
To ensure that the application for compensation be resolved as soon as possible,Buyers and sellers are required to respond to information requests within the prescribed time limit。 Deadline displayed at the top "application for compensation Details" page。If you fail to provide information upon request within the prescribed time limit,Then the application for compensation may be automatically ruled in favor of buyers。
If you suspect fraudulent applications for compensation of property buyers,How do I respond?
PayPal will propose a fraudulent application for compensation against the buyer to take action,You are welcome to provide various types of information。Upon termination process,You can use the "application for compensation Details" page "Report Fraud" link to report fraudulent applications for compensation。
The main problem in the use of PayPal customers
Buyers initiated dispute and claim
From the seller's voice:
Complain do not know why buyers initiate dispute
Sellers understanding of the controversy and complaints:
Some sellers think big business,Naturally there will be this or that problem
Encountered this kind of customer,There is no way let alone the solution
Buyers initiate dispute with the complainant is not controllable,Initiative in the hands of buyers
Dispute Claim Claim with the substance:
The reason for buyers to initiate dispute,Must be the product or service process there is a problem,If the seller does not attract attention,When large-scale controversy and complaints initiated,Bound to have a strong impact on the business seller。
Two types of dispute:
The first - the goods have not received。
The second - the goods not as described。
Buyers initiate Dispute & Claim analysis of the specific reasons
Did not receive the goods
Goods not as described
Dispute & Claim Resolution Process and programs
Dispute & Claim more properly handling skills&How to complete a pleasant transaction process
The key to success seller:A pleasant shopping experience for customers
Good pre-sale service:
Provide information on the goods as detailed as possible,Such as size,Performance, etc.
Inform international freight may occur,For example, tariffs, etc.
Inform the seller's contact information,Such as online customer service,E-mail address and telephone
How to properly inform the exchange or return of such redemption process,To solve problems
Any questions should go first to discuss the seller does not have to initiate dispute
Good service:
We have initiated a controversy,The first time linked to the buyer
Positive contact with the buyer to ask the relevant circumstances,Understand the root cause of the incident
In a relatively short period of time,We have to be able to promptly and effectively resolve the problems encountered by the buyer
Weigh the pros and cons of buyers and sellers,The two sides are to minimize loss
What happened issues and effective solutions within the analysis period summary
Establish an effective customer profiles within the reach of ability
Do the above,You can become a truly successful seller,Future business development and performance will scale new heights。

Comments

How to improve the signal to noise ratio of foreign trade website optimization will learn lessons

SNR is the ratio of the page text on a web page with all the HTML code,This is also what we need to understand the basics of SEO。From how search engines in terms of,The first is that the system will crawl the entire web page download,Then extract the text inside,After analyzing remove HTML format,Clear noise,Then word,Finally, the index is stored in the library。During this process,Search engines will go through the process of de-noising,We are obviously able to know,The higher the SNR website,The higher the search engine spiders crawl efficiency,Document search spiders to be processed every day very much,How to quickly extract information web page theme is an important task。
In fact, the concept is derived from the acoustic signal to noise ratio,It refers to the ratio originally generated voice signal to noise output,Page is actually applied to not only refers to the ratio of all the code and herein,Also it includes useful information on the ratio of the current page text content with useless information。What useful information,For example, on the topic of my article is a web-noise ratio,Whole article has 1000 words,And all of the current page text has 2000 characters,The other text is unrelated to noise ratio,The information that is unrelated to the noise。and so,Web page divided into two areas to improve the signal to noise ratio:Including the optimization of code and content optimization。
one、Noise-Code
we know,The first step in the search engine noise removal is cleared HTML format,Then the first step to improve the signal to noise ratio of the page is optimized HTML code。Why do we often say,Page code to comply with W3C standards、Code to be Jian Jie、Use DIV + CSS,In fact, it is based on this principle。Actually,Many of my friends just to see the online article said to go write code like this,But I do not know why you want to do,This is what I suggest that you first learn SEO principle of reason (I know,Greater than the theoretical practice,But if the theories are not,How to practice,Not a starting point)。Remove noise code includes the following aspects:
Reduce the use JS,JS code must use to encapsulate。
The encapsulated CSS code。
Reduce DIV nesting (many of my friends do not know if the principle of,The blind pursuit of DIV + CSS,But also produced a lot of redundant code。)
Reduce picture、FLASH use
two、Noise-content
same,After the search engine extracts the text content pages,But also for secondary analysis of de-noising,That is, determine the theme of the current page。So in this process,How do we make search engines more accurately judge (issues related to sexual This is) our theme page,How to improve the relevance of a web page? It is to reduce the noise content of the page。
We very common that some e-commerce website product details,SEO may be a part of e-commerce sites do not pay attention to personnel,In the catalog explains here are some instructions on Delivery or help information,The presence of these contents,Improve the similarity of each product page,But also reduces the signal to noise ratio。The information from the user experience perspective is friendly,It is to enhance trust websites,But from the perspective of search engines is a certain disadvantage in terms of,So we can use these elements to encapsulate the call IFRAME or JS,So that both sides take care。There is also the main include the following:
Encapsulated duplicates call
Exporting a list of links to encapsulate unnecessary calls
Streamlining copyright information
Associated with an increased content of text length
The method is more than a few,It depends on how they implement their own understanding of the technology or master。Although we know that search engine noising preprocessing stage in the index page will,But if we ourselves do a good job to improve the signal to noise ratio of the page,On the one hand reduce the workload of the search engine,So as to enhance its efficiency crawl on our website,On the one hand to enhance the accuracy of the search engines judge。Then,One can imagine,Our pages are more trusted。

Comments

How to set up shop to make safer zencart?

Here are a few steps to strengthen the security of the Zen Cart shop:
1. Delete / zc_install installation directory
After the installation is complete,Deleted from the server business / zc_install installation directory。
Do not just rename the directory,In case people know the name of the directory,Insecure。
2. Set configure.php files as read-only
The two configure.php files CHMOD(Setting permissions)Command be changed to read is important。
It is usually set to "644",Sometimes "444"。
If the program can not be modified via FTP,You can use file management tool provided by the host to modify。
If you are using Windows Server,As long as the file is set to "Everyone", "Read Only",If that is in IIS,User is IUSR_xxxxx,Or "System" account,International trade payment qq 1274899661 In Apache,Is "apache user" account。
3. Renamed "/ admin" directory
Modify the "admin" directory name,With a difficult to guess the name。
(Before making the following changes,Back up your files and databases。)
A- Using a text editor,Notepad e.g.,Open the file admin / includes / configure.php。
All appear / admin / local directory name into their management。
We need to modify the part:
define(’DIR_WS_ADMIN’, ‘/admin/’);
define(’DIR_WS_CATALOG’, ‘/’);
define(’DIR_WS_HTTPS_ADMIN’, ‘/admin/’);
define(’DIR_WS_HTTPS_CATALOG’, ‘/’);
We need to modify the part:
define(’DIR_FS_ADMIN’, '/home/mystore.com/www/public/admin/');
define(’DIR_FS_CATALOG’, '/home/mystore.com/www/public/');
B- Find the Zen Cart / admin / directory,
The directory name in accordance admin / includes / configure.php defined in amended accordingly。
4. Remove unused administrator accounts
Management page -> Tools -> Manage Settings
In the management page,Open the Tools menu,Select Management Settings
– Check that all administrator accounts are not using and delete。Particular attention to whether there is "Demo" account。
5. Strengthening the administrator password
Be sure to use a certain intensity、Not easy to guess password。
To change the administrator password,Enter the management page -> Tools -> Manage Settings,Click the "Reset Password" button,Or click on the icon would like recycling bins。International trade payment qq 1274899661
We recommend using a password of at least eight。
Password should contain letters、digital、meets the、And capitalization, etc.。
6. Protected content "custom page" "html_includes" in
Well defined your custom page after,(Management page -> Tools -> Edit Page), You want to protect these files:
A. Backup using FTP software download,These files are located
/includes/languages/schinese/html_includes目录。
B. Modify the file CHMOD 644 or 444 (Under Windows or "read-only")。See description above CHMOD
/includes/languages/schinese/html_includes

Comments

How do foreign trade B2B and B2C website SEO to bring more Google traffic

B2B industry for use of many of my friends have different views and usage,Promote access to the Internet since they began using the information to make B2B,It has been more than four years,Not to mention a deep understanding and views,Only to share my views and usage of the B2B。
General sales and do marketing for B2B use of machinery is the largest。General to establish their own shops in the B2B top,Do network to promote and sell their products,B2B website and generally they have higher weights,So in B2B link above to stay right on the website of the weight and position of great help,So make good use of B2B,It can be said to kill two birds with one stone。
A shot sales
Now really is the Internet age,Ordinary companies are also starting to focus on network marketing and Internet sales,And many companies have also set up a network of specialized departments for product promotion network。The most common is probably the number to use SEO to optimize a keyword industry。But to know that SEO is not a panacea,And corporate website rankings fluctuate too much ups and downs,So relying on SEO optimization keyword,It is certainly not。But B2B Advertising B2B shops or can be done everywhere,Because the more well-known B2B,For example, HC,Alibaba,Many of these large number of Marco Polo, and so well-known B2B day visit,Many customers and supply and demand information in the above,This is like a trading market is also an exchange or,Their products are exposed countless times,As long as products have the advantage,Then you have to worry about the order。If you can register thousands of B2B down,Hair circle Supply,Then the information itself will have a great chance to rank search engine home page,Exposure is even greater。
A shot Ranking
B2B Another important role is to do outreach to the site,Increase rankings and weight of the site。We should all know Baidu entitled B2B weight is very, very high,So basically there are one or two B2B advertising in the home will be in a search for any word when the industry,This is because search engines have great confidence in these B2B website,B2B and stay on top of industry-related links in their own industry and is closest,Best correlation outreach,This is definitely considered a high-quality outreach,This information itself is likely to be ranked to Home,This website rankings and drive increased,This is definitely a multiplier effect。
Fletcher
Of course, a great role in the B2B,But the B2B use is a skill,Want arrows corrections,So your arrows will made sharper。Then there are those skills to use it in the B2B?
1、adhere to。Your B2B shop set up at least to three months or even longer,Search engines will fully trust
2、Original。By the same token,Do not stereotyped in B2B hair above ad,The best to do some pseudo-original。
3、select。B2B sites and the general Web sites,Have the right to re-high,The big name,Because of the limited time and energy,So you should choose a good collection of those,Weight out,Make big fame。
To share so much of it,B2B is in fact a very good use of powerful,And the good thing really kill two birds with one stone,Do Internet sales,Conversion rate is the target,And not for rankings rankings,So do not even ranked B2B,But at least your products have been spread to every corner of the Internet,So much exposure is not afraid of no customers advice!

Comments