Clicking the "New" pseudo table entry in a database branch in the left-side tree view (calling tbl_create.php) returns a
Fatal error: Cannot redeclare class Application_Octetstream_Download in E:\Programme\xampp\phpmyadmin\libraries\plugins\transformations\Application_Octetstream_Download.class.php on line 42
as result in the right-side main frame just below the table headers.
Hi Mario,
Is this with version 4.4.10?
Yes, I just updated to 4.4.10 before testing. Running as service on Win7/64; but I guess it is just an issue of include(_once) / require(_once) orders.
See http://stackoverflow.com/questions/28530250/phpmyadmin-cannot-redeclare-class-application-octetstream-download
That makes me wonder: If a file was just changed, it should have been overwritten; if a file is not in use anymore, it should not have been included in any place of the new PHP code. So how does an obsolete file get used and cause issues? Maybe because some code scans the directory for existing files matching a mask and imports what's available? Sounds like a security risk to me...
I cleared the directory (except config.inc.php), unpacked the 4.4.10 archive again. Table creation dialog appears as expected.
Mario, good point.
The plugin system of the phpMyAdmin work more or less similar to what you described, scanning the directory for existing files matching a mask and imports what's available. However, we have to allow for this to be able to use any 3rd party plugins.
If I remember right, this particular plugin file was moved to a subfolder as part of refactoring, and when you upgrade on top of the old files you have the old version of the file in outer folder and the newer version in the sub folder.