-
Notifications
You must be signed in to change notification settings - Fork 310
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
Comments
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. 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?
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. |
Appreciate your reply dear.
I figured it has something to do with the PHP version of the server but
unfortunately the hosting I purchased for the new site doesn't allow me to
downgrade the PHP version. Hence, I got a new disk on the same server where
I have it all working and I had my issue resolved for the time being.
Many thanks for your kind comeback again.
Sincerely,
Wisam
…On Sun, Jun 13, 2021, 11:05 PM Mike Tallroth ***@***.***> wrote:
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.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#999 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUHE7RSAFYLZUJBI3DPONRLTSUFRFANCNFSM45QTVY5A>
.
|
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
The text was updated successfully, but these errors were encountered: