This topic describes common issues, causes, and solutions for installing ShopNC on web hosting.
Problems
-
Issue 1: During the installation environment check step of the ShopNC installation, the system fails to detect disk information (the disk space status shows Unknown). This prevents you from proceeding to the next step. In the ShopNC installation wizard, the environment check table for the installation environment check shows that the operating system, PHP version, GD library, and attachment upload all pass. However, the disk space item shows Unknown and fails the check.
-
Issue 2: During the database creation step, in the database information section, you cannot enter the full database address.
Causes
-
Cause 1: Issue 1 occurs because ShopNC must check the available web space, but web hosting disables the required function. This prevents the system from detecting disk information.
-
Cause 2: Issue 2 occurs because the database address provided by your web hosting exceeds the default length limit in ShopNC.
Solutions
Choose a solution based on the issue and its cause:
-
Solution 1: If the disk detection fails due to Cause 1, you can skip the verification step. In your browser's address bar, change the
step=1parameter in the URL tostep=2and press Enter. For example:-
URL (before):
http://q****.my3w.com/shopnc/shop/install/index.php?step=1 -
URL (after):
http://q****.my3w.com/shopnc/shop/install/index.php?step=2
-
-
Solution 2: If you cannot enter the full database address due to Cause 2, you can either convert the database connection address to an IP address or increase the default character limit for the database address in ShopNC.
To modify the default character limit for the database address in ShopNC, follow these steps:
-
Use an FTP client to connect to your web hosting.
For details, see Use FileZilla to manage files.
-
Find the
step_3.phpfile in the ShopNC installation directory and open it for editing. -
In the
step_3.phpfile, search for the keywordlocalhost. Findmaxlength="20"on the same line. -
Change the
maxlengthvalue to a number large enough for your database address (for example,maxlength="30"), and then save the file. -
Refresh the installation page and verify that you can enter the complete database address.
-