-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DB connection error when opening admin/translation-manager page #26
Comments
Based on the information provided, it appears you're encountering a database connection error when trying to access the translation manager page in Backpack. Let's analyze the issue:
Here are some potential solutions to try:
If none of these solutions work, you may want to check the Backpack Translation Manager GitHub issues to see if there are any known issues or additional troubleshooting steps for your specific setup. If the problem persists, you might need to provide more detailed information about your database setup and any custom configurations you've made to get more specific help. ℹ️ Please note our AI Bot does not reply to follow-ups, this will be the only AI answer in this thread. If the AI helped you find the answer, please mark it as answered or write details below so it can learn. Then close the conversation. If not, please give more information for when a human reads this. ℹ️ Relevant sources: Github Issue (closed): [Bug] Method Illuminate\Database\PostgresConnection::getDoctrineColumn does not exist |
|
Bug report
What I did
I followed the installation on https://github.com/Laravel-Backpack/translation-manager
composer require backpack/translation-manager
php artisan vendor:publish --provider="Spatie\TranslationLoader\TranslationServiceProvider" --tag="migrations"
php artisan migrate
php artisan backpack:add-menu-content "<x-backpack::menu-item title="Translation Manager" icon="la la-stream" :link="backpack_url('translation-manager')" />"
php artisan vendor:publish --provider="Spatie\TranslationLoader\TranslationServiceProvider" --tag="config"
php artisan vendor:publish --provider="Backpack\TranslationManager\AddonServiceProvider" --tag="config"
What I expected to happen
I want to see the /admin/translation-manager page from the admin panel
What happened
When I accessed /admin/translation-manager page, I got
could not find driver (Connection: , SQL: create table "language_lines" ("id" varchar, "id_database" integer, "database" tinyint(1), "group" varchar, "key" varchar, "text" varchar, "created_at" date, "search" varchar))
What I've already tried to fix it
I can see /admin/user page, so I think the database connection works well.
Context to replicate the bug - Backpack, Laravel, PHP, DB version
When I run
php artisan backpack:version
the output is:PHP VERSION:
8.3.8
PHP EXTENSIONS:
Core, bcmath, calendar, ctype, date, filter, hash, iconv, json, SPL, pcre, random, readline, Reflection, session, standard, mysqlnd, tokenizer, zlib, libxml, dom, PDO, openssl, SimpleXML, xml, xmlreader, xmlwriter, Phar, curl, oci8, fileinfo, zip, mysqli, pdo_mysql, gd, mbstring
LARAVEL VERSION:
11.28.1.0
BACKPACK PACKAGE VERSIONS:
backpack/basset: 1.3.6
backpack/crud: 6.7.42
backpack/generators: v4.0.7
backpack/language-switcher: 2.0.0
backpack/theme-tabler: 1.2.15
backpack/translation-manager: 1.0.4
The text was updated successfully, but these errors were encountered: