Broken Joomla 4 Templates / Yootheme

Broken Joomla 4 Templates / Yootheme

The new Yootheme templates are currently not working, because the quickstart.php has errors.

Firstly, the path for the log and tempo folder is set incorrectly.
  1.  '/home/ahdevpax1/public_html/quickstart-prepare/administrator/logs'.
Second, quickstart.php is looking for the wrong field in the database.
  1. $db->setQuery('SELECT * FROM #__users WHERE name = ' . $db->quote('admin'));

The first problem prevents the installation of extensions and the activation of the cache.
The second problem leads to the fact that the access data entered during the Quickstart are not taken over into the database.

The following adjustments must be made so that everything works after the installation.

1. adjustment for the user data.
Exchange of the following line.

 quickstart.php line 989:
  1. $db->setQuery('SELECT * FROM #__users WHERE name = ' . $db->quote('admin'));

against this

quickstart.php line 989:
  1. $db->setQuery('SELECT * FROM #__users WHERE username = ' . $db->quote('admin'));

There are two possibilities for the paths.
1. add paths in the backend.
2. adjust paths in configuration.quickstart.php and quickstart.php.

to 2.

configuration.quickstart.php:55
  1. public $log_path = '[DJQUICKSTART_LOGPATH]/administrator/logs';
configuration.quickstart.php:108
  1. public $log_path = '[DJQUICKSTART_LOGPATH]/tmp';

  1. quickstart.php:898
  2. $searches = array(
  3. '[DJQUICKSTART_LOGPATH]',
  4. '[DJQUICKSTART_DB]',
  5. '[DJQUICKSTART_HOST]',
  6. '[DJQUICKSTART_PASSWORD]',
  7. '[DJQUICKSTART_USER]'
  8. );
  9. $replacements = array(
  10. __DIR__,
  11. trim($_POST['db']['database']),
  12. trim($_POST['db']['host']),
  13. trim($_POST['db']['password']),
  14. trim($_POST['db']['user'])
  15. );