HI I am trying to bring my very outdated site up to date...
I am using the upgrade tool by @zipurman which I am finding very good.
I am currently trying to upgrade from 1.0.7.11 to 1.0.7.12 ... I thought I had gone through all of the conflicting files, but when I go to the site I get this error from the very start...
PHP Fatal error: Cannot declare class language, because the name is already in use in /home/.../includes/system/versioned/1.0.7.4/language.php on line 16
Any ideas as to what would be throwing up this error - I see that there is an updated langage.php file in /includes/system/versioned/1.0.7.other/1.0.7.12/ ... I thought that over-rode the file in 1.0.7.4
Thanks for any help
Upgrading help... problem with language.php file
- burt
- Core Team
- Posts: 4551
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Upgrading help... problem with language.php file
Temporarily (in case this is the wrong advice) delete the file from the includes/system/versioned/1.0.7.4/ folder. This may allow you to continue.
I have not used the upgrading tool, hence why I say temporarily delete that file. Zipurman may be along shortly to give better advice
I have not used the upgrading tool, hence why I say temporarily delete that file. Zipurman may be along shortly to give better advice
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: Upgrading help... problem with language.php file
Deleting the 1.0.7.4 version may simply give you a better error message. But as that's not nothing, it sounds worth doing.
- zipurman
- Builder
- Posts: 540
- Joined: Tue Oct 13, 2020 5:20 pm
- Phoenix Version: v
- Has thanked: 93 times
- Been thanked: 162 times
Re: Upgrading help... problem with language.php file
The updater simply copies the source zip contents over top of the old site. It also (may) delete files if that is part of the update.
The version 1.0.7.12 update should be deleting the following files, but your site may have permissions that disallowed the change:
DELETE /admin/includes/classes/language.php
DELETE /includes/modules/boxes/templates/tpl_bm_whats_new.php
If you are using the updater I wrote, you need to make sure that the webserver user has r/w access to files and folders within your site.
zipurman
-----------
-----------
- Portman
- Contributor
- Posts: 158
- Joined: Mon Mar 08, 2021 1:04 am
- Phoenix Version: v1.0.8.20
- Has thanked: 29 times
- Been thanked: 4 times
Re: Upgrading help... problem with language.php file
Thanks everyone...
Deleting out the language file helped me find the problem... I have an addon that was directly referencing the language.php file in that folder.
Deleting out the language file helped me find the problem... I have an addon that was directly referencing the language.php file in that folder.