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

myaac_movie #130

Closed
QuebradaZN opened this issue Jun 3, 2020 · 11 comments
Closed

myaac_movie #130

QuebradaZN opened this issue Jun 3, 2020 · 11 comments

Comments

@QuebradaZN
Copy link

Can I get the complete database?

https://prnt.sc/staj7r

@slawkens
Copy link
Owner

slawkens commented Jun 3, 2020

Which version of MyAAC are you trying to install?

@QuebradaZN
Copy link
Author

I think the most recent, I pulled this one from Git

@slawkens
Copy link
Owner

slawkens commented Jun 3, 2020

You can see version in Admin Panel

image

@slawkens
Copy link
Owner

slawkens commented Jun 3, 2020

BTW. There is something wrong with your database, because migrations/2.php shouldn't be executed on newest versions. Is that an old database?

@QuebradaZN
Copy link
Author

Newer version installed, no installation errors, only when running the site
https://prnt.sc/stb7kf
https://prnt.sc/stb7g7
https://prnt.sc/stb6zz

@slawkens
Copy link
Owner

slawkens commented Jun 3, 2020

did you import the myaac database schema.sql manually to your database?

@QuebradaZN
Copy link
Author

I did it 2 ways, imported it manually and did the installation / install

@QuebradaZN
Copy link
Author

SQLSTATE[42000]: Syntax error or access violation: 1101 BLOB, TEXT, GEOMETRY or JSON column 'body' can't have a default value

Backtrace:

#0 /var/www/html/system/libs/pot/OTS_Base_DB.php(85): PDO->query('ALTER TABLE my...') #1 /var/www/html/system/migrations/2.php(5): OTS_Base_DB->query('ALTER TABLE my...')
#2 /var/www/html/system/migrate.php(10): require('/var/www/html/s...')
#3 /var/www/html/index.php(189): require('/var/www/html/s...')
#4 {main}

@slawkens
Copy link
Owner

slawkens commented Jun 4, 2020

If you imported manually, then you need to execute this in your phpmyadmin:

UPDATE `myaac_config` SET value = 30 WHERE name = "database_version";

After that, the migrations won'e be executed at all, because they shouldn't.

@QuebradaZN
Copy link
Author

Solved... Perfect! <3

@slawkens
Copy link
Owner

slawkens commented Jun 5, 2020

Sorry, my query was wrong.

That's the correct one:

UPDATE `myaac_config` SET value = 30 WHERE name = "database_version";

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

2 participants