kubao Posted March 8, 2023 Share Posted March 8, 2023 Cześć, Chcę skopiować mój istniejący sklep (Presta 1.6) i umieścić go w subdomenie jako wersję testową. Mam dostęp do panelu administracyjnego w klonie, ale zamiast sklepu wyświetla mi się biała strona. Kopiowałem sklep wg. następujących kroków: 1. Stworzyłem subdomenę, skopiowałem pliki z public_html sklepu do public_html w sub domenie 2. Eksportowałem bazę danych, stworzyłem nową bazę, zaimportowałem 3. Zmieniłem w nowej bazie PS_SHOP_DOMAIN i PS_SHOP_DOMAIN_SSL, żeby wskazywały nową subdomenę 4. Zmieniłem w pliku settings.inc.php DB_NAME, DB_USER, DB_PASSWD, tak żeby wskazywały parametry z nowej bazy. 5. Zmieniłem nazwę domeny na subdomenę dev.mojadomena.pl w pliku htaccess w głównym folderze (public_html). Próbowałem również usuwać ten plik, żeby Presta utworzyła go automatycznie po zmianie nazwy domeny sklepu w panelu (Preferencje/Ustawienia URL i SEO). Nic to nie dało. 6. Usunąłem pliki w cache/smarty/cache i ../compile. W menu Wydajność czyściłem pamięć tymczasową i zaznaczałem opcję Wymuś kompilację. Po włączeniu Debug mode mam taki błąd: Fatal error: Cannot declare class SmartyLazyRegister, because the name is already in use in /home/admin/domains/mojadomena.pl/public_html/config/smarty.config.inc.php on line 227 Zwróciłem uwagę, że błąd odnosi się do głównej domeny, a nie do subdomeny dev.mojadomena.pl, ale nie wiem dlaczego. Wyświetlają się również zamieszczone poniżej komunikaty Notice. Również one odnoszą się nadal do domeny na której jest sklep, a nie do subdomeny. Dotyczą plików defines_uri.inc.php oraz config.inc.php, więc przypuszczam, że gdzieś klon wskazuje na pliki z wersji właściwej, ale nie wiem co i gdzie to zmienić. Próbowałem szukać tych pozycji w plikach, w bazie, sprawdzać gdzie jeszcze należy zmienić domenę na subdomenę. Z tym fatal errorem nie mam pojęcia co zrobić, szukałem po forach i poradnikach, na razie bezskutecznie. Czy ktoś pomoże? 🙂 Notice: Constant _PS_DISPLAY_COMPATIBILITY_WARNING_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 32 Notice: Constant _PS_DEBUG_SQL_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 36 Notice: Constant _PS_DEBUG_PROFILING_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 42 Notice: Constant _PS_MODE_DEMO_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 43 Notice: Constant _PS_ALL_THEMES_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 73 Notice: Constant _PS_CONFIG_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 81 Notice: Constant _PS_CUSTOM_CONFIG_FILE_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 82 Notice: Constant _PS_CLASS_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 83 Notice: Constant _PS_MAIL_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 87 Notice: Constant _PS_PDF_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 94 Notice: Constant _PS_TRANSLATIONS_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 95 Notice: Constant _PS_CONTROLLER_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 99 Notice: Constant _PS_ADMIN_CONTROLLER_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 100 Notice: Constant _PS_FRONT_CONTROLLER_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 101 Notice: Constant _PS_TOOL_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 103 Notice: Constant _PS_PEAR_XML_PARSER_PATH_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 110 Notice: Constant _PS_SWIFT_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 111 Notice: Constant _PS_TAASC_PATH_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 112 Notice: Constant _PS_TCPDF_PATH_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 113 Notice: Constant _PS_CORE_IMG_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 119 Notice: Constant _PS_CAT_IMG_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 124 Notice: Constant _PS_COL_IMG_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 125 Notice: Constant _PS_EMPLOYEE_IMG_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 126 Notice: Constant _PS_GENDERS_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 127 Notice: Constant _PS_LANG_IMG_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 128 Notice: Constant _PS_MANU_IMG_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 129 Notice: Constant _PS_ORDER_STATE_IMG_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 130 Notice: Constant _PS_PROD_IMG_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 131 Notice: Constant _PS_SCENE_IMG_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 132 Notice: Constant _PS_SCENE_THUMB_IMG_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 133 Notice: Constant _PS_SHIP_IMG_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 134 Notice: Constant _PS_STORE_IMG_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 135 Notice: Constant _PS_SUPP_IMG_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 136 Notice: Constant _PS_TMP_IMG_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 137 Notice: Constant _PS_TRANS_PATTERN_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 140 Notice: Constant _PS_MIN_TIME_GENERATE_PASSWD_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 141 Notice: Constant _CAN_LOAD_FILES_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 146 Notice: Constant PS_PRODUCT_TAX already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 152 Notice: Constant PS_STATE_TAX already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 153 Notice: Constant PS_BOTH_TAX already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 154 Notice: Constant PS_TAX_EXC already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 156 Notice: Constant PS_TAX_INC already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 157 Notice: Constant PS_ORDER_PROCESS_STANDARD already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 159 Notice: Constant PS_ORDER_PROCESS_OPC already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 160 Notice: Constant PS_ROUND_UP already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 162 Notice: Constant PS_ROUND_DOWN already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 163 Notice: Constant PS_ROUND_HALF_UP already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 164 Notice: Constant PS_ROUND_HALF_DOWN already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 165 Notice: Constant PS_ROUND_HALF_EVEN already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 166 Notice: Constant PS_ROUND_HALF_ODD already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 167 Notice: Constant PS_ROUND_HALF already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 170 Notice: Constant PS_REGISTRATION_PROCESS_STANDARD already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 173 Notice: Constant PS_REGISTRATION_PROCESS_AIO already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 174 Notice: Constant PS_CARRIERS_ONLY already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 178 Notice: Constant CARRIERS_MODULE already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 179 Notice: Constant CARRIERS_MODULE_NEED_RANGE already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 180 Notice: Constant PS_CARRIERS_AND_CARRIER_MODULES_NEED_RANGE already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 181 Notice: Constant ALL_CARRIERS already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 182 Notice: Constant _PS_USE_SQL_SLAVE_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 185 Notice: Constant _PS_ADMIN_PROFILE_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 188 Notice: Constant _STOCK_MOVEMENT_ORDER_REASON_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 191 Notice: Constant _STOCK_MOVEMENT_MISSING_REASON_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 192 Notice: Constant _PS_DEFAULT_CUSTOMER_GROUP_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 198 Notice: Constant _PS_CACHEFS_DIRECTORY_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 200 Notice: Constant _PS_GEOLOCATION_NO_CATALOG_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 203 Notice: Constant _PS_GEOLOCATION_NO_ORDER_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 204 Notice: Constant MIN_PASSWD_LENGTH already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 206 Notice: Constant _PS_SMARTY_NO_COMPILE_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 208 Notice: Constant _PS_SMARTY_CHECK_COMPILE_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 209 Notice: Constant _PS_SMARTY_FORCE_COMPILE_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 210 Notice: Constant _PS_SMARTY_CONSOLE_CLOSE_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 212 Notice: Constant _PS_SMARTY_CONSOLE_OPEN_BY_URL_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 213 Notice: Constant _PS_SMARTY_CONSOLE_OPEN_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines.inc.php on line 214 Notice: Constant _PS_SSL_PORT_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/config.inc.php on line 38 Notice: Constant _THEME_NAME_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/config.inc.php on line 122 Notice: Constant __PS_BASE_URI__ already defined in /home/admin/domains/mojadomena.pl/public_html/config/config.inc.php on line 123 Notice: Constant _PS_DEFAULT_THEME_NAME_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 28 Notice: Constant _PS_THEME_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 29 Notice: Constant _THEMES_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 30 Notice: Constant _THEME_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 31 Notice: Constant _THEME_IMG_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 32 Notice: Constant _THEME_CSS_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 33 Notice: Constant _THEME_JS_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 34 Notice: Constant _PS_THEME_OVERRIDE_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 35 Notice: Constant _PS_THEME_MOBILE_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 39 Notice: Constant _THEME_MOBILE_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 40 Notice: Constant _PS_THEME_MOBILE_OVERRIDE_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 45 Notice: Constant _THEME_MOBILE_IMG_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 47 Notice: Constant _THEME_MOBILE_CSS_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 48 Notice: Constant _THEME_MOBILE_JS_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 49 Notice: Constant _PS_THEME_TOUCHPAD_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 52 Notice: Constant _THEME_TOUCHPAD_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 53 Notice: Constant _THEME_TOUCHPAD_CSS_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 54 Notice: Constant _THEME_TOUCHPAD_JS_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 55 Notice: Constant _PS_IMG_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 58 Notice: Constant _PS_ADMIN_IMG_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 59 Notice: Constant _PS_TMP_IMG_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 60 Notice: Constant _THEME_CAT_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 61 Notice: Constant _THEME_PROD_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 62 Notice: Constant _THEME_MANU_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 63 Notice: Constant _THEME_SCENE_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 64 Notice: Constant _THEME_SCENE_THUMB_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 65 Notice: Constant _THEME_SUP_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 66 Notice: Constant _THEME_SHIP_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 67 Notice: Constant _THEME_STORE_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 68 Notice: Constant _THEME_LANG_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 69 Notice: Constant _THEME_COL_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 70 Notice: Constant _THEME_GENDERS_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 71 Notice: Constant _SUPP_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 72 Notice: Constant _PS_PROD_IMG_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 73 Notice: Constant _PS_JS_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 76 Notice: Constant _PS_CSS_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 77 Notice: Constant _THEME_PROD_PIC_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 78 Notice: Constant _MAIL_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 79 Notice: Constant _MODULE_DIR_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/defines_uri.inc.php on line 80 Notice: Constant _PS_PRICE_DISPLAY_PRECISION_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/config.inc.php on line 131 Notice: Constant _PS_PRICE_COMPUTE_PRECISION_ already defined in /home/admin/domains/mojadomena.pl/public_html/config/config.inc.php on line 132 Link to comment Share on other sites More sharing options...
get3code Posted March 9, 2023 Share Posted March 9, 2023 Hej, spróbuj w pierwszej kolejności ustawić wersję PHP na 5.6 - 7.0. Link to comment Share on other sites More sharing options...
endriu107 Posted March 9, 2023 Share Posted March 9, 2023 Zapomniałeś o zmianie w tabeli ps_shop_url domeny sklepu na nową. Link to comment Share on other sites More sharing options...
kubao Posted March 9, 2023 Author Share Posted March 9, 2023 Dzięki za odpowiedzi! Niestety problem nadal jest nierozwiązany. @get3codeZmiana wersji php dla domeny nic nie daje (próbowałem tego już wcześniej - sprawdziłem teraz i też nic). @endriu107 Sprawdziłem i niestety w tabeli mam prawidłowo wpisaną sub-domenę. Dalej biało… Czy ktoś może ma jeszcze jakiś pomysł? Link to comment Share on other sites More sharing options...
get3code Posted March 10, 2023 Share Posted March 10, 2023 Spróbuj podmienić defaultowy plik defines.inc.php <?php /** * 2007-2015 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2015 PrestaShop SA * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ /* Debug only */ if (!defined('_PS_MODE_DEV_')) define('_PS_MODE_DEV_', true); /* Compatibility warning */ define('_PS_DISPLAY_COMPATIBILITY_WARNING_', false); if (_PS_MODE_DEV_ === true) { @ini_set('display_errors', 'on'); @error_reporting(E_ALL | E_STRICT); define('_PS_DEBUG_SQL_', true); } else { @ini_set('display_errors', 'off'); define('_PS_DEBUG_SQL_', false); } define('_PS_DEBUG_PROFILING_', false); define('_PS_MODE_DEMO_', false); $currentDir = dirname(__FILE__); if (!defined('PHP_VERSION_ID')) { $version = explode('.', PHP_VERSION); define('PHP_VERSION_ID', ($version[0] * 10000 + $version[1] * 100 + $version[2])); } if (!defined('_PS_VERSION_') && (getenv('_PS_VERSION_') || getenv('REDIRECT__PS_VERSION_'))) define('_PS_VERSION_', getenv('_PS_VERSION_') ? getenv('_PS_VERSION_') : getenv('REDIRECT__PS_VERSION_')); if (!defined('_PS_HOST_MODE_') && (getenv('_PS_HOST_MODE_') || getenv('REDIRECT__PS_HOST_MODE_'))) define('_PS_HOST_MODE_', getenv('_PS_HOST_MODE_') ? getenv('_PS_HOST_MODE_') : getenv('REDIRECT__PS_HOST_MODE_')); if (!defined('_PS_ROOT_DIR_') && (getenv('_PS_ROOT_DIR_') || getenv('REDIRECT__PS_ROOT_DIR_'))) define('_PS_ROOT_DIR_', getenv('_PS_ROOT_DIR_') ? getenv('_PS_ROOT_DIR_') : getenv('REDIRECT__PS_ROOT_DIR_')); /* Directories */ if (!defined('_PS_ROOT_DIR_')) define('_PS_ROOT_DIR_', realpath($currentDir.'/..')); if (!defined('_PS_CORE_DIR_')) define('_PS_CORE_DIR_', realpath($currentDir.'/..')); define('_PS_ALL_THEMES_DIR_', _PS_ROOT_DIR_.'/themes/'); /* BO THEMES */ if (defined('_PS_ADMIN_DIR_')) define('_PS_BO_ALL_THEMES_DIR_', _PS_ADMIN_DIR_.'/themes/'); define('_PS_CACHE_DIR_', _PS_ROOT_DIR_.'/cache/'); define('_PS_CONFIG_DIR_', _PS_CORE_DIR_.'/config/'); define('_PS_CLASS_DIR_', _PS_CORE_DIR_.'/classes/'); define('_PS_DOWNLOAD_DIR_', _PS_ROOT_DIR_.'/download/'); define('_PS_MAIL_DIR_', _PS_CORE_DIR_.'/mails/'); if (!defined('_PS_MODULE_DIR_')) define('_PS_MODULE_DIR_', _PS_ROOT_DIR_.'/modules/'); if (!defined('_PS_OVERRIDE_DIR_')) define('_PS_OVERRIDE_DIR_', _PS_ROOT_DIR_.'/override/'); define('_PS_PDF_DIR_', _PS_CORE_DIR_.'/pdf/'); define('_PS_TRANSLATIONS_DIR_', _PS_ROOT_DIR_.'/translations/'); define('_PS_UPLOAD_DIR_', _PS_ROOT_DIR_.'/upload/'); define('_PS_CONTROLLER_DIR_', _PS_CORE_DIR_.'/controllers/'); define('_PS_ADMIN_CONTROLLER_DIR_', _PS_CORE_DIR_.'/controllers/admin/'); define('_PS_FRONT_CONTROLLER_DIR_', _PS_CORE_DIR_.'/controllers/front/'); define('_PS_TOOL_DIR_', _PS_CORE_DIR_.'/tools/'); define('_PS_GEOIP_DIR_', _PS_TOOL_DIR_.'geoip/'); define('_PS_GEOIP_CITY_FILE_', 'GeoLiteCity.dat'); define('_PS_PEAR_XML_PARSER_PATH_', _PS_TOOL_DIR_.'pear_xml_parser/'); define('_PS_SWIFT_DIR_', _PS_TOOL_DIR_.'swift/'); define('_PS_TAASC_PATH_', _PS_TOOL_DIR_.'taasc/'); define('_PS_TCPDF_PATH_', _PS_TOOL_DIR_.'tcpdf/'); define('_PS_IMG_DIR_', _PS_ROOT_DIR_.'/img/'); if (!defined('_PS_HOST_MODE_')) define('_PS_CORE_IMG_DIR_', _PS_CORE_DIR_.'/img/'); else define('_PS_CORE_IMG_DIR_', _PS_ROOT_DIR_.'/img/'); define('_PS_CAT_IMG_DIR_', _PS_IMG_DIR_.'c/'); define('_PS_COL_IMG_DIR_', _PS_IMG_DIR_.'co/'); define('_PS_EMPLOYEE_IMG_DIR_', _PS_IMG_DIR_.'e/'); define('_PS_GENDERS_DIR_', _PS_IMG_DIR_.'genders/'); define('_PS_LANG_IMG_DIR_', _PS_IMG_DIR_.'l/'); define('_PS_MANU_IMG_DIR_', _PS_IMG_DIR_.'m/'); define('_PS_ORDER_STATE_IMG_DIR_', _PS_IMG_DIR_.'os/'); define('_PS_PROD_IMG_DIR_', _PS_IMG_DIR_.'p/'); define('_PS_SCENE_IMG_DIR_', _PS_IMG_DIR_.'scenes/'); define('_PS_SCENE_THUMB_IMG_DIR_', _PS_IMG_DIR_.'scenes/thumbs/'); define('_PS_SHIP_IMG_DIR_', _PS_IMG_DIR_.'s/'); define('_PS_STORE_IMG_DIR_', _PS_IMG_DIR_.'st/'); define('_PS_SUPP_IMG_DIR_', _PS_IMG_DIR_.'su/'); define('_PS_TMP_IMG_DIR_', _PS_IMG_DIR_.'tmp/'); /* settings php */ define('_PS_TRANS_PATTERN_', '(.*[^\\\\])'); define('_PS_MIN_TIME_GENERATE_PASSWD_', '360'); if (!defined('_PS_MAGIC_QUOTES_GPC_')) define('_PS_MAGIC_QUOTES_GPC_', get_magic_quotes_gpc()); define('_CAN_LOAD_FILES_', 1); /* Order statuses Order statuses have been moved into config.inc.php file for backward compatibility reasons */ /* Tax behavior */ define('PS_PRODUCT_TAX', 0); define('PS_STATE_TAX', 1); define('PS_BOTH_TAX', 2); define('PS_TAX_EXC', 1); define('PS_TAX_INC', 0); define('PS_ORDER_PROCESS_STANDARD', 0); define('PS_ORDER_PROCESS_OPC', 1); define('PS_ROUND_UP', 0); define('PS_ROUND_DOWN', 1); define('PS_ROUND_HALF_UP', 2); define('PS_ROUND_HALF_DOWN', 3); define('PS_ROUND_HALF_EVEN', 4); define('PS_ROUND_HALF_ODD', 5); /* Backward compatibility */ define('PS_ROUND_HALF', PS_ROUND_HALF_UP); /* Registration behavior */ define('PS_REGISTRATION_PROCESS_STANDARD', 0); define('PS_REGISTRATION_PROCESS_AIO', 1); /* Carrier::getCarriers() filter */ // these defines are DEPRECATED since 1.4.5 version define('PS_CARRIERS_ONLY', 1); define('CARRIERS_MODULE', 2); define('CARRIERS_MODULE_NEED_RANGE', 3); define('PS_CARRIERS_AND_CARRIER_MODULES_NEED_RANGE', 4); define('ALL_CARRIERS', 5); /* SQL Replication management */ define('_PS_USE_SQL_SLAVE_', 0); /* PS Technical configuration */ define('_PS_ADMIN_PROFILE_', 1); /* Stock Movement */ define('_STOCK_MOVEMENT_ORDER_REASON_', 3); define('_STOCK_MOVEMENT_MISSING_REASON_', 4); /** * @deprecated 1.5.0.1 * @see Configuration::get('PS_CUSTOMER_GROUP') */ define('_PS_DEFAULT_CUSTOMER_GROUP_', 3); define('_PS_CACHEFS_DIRECTORY_', _PS_ROOT_DIR_.'/cache/cachefs/'); /* Geolocation */ define('_PS_GEOLOCATION_NO_CATALOG_', 0); define('_PS_GEOLOCATION_NO_ORDER_', 1); define('MIN_PASSWD_LENGTH', 8); define('_PS_SMARTY_NO_COMPILE_', 0); define('_PS_SMARTY_CHECK_COMPILE_', 1); define('_PS_SMARTY_FORCE_COMPILE_', 2); define('_PS_SMARTY_CONSOLE_CLOSE_', 0); define('_PS_SMARTY_CONSOLE_OPEN_BY_URL_', 1); define('_PS_SMARTY_CONSOLE_OPEN_', 2); define('_PS_JQUERY_VERSION_', '1.11.0'); Link to comment Share on other sites More sharing options...
kubao Posted March 10, 2023 Author Share Posted March 10, 2023 Dziękuję za kolejną sugestię. Zmieniłem i niestety to nie pomogło. Ale za to już przy tej sesji udało mi się rozwiązać problem. Skopiowałem sklep jeszcze raz, tym razem według tego poradnika: https://prestashow.com/en/prestashop-blog/109/copy-dev-store-prestashop-in-10-steps Sklep nadal nie wyświetlał się, zacząłem więc wyłączać wszystkie moduły po kolei. Po wyłączeniu modułu DHL sklep się pojawił. Włączyłem te poprzednio wyłączone i nadal działa. 🙂 Pewnie po usunięciu modułu i ponownej instalacji będzie działać poprawnie. Dzięki @get3code i @endriu107 za szybki odzew i pomoc. I do zobaczenia tu na forum. 🙂 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now