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

Croogo is not working after a complete migrate to a newer server! #999

Open
wisam1983 opened this issue May 26, 2021 · 2 comments
Open

Croogo is not working after a complete migrate to a newer server! #999

wisam1983 opened this issue May 26, 2021 · 2 comments

Comments

@wisam1983
Copy link

I migrated my current online website to another server for offline editing. All files on the new server as the same as the old but the below error message shows!
Croogo and CakePHP are there as I need them to. What can I do to resolve this issue please?

*note: new server PHP version is 7.4 - Working site on previous server uses version 7.0

CroogoTheme_Error

@miketallroth
Copy link
Member

Based on the files where these errors are occurring, it looks like you are using a Croogo 2.x version. Depending on the exact version, it may use a version of CakePHP which does not officially support PHP 7. For example, Croogo 2.2.4 calls out Cake 2.9, whereas Croogo 2.2.3 calls out Cake 2.5.
https://packagist.org/packages/croogo/app
This difference itself crosses the line where PHP7 is / is not supported.
https://book.cakephp.org/2/en/installation.html
Can you provide your exact Croogo version?

Taking a different tack, the fact that it refers to a missing class, autoload comes into question. Have you tried re-creating your autoload files on the new server?

composer dump-autoload -o

On a related note, the Object class was removed in Cake3, so if you're trying to upgrade Cake underneath Croogo, that's going to pose a problem. You'll need to make the required upgrade in Croogo to match.

Can you provide any other information about what you're trying to do? I've been abysmally unsuccessful migrating websites built on any framework by doing a simple copy from old to new, so I wouldn't expect this to work any better. It always requires a ton of configuration to go with it.

@wisam1983
Copy link
Author

wisam1983 commented Jun 13, 2021 via email

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