Jump to content

не работает сайт


Recommended Posts

config/defines.inc.php

что конфигурация у меня вкладки информация-производительность-почта-импорт-бекап-менеджер sql-журналы-веб службы

что включить?

можно по русски

Share this post


Link to post
Share on other sites

<?php

/*

* 2007-2013 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:


* 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-2013 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 */

define('_PS_MODE_DEV_', false);

if (_PS_MODE_DEV_)

{

@ini_set('display_errors', 'on');

@error_reporting(E_ALL | E_STRICT);

define('_PS_DEBUG_SQL_', true);

/* Compatibility warning */

define('_PS_DISPLAY_COMPATIBILITY_WARNING_', true);

}

else

{

@ini_set('display_errors', 'off');

define('_PS_DEBUG_SQL_', false);

/* Compatibility warning */

define('_PS_DISPLAY_COMPATIBILITY_WARNING_', 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]));

}

 

/* Directories */

define('_PS_ROOT_DIR_', realpath($currentDir.'/..'));

define('_PS_CLASS_DIR_',            _PS_ROOT_DIR_.'/classes/');

define('_PS_CONTROLLER_DIR_',       _PS_ROOT_DIR_.'/controllers/');

define('_PS_FRONT_CONTROLLER_DIR_', _PS_ROOT_DIR_.'/controllers/front/');

define('_PS_ADMIN_CONTROLLER_DIR_', _PS_ROOT_DIR_.'/controllers/admin/');

define('_PS_OVERRIDE_DIR_', _PS_ROOT_DIR_.'/override/');

define('_PS_TRANSLATIONS_DIR_', _PS_ROOT_DIR_.'/translations/');

define('_PS_DOWNLOAD_DIR_',         _PS_ROOT_DIR_.'/download/');

define('_PS_MAIL_DIR_',             _PS_ROOT_DIR_.'/mails/');

define('_PS_PDF_DIR_', _PS_ROOT_DIR_.'/pdf/');

define('_PS_ALL_THEMES_DIR_',       _PS_ROOT_DIR_.'/themes/');

define('_PS_IMG_DIR_',              _PS_ROOT_DIR_.'/img/');

if (!defined('_PS_MODULE_DIR_'))

define('_PS_MODULE_DIR_',              _PS_ROOT_DIR_.'/modules/');

define('_PS_CAT_IMG_DIR_',          _PS_IMG_DIR_.'c/');

define('_PS_STORE_IMG_DIR_', _PS_IMG_DIR_.'st/');

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_MANU_IMG_DIR_',         _PS_IMG_DIR_.'m/');

define('_PS_SHIP_IMG_DIR_',         _PS_IMG_DIR_.'s/');

define('_PS_SUPP_IMG_DIR_',         _PS_IMG_DIR_.'su/');

define('_PS_COL_IMG_DIR_', _PS_IMG_DIR_.'co/');

define('_PS_TMP_IMG_DIR_',          _PS_IMG_DIR_.'tmp/');

define('_PS_UPLOAD_DIR_', _PS_ROOT_DIR_.'/upload/');

define('_PS_TOOL_DIR_', _PS_ROOT_DIR_.'/tools/');

define('_PS_GEOIP_DIR_',            _PS_TOOL_DIR_.'geoip/');

define('_PS_SWIFT_DIR_', _PS_TOOL_DIR_.'swift/');

define('_PS_GENDERS_DIR_',            _PS_IMG_DIR_.'genders/');

define('_PS_FPDF_PATH_',            _PS_TOOL_DIR_.'fpdf/'); // @deprecated will be removed in 1.6

define('_PS_TCPDF_PATH_',            _PS_TOOL_DIR_.'tcpdf/');

define('_PS_TAASC_PATH_',            _PS_TOOL_DIR_.'taasc/');

define('_PS_PEAR_XML_PARSER_PATH_', _PS_TOOL_DIR_.'pear_xml_parser/');

define('_PS_CACHE_DIR_', _PS_ROOT_DIR_.'/cache/');

/* BO THEMES */

if (defined('_PS_ADMIN_DIR_'))

define('_PS_BO_ALL_THEMES_DIR_', _PS_ADMIN_DIR_.'/themes/');

 

/* 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 states

Order states has been moved in 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_PRICE_DISPLAY_PRECISION_', 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', 2);

 

/* 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.7.2');
Edited by vender12 (see edit history)

Share this post


Link to post
Share on other sites

 

<?php
/*
* 2007-2013 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:
* 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-2013 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 */
define('_PS_MODE_DEV_', false);
if (_PS_MODE_DEV_)
{
@ini_set('display_errors', 'on');
@error_reporting(E_ALL | E_STRICT);
define('_PS_DEBUG_SQL_', true);
/* Compatibility warning */
define('_PS_DISPLAY_COMPATIBILITY_WARNING_', true);
}
else
{
@ini_set('display_errors', 'off');
define('_PS_DEBUG_SQL_', false);
/* Compatibility warning */
define('_PS_DISPLAY_COMPATIBILITY_WARNING_', 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]));
}
 
