Hello,
I am moving from one server to another, and most of my applications have worked just fine. However, Opencart is giving me fits.
The new server is by IONOS and is on Ubuntu 22.04.4 LTS. I have tested this on these php versions available on my server.
PHP version 8.2.16, run PHP as FastCGI application served by Apache
PHP version 8.2.16, run PHP as FPM application served by Apache
PHP version 8.1.27, PHP same options
PHP version 8.0.3, PHP same options &
PHP version 7.4.33, PHP same options
I have tried clean installs and migration/upgrades with the same error.
I have tried installing 3.0.3.8, 3.0.3.9, and the newest version through both git and uploading the files, and either way, I get this error.
Fatal error: Cannot declare class Event, because the name is already in use in /var/www/vhosts/olt.net/httpdocs/ec/system/engine/event.php on line 17
I checked my server logs, and there the error shows this:
mod_fcgid: stderr: PHP Fatal error: Cannot declare class Event, because the name is already in use in /var/www/vhosts/olt.net/httpdocs/ec/system/engine/event.php on line 17 Apache error
Any help would be appreciated.
Sandra King
I am moving from one server to another, and most of my applications have worked just fine. However, Opencart is giving me fits.
The new server is by IONOS and is on Ubuntu 22.04.4 LTS. I have tested this on these php versions available on my server.
PHP version 8.2.16, run PHP as FastCGI application served by Apache
PHP version 8.2.16, run PHP as FPM application served by Apache
PHP version 8.1.27, PHP same options
PHP version 8.0.3, PHP same options &
PHP version 7.4.33, PHP same options
I have tried clean installs and migration/upgrades with the same error.
I have tried installing 3.0.3.8, 3.0.3.9, and the newest version through both git and uploading the files, and either way, I get this error.
Fatal error: Cannot declare class Event, because the name is already in use in /var/www/vhosts/olt.net/httpdocs/ec/system/engine/event.php on line 17
I checked my server logs, and there the error shows this:
mod_fcgid: stderr: PHP Fatal error: Cannot declare class Event, because the name is already in use in /var/www/vhosts/olt.net/httpdocs/ec/system/engine/event.php on line 17 Apache error
Any help would be appreciated.
Sandra King
See with OC v3.2 if you're able to reproduce this error message while using the upgrade.sandraolt wrote: ↑Fri Feb 23, 2024 6:33 amHello,
I am moving from one server to another, and most of my applications have worked just fine. However, Opencart is giving me fits.
The new server is by IONOS and is on Ubuntu 22.04.4 LTS. I have tested this on these php versions available on my server.
PHP version 8.2.16, run PHP as FastCGI application served by Apache
PHP version 8.2.16, run PHP as FPM application served by Apache
PHP version 8.1.27, PHP same options
PHP version 8.0.3, PHP same options &
PHP version 7.4.33, PHP same options
I have tried clean installs and migration/upgrades with the same error.
I have tried installing 3.0.3.8, 3.0.3.9, and the newest version through both git and uploading the files, and either way, I get this error.
Fatal error: Cannot declare class Event, because the name is already in use in /var/www/vhosts/olt.net/httpdocs/ec/system/engine/event.php on line 17
I checked my server logs, and there the error shows this:
mod_fcgid: stderr: PHP Fatal error: Cannot declare class Event, because the name is already in use in /var/www/vhosts/olt.net/httpdocs/ec/system/engine/event.php on line 17 Apache error
Any help would be appreciated.
Sandra King
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Hello,See with OC v3.2 if you're able to reproduce this error message while using the upgrade.
I am looking at https://www.opencart.com/index.php?rout ... ad/history and I don't see that version?
How are you installing, by uploading the files and going to install or using a third party installer?
Hello,How are you installing, by uploading the files and going to install or using a third party installer?
I am most familiar and comfortable downloading the file from opencart, uploading it to my server and expanding it, then moving files from upload to the intended folder (one level above) and running the install. I have also used the git installer a couple of times, but I am not truly comfortable in git.
Sandra
If you talk about this https://github.com/opencart/opencart/tree/3.0.x.x
Work just fine on an Ionos server.
Work just fine on an Ionos server.
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Check your PHP extensions to see if you have an event extension. phpinfo() may tell you.
It's on the Github repository: https://www.github.com/opencart/opencart-3sandraolt wrote: ↑Fri Feb 23, 2024 9:39 amHello,See with OC v3.2 if you're able to reproduce this error message while using the upgrade.
I am looking at https://www.opencart.com/index.php?rout ... ad/history and I don't see that version?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 5 guests