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

Backups #82

Open
b23prodtm opened this issue Dec 22, 2023 · 0 comments
Open

Backups #82

b23prodtm opened this issue Dec 22, 2023 · 0 comments

Comments

@b23prodtm
Copy link
Owner

Error: Table achats for model Achat was not found in datasource default.
#0 /var/www/localhost/htdocs/lib/Cake/Model/Model.php(3686): Model->setSource()
#1 /var/www/localhost/htdocs/app/Plugin/Backups/Console/Command/BackupShell.php(74): Model->getDataSource()
#2 /var/www/localhost/htdocs/lib/Cake/Console/Shell.php(462): BackupShell->main()
#3 /var/www/localhost/htdocs/lib/Cake/Console/ShellDispatcher.php(222): Shell->runCommand()
#4 /var/www/localhost/htdocs/lib/Cake/Console/ShellDispatcher.php(66): ShellDispatcher->dispatch()
#5 /var/www/localhost/htdocs/app/Console/cake.php(46): ShellDispatcher::run()
#6 {main}
bash-5.1# cake Backups.backup

Welcome to CakePHP v2.10.20 Console
---------------------------------------------------------------
App : app
Path: /var/www/localhost/htdocs/app/
---------------------------------------------------------------
Backing up...

Model "Achat" (0)
Model "Article" (0)
Error: Call to undefined method CakeSession::getDataSource()
#0 /var/www/localhost/htdocs/lib/Cake/Console/Shell.php(462): BackupShell->main()
#1 /var/www/localhost/htdocs/lib/Cake/Console/ShellDispatcher.php(222): Shell->runCommand()
#2 /var/www/localhost/htdocs/lib/Cake/Console/ShellDispatcher.php(66): ShellDispatcher->dispatch()
#3 /var/www/localhost/htdocs/app/Console/cake.php(46): ShellDispatcher::run()
#4 {main}
bash-5.1# 
```
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