/* Directories */
define('_PS_ROOT_DIR_', realpath($currentDir.'/..'));
define('_PS_CLASS_DIR_',            _PS_ROOT_DIR_.'/classes/');
define('_PS_CONTROLLER_DIR_',       _PS_ROOT_DIR_.'/controllers/');
define('_PS_FRONT_CONTROLLER_DIR_', _PS_ROOT_DIR_.'/controllers/front/');
define('_PS_ADMIN_CONTROLLER_DIR_', _PS_ROOT_DIR_.'/controllers/admin/');
define('_PS_OVERRIDE_DIR_', _PS_ROOT_DIR_.'/override/');
define('_PS_TRANSLATIONS_DIR_', _PS_ROOT_DIR_.'/translations/');
define('_PS_DOWNLOAD_DIR_',         _PS_ROOT_DIR_.'/download/');
define('_PS_MAIL_DIR_',             _PS_ROOT_DIR_.'/mails/');
define('_PS_PDF_DIR_', _PS_ROOT_DIR_.'/pdf/');
define('_PS_ALL_THEMES_DIR_',       _PS_ROOT_DIR_.'/themes/');
define('_PS_IMG_DIR_',              _PS_ROOT_DIR_.'/img/');
if (!defined('_PS_MODULE_DIR_'))
define('_PS_MODULE_DIR_',              _PS_ROOT_DIR_.'/modules/');
define('_PS_CAT_IMG_DIR_',          _PS_IMG_DIR_.'c/');
define('_PS_STORE_IMG_DIR_', _PS_IMG_DIR_.'st/');
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_MANU_IMG_DIR_',         _PS_IMG_DIR_.'m/');
define('_PS_SHIP_IMG_DIR_',         _PS_IMG_DIR_.'s/');
define('_PS_SUPP_IMG_DIR_',         _PS_IMG_DIR_.'su/');
define('_PS_COL_IMG_DIR_', _PS_IMG_DIR_.'co/');
define('_PS_TMP_IMG_DIR_',          _PS_IMG_DIR_.'tmp/');
define('_PS_UPLOAD_DIR_', _PS_ROOT_DIR_.'/upload/');
define('_PS_TOOL_DIR_', _PS_ROOT_DIR_.'/tools/');
define('_PS_GEOIP_DIR_',            _PS_TOOL_DIR_.'geoip/');
define('_PS_SWIFT_DIR_', _PS_TOOL_DIR_.'swift/');
define('_PS_GENDERS_DIR_',            _PS_IMG_DIR_.'genders/');
define('_PS_FPDF_PATH_',            _PS_TOOL_DIR_.'fpdf/'); // @deprecated will be removed in 1.6
define('_PS_TCPDF_PATH_',            _PS_TOOL_DIR_.'tcpdf/');
define('_PS_TAASC_PATH_',            _PS_TOOL_DIR_.'taasc/');
define('_PS_PEAR_XML_PARSER_PATH_', _PS_TOOL_DIR_.'pear_xml_parser/');
define('_PS_CACHE_DIR_', _PS_ROOT_DIR_.'/cache/');
/* BO THEMES */
if (defined('_PS_ADMIN_DIR_'))
define('_PS_BO_ALL_THEMES_DIR_', _PS_ADMIN_DIR_.'/themes/');
 
/* 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 states
Order states has been moved in 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_PRICE_DISPLAY_PRECISION_', 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', 2);
 
/* 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.7.2');

 

/* Debug only */
define('_PS_MODE_DEV_', false); сделать true

Share this post


Link to post
Share on other sites

значит что то неверно...

{literal}
<!--odnoklassniki.ru-><a href="http://www.odnoklassniki.ru/" target="_blank"><img src="http://radikall.com/images/2014/01/23/zJBeP.th.png" border="0" width="88" height="31" alt="Одноклассники"/></a><!--www.odnoklassniki.ru-->
 
<!--vk.com--><a href="http://vk.com/club59182776/" target="_blank"><img src="http://radikall.com/images/2014/01/23/fDk1E.th.png" border="0" width="88" height="31" alt="Вконтакте"/></a><!--vk.com-->
 
<!-- Yandex.Metrika informer -->
target="_blank" rel="nofollow"><img src="//bs.yandex.ru/informer/23687896/3_1_FFFFFFFF_EFEFEFFF_0_pageviews"
style="width:88px; height:31px; border:0;" alt="Яндекс.Метрика" title="Яндекс.Метрика: данные за сегодня (просмотры, визиты и уникальные посетители)" onclick="try{Ya.Metrika.informer({i:this,id:23687896,lang:'ru'});return false}catch(e){}"/></a>
<!-- /Yandex.Metrika informer -->
 
<!-- Yandex.Metrika counter -->
<script type="text/javascript">
(function (d, w, c) {
    (w[c] = w[c] || []).push(function() {
        try {
            w.yaCounter23687896 = new Ya.Metrika({id:23687896,
                    webvisor:true,
                    clickmap:true,
                    trackLinks:true,
                    accurateTrackBounce:true,
                    ut:"noindex"});
        } catch(e) { }
    });
 
    var n = d.getElementsByTagName("script")[0],
        s = d.createElement("script"),
        f = function () { n.parentNode.insertBefore(s, n); };
    s.type = "text/javascript";
    s.async = true;
    s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js";
 
    if (w.opera == "[object Opera]") {
        d.addEventListener("DOMContentLoaded", f, false);
    } else { f(); }
})(document, window, "yandex_metrika_callbacks");
</script>
<noscript><div><img src="//mc.yandex.ru/watch/23687896?ut=noindex" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
 
 
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
 
  ga('create', 'UA-47315836-1', 
  ga('send', 'pageview');
 
 
 
 
 
 
 
{/literal}
 
</body>
 
 
</script>
</html>
Edited by vender12 (see edit history)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More