Version information: 4.3.2, latest stable version: 4.3.2
A newer version of phpMyAdmin is available and you should consider upgrading. The newest version is 4.3.2, released on 2014-12-12.
This issue does also occur in previous versions which having a version check. I experience it often because I leave my tabs open for a long time and updating PMA files frequently. After updating it doesn't recognize newest version directly.
My workaround is to force-reload PMA (Ctrl+F5).
Version check on index.php is in PHP-code (which is always correct), JSON version check uses variable pmaversion from messages.js which is not updated until window refresh. Fix for this issue is to add attribute to #li_pma_version element and reading version from there.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Side note: after update you have to reload window because current script removes span-blocks. But it will occur just once. That's why I suggested the attribute way, but after code review (PMA_printListItem is not capable to add extra data attributes) it's better this way.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Still broken:
Version information: 4.3.4, latest stable version: 4.3.4
A newer version of phpMyAdmin is available and you should consider upgrading. The newest version is 4.3.4, released on 2014-12-29.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Clearing the cache is required only once if you are upgrading from a pre 4.3.3 version to 4.3.3 or later. From there onwards no cache clearing should be required when upgrading for version check to work. So, in my view this is fixed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You probably meant 4.3.5 -> 4.3.6. AFAIK we haven't released 4.3.7 yet.
I did 4.3.5 -> 4.3.6 and it seems to work. However, I tested using GIT and by checking out the respective versions.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
See screenshot. Both the warning at the bottom and the version display at the right seem to think there's an update, even though at the right you can see current == latest.
The only way to resolve this error is to determine the input values for comparison '(latest > current)' in PMA_current_version. Perhaps there is an error in method parseVersionString - or it receives invalid information. My way to investigate this is to add the following - file js/functions.js:
Did you get pMA from Git please? Which branch or tag did you get?
Do you always have this message please?
Thanks.
No, I used the .bz2 download.
Do you always have this message please or only once or sometimes?
If sometimes, did you find something to reproduce this?
This issue does also occur in previous versions which having a version check. I experience it often because I leave my tabs open for a long time and updating PMA files frequently. After updating it doesn't recognize newest version directly.
My workaround is to force-reload PMA (Ctrl+F5).
Version check on index.php is in PHP-code (which is always correct), JSON version check uses variable pmaversion from messages.js which is not updated until window refresh. Fix for this issue is to add attribute to #li_pma_version element and reading version from there.
Thanks Alexander.
Fix: https://github.com/phpmyadmin/phpmyadmin/commit/fefb11eb87cf0376a4071a60581f611f94a1ebcb
You're welcome!
Side note: after update you have to reload window because current script removes span-blocks. But it will occur just once. That's why I suggested the attribute way, but after code review (PMA_printListItem is not capable to add extra data attributes) it's better this way.
Still broken:
Version information: 4.3.4, latest stable version: 4.3.4
A newer version of phpMyAdmin is available and you should consider upgrading. The newest version is 4.3.4, released on 2014-12-29.
Shouldn't the first bit say "Version information: 4.3.4 (up to date)" ?
Do you still see this after clearing the cache?
No, now it shows the right info.
I should NOT have to clear my cache. Could this issue be reopened?
Clearing the cache is required only once if you are upgrading from a pre 4.3.3 version to 4.3.3 or later. From there onwards no cache clearing should be required when upgrading for version check to work. So, in my view this is fixed.
I just did 4.3.6 -> 4.3.7 and it wasn't fixed.
You probably meant 4.3.5 -> 4.3.6. AFAIK we haven't released 4.3.7 yet.
I did 4.3.5 -> 4.3.6 and it seems to work. However, I tested using GIT and by checking out the respective versions.
Oops, you're right.
Tried with released versions and still unable to recreate. Is anyone else able to recreate?
Unfortunately I am also unable to reproduce this.
See screenshot. Both the warning at the bottom and the version display at the right seem to think there's an update, even though at the right you can see current == latest.
The only way to resolve this error is to determine the input values for comparison '(latest > current)' in PMA_current_version. Perhaps there is an error in method parseVersionString - or it receives invalid information. My way to investigate this is to add the following - file js/functions.js:
Before row 245:
After 'parseVersionString' function calls:
In the situation the error appears, you can open Chrome console (Right click, Inspect Element, tab Console).
Preview what it should output (attached):