Difference between revisions of "X-Cart:Installation"
(→Troubleshooting) |
(→Troubleshooting) |
||
Line 28: | Line 28: | ||
X-Cart '.pgp.def' folder wasn't extracted from the installation package. You should create this folder manually ('mkdir .pgp.def') and reinstall X-Cart. | X-Cart '.pgp.def' folder wasn't extracted from the installation package. You should create this folder manually ('mkdir .pgp.def') and reinstall X-Cart. | ||
+ | |||
+ | ===Error: "Warning no such file or directory: ./COPYRIGHT".=== | ||
+ | |||
+ | This or similar errors occur if some of X-Cart files are missing. They could be lost during FTP upload to the server or accidentally deleted. You should re-upload X-Cart distribution to your host and try to run installation script again. | ||
+ | If it does not help, contact our support team for assistance. | ||
+ | |||
[[Category:X-Cart user manual]][[Category:X-Cart developer guide]] | [[Category:X-Cart user manual]][[Category:X-Cart developer guide]] |
Revision as of 17:39, 11 December 2009
Contents
- 1 Step-by-step guide
- 2 Troubleshooting
- 2.1 Error: "Warning no such file or directory: ./COPYRIGHT".
- 2.2 Fatal error: Can't connect to the MySQL server" on step 2 of installation
- 2.3 Installation suddenly freezes on step 3 (importing data)
- 2.4 Installation error - Warning: opendir(/[xcart_root_dir]/.pgp.def): failed to open dir: No such file or directory in /[xcart_root_dir]/include/install.php on line 599
- 2.5 Error: "Warning no such file or directory: ./COPYRIGHT".
Step-by-step guide
Step1
Step2
Step3
Troubleshooting
Error: "Warning no such file or directory: ./COPYRIGHT".
This or similar errors occur if some of X-Cart files are missing. They could be lost during FTP upload to the server or accidentally deleted. You should re-upload X-Cart distribution to your host and try to run installation script again.
Fatal error: Can't connect to the MySQL server" on step 2 of installation
Possible causes are as follows:
a) Incorrect username/password/database name of your MySQL database. You should contact your hosting administrators and ask them to specify correct access information for MySQL database (please note, this information is case sensitive).
b) If your MySQL server and X-Cart are located on different hosts there is a possibility that connection from your host to MySQL server is disabled. You should contact your hosting administrator to ask if there are any restrictions of this kind.
Installation suddenly freezes on step 3 (importing data)
Some mis-configured MySQL servers drop connection when feeding big amount of data from PHP script (during installation X-Cart pumps several megabytes of data into the database). You may try to restart installation process from the beginning. If you still cannot succeed you can install X-Cart manually (look for details in the INSTALL file in the X-Cart distribution or in the corresponding section of X-Cart manual).
Installation error - Warning: opendir(/[xcart_root_dir]/.pgp.def): failed to open dir: No such file or directory in /[xcart_root_dir]/include/install.php on line 599
X-Cart '.pgp.def' folder wasn't extracted from the installation package. You should create this folder manually ('mkdir .pgp.def') and reinstall X-Cart.
Error: "Warning no such file or directory: ./COPYRIGHT".
This or similar errors occur if some of X-Cart files are missing. They could be lost during FTP upload to the server or accidentally deleted. You should re-upload X-Cart distribution to your host and try to run installation script again. If it does not help, contact our support team for assistance.