Skip to content
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

Transactions table doesnt exist #52

Open
justdick opened this issue Oct 7, 2022 · 1 comment
Open

Transactions table doesnt exist #52

justdick opened this issue Oct 7, 2022 · 1 comment

Comments

@justdick
Copy link

justdick commented Oct 7, 2022

i get this error when i initiate createTransactionSimple
Illuminate\Database\QueryException with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dname.cp_cp_transactions' doesn't exist. Meanwhile table prefix is only cp_ in config and .env file

@justdick
Copy link
Author

justdick commented Oct 7, 2022

i had to make a lil changes at config, env, and helpers,php
i deleted the COINPAYMENTS_DB_PREFIX from env and changes database_prefix to database_prefix' => env('COINPAYMENTS_DB_PREFIX', '')

then i again return 'cp_ instead of return cp_conf('database_prefix') in the function cp_table_prefix () at helpers.php file

so currently db prefix id cp_cp_ instead of cp_

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant