# |
Jan 8th 2020, 07:06 |
ciby48719 |
ok will check |
# |
Jan 8th 2020, 07:03 |
conehead |
don't get confused with vendor packages and php plugins. Check this: https://book.cakephp.org/3/en/installation.html mbstring, intl, simplexml, pdo plugins have to be installed. If your wamp would be setup exactly like your server, there would be no problems running your page...even without changing any files |
# |
Jan 8th 2020, 06:49 |
ciby48719 |
changed the db details in database.php page |
# |
Jan 8th 2020, 06:49 |
ciby48719 |
in my config folder no app.php page ,core.php and database.php page is available |
# |
Jan 8th 2020, 06:46 |
ciby48719 |
Make sure wamp has the required plugins installed ? what you mean in this already the live server have plugins |
# |
Jan 8th 2020, 06:41 |
conehead |
Make sure wamp has the required plugins installed |
# |
Jan 8th 2020, 06:40 |
conehead |
But you should see any error, even if app.php has not been changed |
# |
Jan 8th 2020, 06:39 |
conehead |
Templates should be in src/Template |
# |
Jan 8th 2020, 06:39 |
conehead |
config/app.php is usually everything you would need to change |
# |
Jan 8th 2020, 05:55 |
ciby48719 |
in which location the home page templates locating |
# |
Jan 8th 2020, 05:55 |
ciby48719 |
in which areas i have to change the path and variables to set up the project in local |
# |
Jan 8th 2020, 05:54 |
ciby48719 |
also added cakephp version files |
# |
Jan 8th 2020, 05:54 |
ciby48719 |
downloaded live files to local and set up in wamp |
# |
Jan 8th 2020, 05:49 |
conehead |
ciby can you add some more info? |
# |
Jan 8th 2020, 05:44 |
ciby48719 |
if anyone in this team please help me |
# |
Jan 8th 2020, 05:44 |
ciby48719 |
what can i do to resolve this issue |
# |
Jan 8th 2020, 05:43 |
ciby48719 |
while setting in local not comes to home page |
# |
Jan 8th 2020, 05:43 |
ciby48719 |
currently i am using the cakephp3.6 version |
# |
Jan 8th 2020, 05:43 |
ciby48719 |
I have some doubts regarding the cakephp setup in WAMP server |
# |
Jan 8th 2020, 05:42 |
ciby48719 |
Hello Team |
# |
Jan 8th 2020, 02:06 |
kurosugunji |
Where do you use newEntity, do you need to change to newEmptyEntity? |
# |
Jan 8th 2020, 02:03 |
dereuromark |
newEmptyEntity() as documented in migration guide etc |
# |
Jan 8th 2020, 02:01 |
kurosugunji |
NewEntity is used from model / table when accessing DB. Does anyone else know the right way? ? |
# |
Jan 8th 2020, 01:59 |
kurosugunji |
Can’t use newentity in cakephp4?? |
# |
Jan 8th 2020, 01:04 |
MrEm |
Well, it gave me a migration, so I'm happy. But I like the idea of reporting a bug. Thank you for your help |
# |
Jan 8th 2020, 01:03 |
ndm |
Looks like some kind of conflict, internally the migrations plugin tries to dispatch an old-style shell, and somehow that fails, for reasons. Might be worth reporting as a bug. |
# |
Jan 8th 2020, 00:47 |
ndm |
The new error, I remember seeing that one, it had something to do with using the wrong command alias or something... or having to explicitly specify the plugin name as a prefix, I don't remember exactly |
# |
Jan 8th 2020, 00:45 |
MrEm |
ah, OK |
# |
Jan 8th 2020, 00:45 |
ndm |
I mean stop doing `php bin/cake.php plugin load migrations`, it's not necessary as the plugin load call is already present, and you'd only readd an invalid one |
# |
Jan 8th 2020, 00:44 |
MrEm |
Exception: Shell class for "Migrations" could not be found. If you are trying to use a plugin shell, that was loaded via $this->addPlugin(), you may need to update bin/cake.php to match https://github.com/cakephp/app/tree/master/bin/cake.phpIn [/home/ubuntu/dev/vendor/cakephp/cakephp/src/Console/ShellDispatcher.php, line 332] |
# |
Jan 8th 2020, 00:44 |
MrEm |
Also, looks like we got closer - new error (after it runs the migration_snapshot: |
# |
Jan 8th 2020, 00:44 |
MrEm |
^ what do you mean? |
# |
Jan 8th 2020, 00:43 |
ndm |
Means also you don't need to try loading the plugin again via the console |
# |
Jan 8th 2020, 00:42 |
MrEm |
Hmmm... lemme try changing that |
# |
Jan 8th 2020, 00:40 |
ndm |
That should be `'Migrations'` I think uppercase `M` |
# |
Jan 8th 2020, 00:40 |
ndm |
The bug is coming from inside the house :ghost: |
# |
Jan 8th 2020, 00:39 |
MrEm |
https://pastebin.com/Di2A6CDU |
# |
Jan 8th 2020, 00:38 |
MrEm |
https://pastebin.com/PiBLyGyn |
# |
Jan 8th 2020, 00:38 |
savant |
Can you pastebin your Application.php? |
# |
Jan 8th 2020, 00:37 |
ndm |
check the logs |
# |
Jan 8th 2020, 00:37 |
MrEm |
There is no stacktrace - only exactly what I pasted |