Bug tracker

This ticket has been moved to our new tracker. Open Ticket PHPBB3-1770 now.

Wrong file selected in selectbox for changing language (fix completed in vcs)

When changing a language file in acp, the wrong file is selected:

When you choose viewtopic.php in the selectbox, you press select, the default file (common.php) is selected.
If you are not sending it to the ftp, there is no problem.
BUT, when you send it to your ftp, the forum thinks you are editing common.php, instead of viewtopic.php, and save it as common.php, so your common.php is overwritten by viewtopic.php.

Comments / History

Posted by Acyd Burn (Server Manager) on Oct 2nd 2006, 09:20

The last time i looked if selecting viewtopic.php for example than viewtopic.php was selected - or are you saying that it *is* selected and just storing as common.php *if* ftp upload is used?

I am not understanding this sentence:
When you choose viewtopic.php in the selectbox, you press select, the default file (common.php) is selected.


This indicates that viewtopic.php is not able to be modified at all, but further down you say that it is able to be modified but stored as common.php.

Very confusing...

Posted by Paul (MOD Team Member) on Oct 2nd 2006, 14:46

sorry about the bad explain.

You can edit correctly viewtopic.php. You can also submit it, so it is saved to the store/ dir. But, when you, after submit is (So it saved to the store dir), you choose "submit and upload", he is saving it as common.php, because that one is selected (I think, don't know another reason), in the selectbox with files.

Posted by Acyd Burn (Server Manager) on Oct 3rd 2006, 12:51

So, it is not a problem with storing or selecting, but only that the back link (Back to previous page) does not include the previously selected file...

Linked ticket with changeset: r6511

Action performed by Anonymous (I am too lazy to register) on Oct 19th 2006, 13:55

Ticket details

Related SVN changesets