Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Sign Up

Проблема с заливкой на Unix хост [Решено]


Recommended Posts

В общем разработал я свой первый сайт сайт на localhost, все работало нормально. А вот как залил на хост ...

http://virtmag.com/ ... я так понял что не правильно отредактировал конфиги:

- корневой config.php

<?php
// DIR
define('DIR_APPLICATION', '/home/XXXXX/virtmag.com/www/catalog/');
define('DIR_SYSTEM', '/home/XXXXX/virtmag.com/www/system/');
define('DIR_DATABASE', '/home/XXXXX/virtmag.com/www/system/database/');
define('DIR_LANGUAGE', '/home/XXXXX/virtmag.com/www/catalog/language/');
define('DIR_TEMPLATE', '/home/XXXXX/virtmag.com/www/catalog/view/theme/');
define('DIR_CONFIG', '/home/XXXXX/virtmag.com/www/system/config/');
define('DIR_IMAGE', '/home/XXXXX/virtmag.com/www/image/');
define('DIR_CACHE', '/home/XXXXX/virtmag.com/www/system/cache/');
define('DIR_DOWNLOAD', '/home/XXXXX/virtmag.com/www/download/');
define('DIR_LOGS', '/home/XXXXX/virtmag.com/www/system/logs/');

// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'XXXXXX.mysql.ukraine.com.ua');
define('DB_USERNAME', 'XXXXXX_db');
define('DB_PASSWORD', 'XXXXXX');
define('DB_DATABASE', 'XXXXXX_db');
define('DB_PREFIX', '');
?>
админовский config.php

<?php
// HTTP
define('HTTP_SERVER', 'http://virtmag.com/www/admin/');
define('HTTP_CATALOG', 'http://virtmag.com/www/');
define('HTTP_IMAGE', 'http://virtmag.com/www/image/');

// HTTPS
define('HTTPS_SERVER', 'http://virtmag.com/www/admin/');
define('HTTPS_IMAGE', 'http://virtmag.com/www/image/');

// DIR
define('DIR_APPLICATION', '/home/XXXXXX/virtmag.com/www/admin/');
define('DIR_SYSTEM', '/home/XXXXXX/virtmag.com/www/system/');
define('DIR_DATABASE', '/home/XXXXXX/virtmag.com/www/system/database/');
define('DIR_LANGUAGE', '/home/XXXXXX/virtmag.com/www/admin/language/');
define('DIR_TEMPLATE', '/home/XXXXXX/virtmag.com/www/admin/view/template/');
define('DIR_CONFIG', '/home/XXXXXX/virtmag.com/www/system/config/');
define('DIR_IMAGE', '/home/XXXXXX/virtmag.com/www/image/');
define('DIR_CACHE', '/home/XXXXXX/virtmag.com/www/system/cache/');
define('DIR_DOWNLOAD', '/home/XXXXXX/virtmag.com/www/download/');
define('DIR_LOGS', '/home/XXXXXX/virtmag.com/www/system/logs/');
define('DIR_CATALOG', '/home/XXXXXX/virtmag.com/www/catalog/');

// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'XXXXXX.mysql.ukraine.com.ua');
define('DB_USERNAME', 'XXXXXX_db');
define('DB_PASSWORD', 'XXXXXX');
define('DB_DATABASE', 'XXXXXX_db');
define('DB_PREFIX', '');
?>
При попытке входа в админку выдает:

Not Found

The requested URL /www/admin/index.php was not found on this server.

Что нужно поменять?
Link to post
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.