sunshop:preparing-for-upload
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
sunshop:preparing-for-upload [2022/09/05 17:45] – twtchris | sunshop:preparing-for-upload [2024/02/25 16:08] (current) – twt-chris | ||
---|---|---|---|
Line 7: | Line 7: | ||
Because SunShop uses encryption on a few key files, Ioncube loaders are currently required for SunShop to be installed properly. Most hosting companies do support Ioncube loaders or a way to easily add them as needed. If you wish to install SunShop on your own server, you can download the Ioncube loaders FREE from their website. See: [[https:// | Because SunShop uses encryption on a few key files, Ioncube loaders are currently required for SunShop to be installed properly. Most hosting companies do support Ioncube loaders or a way to easily add them as needed. If you wish to install SunShop on your own server, you can download the Ioncube loaders FREE from their website. See: [[https:// | ||
- | The distribution you will require will be dependent on the PHP version your server is running. Currently there is a different distribution for PHP 5.6 and 7.0, PHP 7.1 to 7.4, and PHP 8.1. | + | The distribution you will require will be dependent on the PHP version your server is running. Currently there is a different distribution for PHP 7.4 and PHP 8.1. |
**2. Download SunShop:** | **2. Download SunShop:** | ||
Line 21: | Line 21: | ||
Before transferring the files to your server, you will need to make changes to the " | Before transferring the files to your server, you will need to make changes to the " | ||
- | __Step | + | __Step |
- | __Step | + | __Step |
- | __Step | + | __Step |
The contents of the file should look similar to the following: | The contents of the file should look similar to the following: | ||
Line 32: | Line 32: | ||
<?PHP | <?PHP | ||
/* | /* | ||
- | include/ | + | include/ |
| | ||
SunShop Shopping Cart | SunShop Shopping Cart | ||
http:// | http:// | ||
| | ||
- | Copyright (c) 2001-2022 Turnkey Web Tools, Inc. | + | Copyright (c) 2001-2024 Turnkey Web Tools, Inc. |
*/ | */ | ||
Line 43: | Line 43: | ||
$license_key = ""; | $license_key = ""; | ||
- | // MySQL Extension (' | + | // MySQL Extension (' |
$dbtype = " | $dbtype = " | ||
Line 83: | Line 83: | ||
</ | </ | ||
- | __Step | + | __Step |
* **$license_key** - The value for your license key can be retrieved TWT account area at [[https:// | * **$license_key** - The value for your license key can be retrieved TWT account area at [[https:// | ||
Line 93: | Line 93: | ||
* **$dbprefix** - By default this is commented out and not used. You will note the "//" | * **$dbprefix** - By default this is commented out and not used. You will note the "//" | ||
* **$sql_debug** - Setting this value to 1 will display additional information on screen when MySQL errors occur. It is not recommended that this value be changed from 0 unless debugging is needed as it poses a security risk. | * **$sql_debug** - Setting this value to 1 will display additional information on screen when MySQL errors occur. It is not recommended that this value be changed from 0 unless debugging is needed as it poses a security risk. | ||
+ | * **$time_zone** - Set the time zone for your business. A list of acceptable time zones can be found at: [[http:// | ||
* **ADMIN_DIR** - If you wish to change the name of the admin directory to help boost security, you should change the directory name as well as this value to ensure the cart continues to function. | * **ADMIN_DIR** - If you wish to change the name of the admin directory to help boost security, you should change the directory name as well as this value to ensure the cart continues to function. | ||
+ | * **PHP_ERRORS** - This setting will toggle the display of PHP errors as they occur. It is recommend | ||
+ | * **BLOCK_STORE_CC** - This setting will toggle the ability to block the storing of credit card numbers within the database. If you are using a payment processor, you can set this to ' | ||
+ | * **BLOCK_TEMPLATE_PHP** - This settings will block the ability to alter template files that contain PHP from within the admin area. It is recommended that you toggle this only as you need to make changes to template files. After the changes are made, you should consider setting the value to ' | ||
+ | |||
+ | Once you successfully change the values, save the file and continue to the next step. | ||
+ | |||
+ | **5. Upload SunShop** | ||
+ | |||
+ | **Continue to [[sunshop: | ||
sunshop/preparing-for-upload.1662425133.txt.gz · Last modified: 2022/09/05 17:45 by twtchris