P
P
prolige2021-04-26 13:23:31
Joomla
prolige, 2021-04-26 13:23:31

Error when transferring joomla to open server, what should I do?

Hello everyone,
1. Transferred joomla files from hosting to your PC.
2. Installed open server, configured php and mysql version, as on hosting.
3.Imported the database, registered the connection to the database in configuration.php.
4.Does not load the main page, error 500.
If you register a connection to the hosting database in configuration.php, then everything works ... what should I do?
This is the hosting database:
6086942ab936d493424441.png
This is the open server database:
60869497425a8297378651.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey delphinpro, 2021-04-26
@delphinpro

Common mistakes:
username is copied from the vendor, but such user is not created locally.
connect via root without a password.
Correct option:
Use mysql user with mysql password to connect

E
exmmth, 2021-04-26
@exmmth

To transfer a site to joomla, there is a rule to use akeeba backup.
As a result, you get a step-by-step interface for installing joomla in a new location.
If you solve the problem you have already created, then replace the .htaccess file with the default file, it lies in the root of the site as the htaccess.txt file, check the path to the $tmp_path and $log_path folder in configuration.php, check $live_site=''; -should look like this.
Make sure the connection to the database is configured correctly

public $host = 'localhost';  //на опенсервере хост по умолчанию
public $db = 'имя_базы';
public $dbprefix = 'префикс_';
...
public $user = 'имя_пользователя_базы';
...
public $password = 'пароль';

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question