Jump to content
Sign in to follow this  
aidynchik

перенос сайта на другой хостинг

Recommended Posts

Добрый день! Слетел сайт после переноса на другой хостинг. Что делать? Ошибки

 

Warning: require_once(): open_basedir restriction in effect. File(/usr/local/pem/vhosts/123361/webspace/httpdocs/system/startup.php) is not within the allowed path(s): (/var/www/v-31759/data:.) in /var/www/v-31759/data/www/prb.kz/admin/index.php on line 19 Warning: require_once(/usr/local/pem/vhosts/123361/webspace/httpdocs/system/startup.php): failed to open stream: Operation not permitted in /var/www/v-31759/data/www/prb.kz/admin/index.php on line 19 Fatal error: require_once(): Failed opening required '/usr/local/pem/vhosts/123361/webspace/httpdocs/system/startup.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/v-31759/data/www/prb.kz/admin/index.php on line 19

 

Сайт prb.kz

Share this post


Link to post
Share on other sites

Конфиги проверяйте.

Share this post


Link to post
Share on other sites

Спасибо, конфиг подправил. теперь выходит это:

 

Warning: mysql_connect(): Access denied for user 'v_31759_prb'@'localhost' (using password: YES) in /var/www/v-31759/data/www/prb.kz/system/database/mysql.php on line 6 Notice: Error: Could not make a database link using v_31759_prb@localhost in /var/www/v-31759/data/www/prb.kz/system/database/mysql.php on line 7 Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /var/www/v-31759/data/www/prb.kz/system/database/mysql.php on line 10 Notice: Error: Could not connect to database v_31759_prb in /var/www/v-31759/data/www/prb.kz/system/database/mysql.php on line 11 Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/v-31759/data/www/prb.kz/system/database/mysql.php on line 14 Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/v-31759/data/www/prb.kz/system/database/mysql.php on line 15 Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/v-31759/data/www/prb.kz/system/database/mysql.php on line 16 Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/v-31759/data/www/prb.kz/system/database/mysql.php on line 17 Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/v-31759/data/www/prb.kz/system/database/mysql.php on line 21 Warning: mysql_error() expects parameter 1 to be resource, boolean given in /var/www/v-31759/data/www/prb.kz/system/database/mysql.php on line 49 Warning: mysql_errno() expects parameter 1 to be resource, boolean given in /var/www/v-31759/data/www/prb.kz/system/database/mysql.php on line 49 Notice: Error: 
Error No: 
SELECT * FROM setting WHERE store_id = '0' in /var/www/v-31759/data/www/prb.kz/system/database/mysql.php on line 49 Warning: mysql_close() expects parameter 1 to be resource, boolean given in /var/www/v-31759/data/www/prb.kz/system/database/mysql.php on line 67

 

хотя в конфиге прописал новую БД и доступ к ней.

 

// DB

define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'v_31759_prb');
define('DB_PASSWORD', '*********');
define('DB_DATABASE', 'v_31759_prb');
define('DB_PREFIX', '');

Share this post


Link to post
Share on other sites

Ещё раз правьте.Это не правильные исправления.

Share this post


Link to post
Share on other sites

в месте где с базой связано? потому что через phpmyadmin я к ней могу сконнектиться через эти настройки

Share this post


Link to post
Share on other sites

это ошибки оказывается были при входе в админку, если открывать сам сайт, то вот такое - Error: Could not load database file mysql!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

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.