karczewk Posted January 23, 2014 Posted January 23, 2014 Hi, I have to change my file administracja/includes/configure.php after migration from root (/), to sub folder (/sklep). I have blank page on my login box right now, with these errors: "Warning: require(/home/arturz/public_html/includes/osc_sec.php) [function.require]: failed to open stream: No such file or directory in /home/arturz/public_html/sklep/administracja/includes/application_top.php on line37 Fatal error: require() [function.require]: Failed opening required '/home/arturz/public_html/includes/osc_sec.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/arturz/public_html/sklep/administracja') in/home/arturz/public_html/sklep/administracja/includes/application_top.php on line 37" How I have to change my paths in configuration file ? My website work correct, but with admin I have a problem. define('HTTP_SERVER', 'http://www.domain.pl'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.domain.pl'); define('HTTPS_CATALOG_SERVER', 'https://www.domain.pl'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/arturz/public_html/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/administracja/'); // absolute path required define('DIR_FS_ADMIN', '/home/arturz/public_html/administracja/'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', '/home/arturz/public_html/'); // absolute path required define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', '../images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
karczewk Posted January 24, 2014 Author Posted January 24, 2014 thanks i found what was the problem :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.