Create/manage album returns ErrorException #51

Закрыто
открыта 2018-07-28 09:43:36 +01:00 aheathershaw · комментариев: 6
aheathershaw прокомментировал(а) 2018-07-28 09:43:36 +01:00
Владелец

LNT00:

Trying to get property of non-object (View: /home/user/photo/resources/views/themes/base/partials/permission_checkbox.blade.php)
in 12d68dc4b1f6d47f521ea5b4576f3520c15bfc04.php (line 2)
at CompilerEngine->handleViewException(object(ErrorException), 1)
in PhpEngine.php (line 44)

at PhpEngine->evaluatePath
in CompilerEngine.php (line 59)

at CompilerEngine->get(...show_album.blade.php)
in View.php (line 137)

This happens after creating an album. Album is created, although the error is triggered.
Same issue when trying to Manage an album.

[LNT00](https://github.com/LNT00): Trying to get property of non-object (View: /home/user/photo/resources/views/themes/base/partials/permission_checkbox.blade.php) in 12d68dc4b1f6d47f521ea5b4576f3520c15bfc04.php (line 2) at CompilerEngine->handleViewException(object(ErrorException), 1) in PhpEngine.php (line 44) at PhpEngine->evaluatePath in CompilerEngine.php (line 59) at CompilerEngine->get(...show_album.blade.php) in View.php (line 137) This happens after creating an album. Album is created, although the error is triggered. Same issue when trying to Manage an album.
aheathershaw добавил(а) к этапу Version 2.1.0 2018-07-28 09:43:36 +01:00
aheathershaw назначил(а) на себя 2018-07-28 09:43:36 +01:00
aheathershaw добавил(а) метку
bug
2018-07-28 09:43:36 +01:00
aheathershaw прокомментировал(а) 2018-07-28 09:43:51 +01:00
Автор
Владелец

Does your MySQL table permissions have any records in it?

Does your MySQL table `permissions` have any records in it?
aheathershaw прокомментировал(а) 2018-07-28 09:44:15 +01:00
Автор
Владелец

LNT00:

No, it's empty. And it seems i cannot edit it from phpMyAdmin.
The db user i created during install has all privileges. (i created it from cpanel using MySQL Databases)

[LNT00](https://github.com/LNT00): No, it's empty. And it seems i cannot edit it from phpMyAdmin. The db user i created during install has all privileges. (i created it from cpanel using MySQL Databases)
aheathershaw прокомментировал(а) 2018-07-28 09:44:53 +01:00
Автор
Владелец

Ah think I've found the problem - seems like the database isn't "seeded" on a clean install, but it is during an upgrade.

Can you change the version number in the configuration table to 2.1.0-beta.2, then go back into Blue Twilight. The version number should change back to 2.1.0-beta.3 automatically and you should find your permissions table is then populated.

Ah think I've found the problem - seems like the database isn't "seeded" on a clean install, but it is during an upgrade. Can you change the version number in the `configuration` table to 2.1.0-beta.2, then go back into Blue Twilight. The version number should change back to 2.1.0-beta.3 automatically and you should find your `permissions` table is then populated.
aheathershaw прокомментировал(а) 2018-07-28 09:45:22 +01:00
Автор
Владелец

LNT00:

yes, it fixed the issue.

[LNT00](https://github.com/LNT00): yes, it fixed the issue.
aheathershaw прокомментировал(а) 2018-07-28 09:45:34 +01:00
Автор
Владелец

This has been fixed in the upcoming 2.1.0-beta.4.

This has been fixed in the upcoming 2.1.0-beta.4.
aheathershaw прокомментировал(а) 2018-07-28 09:45:58 +01:00
Автор
Владелец
Migrated from https://github.com/andysh-uk/blue-twilight/issues/51
aheathershaw закрыл(а) эту задачу 2018-07-28 09:46:00 +01:00
Войдите, чтобы присоединиться к обсуждению.
Нет меток
bug
enhancement
feature
invalid
task
wip
Нет этапа
Нет назначенных лиц
1 участников
Уведомления
Срок выполнения
Срок действия недействителен или находится за пределами допустимого диапазона. Пожалуйста, используйте формат 'гггг-мм-дд'.

Срок выполнения не установлен.

Зависимости

Зависимостей нет.

Ссылка: aheathershaw/blue-twilight#51
Описание отсутствует.