jDownloads Support Forum

jDownloads for Joomla 3.x => jDownloads 3.9 (Support ended) => Bugs => Topic started by: GODpleasers on 14.08.2020 18:29:05

Title: Error:1054 Unknown column 'a.file_id' when clicking the fron - [Solved in 3.9.5]
Post by: GODpleasers on 14.08.2020 18:29:05
Error: 1054

Unknown column 'a.file_id' in 'field list'



when clicking the files page from the main page.
(Please See attached images  jdownlaoddbugpart1 (Circled in red)  first and and then  jdownlaoddbugpart2.)
Title: Re: Error: 1054 Unknown column 'a.file_id' in 'field list' when clicking the f
Post by: Ingwio on 15.08.2020 12:41:06
 :o bei mir kommt der Fehler bei allen nach dem Update erstellten Downloads !

1054 - Unknown column 'file_id' in 'field list'
Title: Re: Error: 1054 Unknown column 'a.file_id' in 'field list' when clicking the f
Post by: GODpleasers on 15.08.2020 15:27:53
Hello any one there how can this be fixed?
Title: Re: Error: 1054 Unknown column 'a.file_id' in 'field list' when clicking the f
Post by: ColinM on 15.08.2020 16:05:30
Hi
The a.file_id was the file id reference in the v3.2 series.  For jd v3.9 series it is just a.id to have better Joomla! compatibility

So it looks as if a old plugin or module is being used that has not been upgraded.

So please advise which version of jD you are using please.  Also which version of Joomla
I presume you did an upgrade from a jd3.2 to a jD3.9  - is that correct?

Did you see the article about upgrading from 3.2 to 3.9https://www.jdownloads.net/documentation-for-v3-9/getting-started-v3-9/upgrading-from-jdownloads-3-2-to-3-9
It mentions several extensions in the Third Party Extensions section Are you using any of the followingAlta User Points (if you are using Alpha User Points please switch to Alta User Points)JCommentsKommentoComunity BuilderAcymailing
There are upgrades available for all of the above
Colinm
Title: Re: Error: 1054 Unknown column 'a.file_id' in 'field list' when clicking the f
Post by: GODpleasers on 15.08.2020 16:27:58
We are using jDownloads Version 3.9.1 and Joomla! 3.9.20 


The only 2 plugins on that list we are using is jcomments (witch we disabled and it still gave that error) and community builder (wich we deleted and it still gave tat error).   

And yes that is correct we  did an upgrade from a jd3.2 to a jD3.9.   

Any how if we give you a administrator account can you please log on ad take a look?
Title: Re: Error: 1054 Unknown column 'a.file_id' in 'field list' when clicking the f
Post by: ColinM on 15.08.2020 16:32:58
Hi
I have just sent you a private message - so please reply using that with super user login details and I will look into it further.After uninstalling Community Builder did you log out and then log back inAlso sometimes one has to clear the cache
Colin
Title: Re: Error: 1054 Unknown column 'a.file_id' in 'field list' when clicking the f
Post by: GODpleasers on 15.08.2020 18:35:31
We sent you a message with login details thanks for your help.
Title: Re: Error: 1054 Unknown column 'a.file_id' in 'field list' when clicking the f
Post by: GODpleasers on 15.08.2020 21:08:02
Also beside  the Error: 1054

We see that the down load shows up when it is not set to public. Can that be fixed so it is hidden till we set it?
We might go back to the previous version... It worked better.
Title: Re: Error: 1054 Unknown column 'a.file_id' in 'field list' when clicking the f
Post by: ColinM on 16.08.2020 11:20:54
Hi
I have sent you a PM.The troublsesome Download has a view Acces of Super Users so only Super users are able to see it.  When looking at your site it might have been set for a short period to Public or Registered as I tested various things
Your site does have Community Builder, JComments and AcyMail installed so they do need upgrading installed.  I can help you do that if you like. Please let me know.
Their old Plugins will still be active and being called by Joomla!.
Reverting back to the previous jD 3.2 series is not simple because of the database changes - it would require much more effort than just updating the other components. Of course  you could do it through an Akeeba backup but you would need to redo all your latest changes again.
Colin
Title: Re: Error: 1054 Unknown column 'a.file_id' in 'field list' when clicking the f
Post by: Arno on 16.08.2020 11:26:29
Hi Ingwio,
Quote from: Ingwio on 15.08.2020 12:41:06
:o bei mir kommt der Fehler bei allen nach dem Update erstellten Downloads !

1054 - Unknown column 'file_id' in 'field list'
könntest du mir einen admin Zugang via PM senden?
Oder einmal die Joomla Debug Option in den Globalen Einstellungen aktivieren und anschließend noch einmal eine solche Seite aufrufen?
Eventuell hätten wir dann eine etwas genauere Fehlermeldung.
Title: Re: Error: 1054 Unknown column 'a.file_id' in 'field list' when clicking the f
Post by: Arno on 16.08.2020 12:15:25
A few general notes:
1) I think not that this can be a jDownloads bug. I'm pretty sure that the reason for this issue is a third-party add on.

2) Before a user can upgrade he will see a special upgrade warning. This described in detail what happens by the upgrade process and what he have to check first. Sad to say, but some users seems not to read this really!

3) So we would improve this and get more users attention we added a special users action that the user must confirm the upgrade explicitly.

More is not possible!
Title: Re: Error: 1054 Unknown column 'a.file_id' in 'field list' when clicking the f
Post by: ColinM on 16.08.2020 14:23:04
@GODPLEASERS
Please see the PMs for details of a stable situationLike Arno think there is a need to update the externals, especially JComments.
Colin
Title: Re: Error: 1054 Unknown column 'a.file_id' in 'field list' when clicking the f
Post by: GODpleasers on 16.08.2020 16:46:19
Quote from: ColinM on 16.08.2020 11:20:54

I have sent you a PM.The troublsesome Download has a view Acces of Super Users so only Super users are able to see it.  When looking at your site it might have been set for a short period to Public or Registered as I tested various things
Your site does have Community Builder, JComments and AcyMail installed so they do need upgrading installed.  I can help you do that if you like. Please let me know.

Yes please help us do this.
Title: Re: Error: 1054 Unknown column 'a.file_id' in 'field list' when clicking the f
Post by: Ingwio on 16.08.2020 17:43:33
Moin Arno,








ich habe die jdownloads Version erstmal wieder auf Version 3.2 zurückgesetzt. Ich werde es die Tage nochmal versuchen und wenn es nicht klappt, schicke ich dir per PN einen Admin-Zugang. Dummerweise hatte ich das Plugin für jcomments nicht ersetzt und so könnte hier die Fehlerquelle liegen.
Title: Re: Error: 1054 Unknown column 'a.file_id' in 'field list' when clicking the f
Post by: larry007 on 16.08.2020 19:19:15
Hallo, ich glaube ich habe ein Fehler gemacht.

Leider habe ich auf meiner joomla 3.9.20 das Update für jDownloads 3.9.1 draufgemacht. Jetzt habe ich diese o.g. Fehlermeldungen.

Im übrigen habe ich keine Software die in dem Updateleitfaden zu lesen ist installiert.
In der SQL Datenbank sind entsprechende Backups (alte Version und neue Version von jDownloads) vorhanden.

Könnte mir bitte jemand helfen, danke.



Title: Re: Error: 1054 Unknown column 'a.file_id' in 'field list' when clicking the f
Post by: larry007 on 18.08.2020 11:19:35
I think I'll try again in English, maybe you'll understand better



Hello, I think I made a mistake.

Unfortunately I made the update for jDownloads 3.9.1 on my joomla 3.9.20. Now I have these o.g. Error messages.

In addition, I have not installed any software that can be read in the update guide.
Corresponding backups (old version and new version of jDownloads) are available in the SQL database.

Could someone help me, thank you.
Title: Re: Error: 1054 Unknown column 'a.file_id' in 'field list' when clicking the f
Post by: andi on 19.08.2020 09:15:26
Quote from: Ingwio on 15.08.2020 12:41:06
:o bei mir kommt der Fehler bei allen nach dem Update erstellten Downloads !

1054 - Unknown column 'file_id' in 'field list'



Hat sich denn für diesen Fehler eine Lösung gefunden? Habe das gleiche Problem.
Title: Re: Error: 1054 Unknown column 'a.file_id' in 'field list' when clicking the f
Post by: Arno on 19.08.2020 10:55:28
DeepL translation:

First of all, we regret the problems that some people have with upgrading to the new version. Unfortunately, there was no other solution. And that's why we have extensively pointed this out BEFORE the start of the upgrade process.

In case of such an error message there is (as mentioned several times) other extensions of a third party vendor whose extension still uses the old data structure of jD 3.2.x. The update article also lists some of the known ones. For a few of them there are already newer versions for jDownloads 3.9 in our download archive. Otherwise you just have to check your backend to see what you have installed and if any of it uses the data from jDownloads. Then just check their developers website or write to the developer. This is not something we can take care of on our own and is not a bug in jDownloads! Merely an incompatibility to earlier versions.

If somebody should not be able to do this on their own, we can try to help. But we have to manage this ourselves in terms of time.

For some, it may be better to go back to the older version. Since a backup should always be created before the upgrade, certainly no big problem. If necessary, you can also reactivate the database copies that jDownloads creates before the upgrade. But then the old subdirectory structure in /jdownloads does not exist anymore and I have not tested it yet.

Maybe we should write a little tutorial on this.

---------------------------

Erst einmal bedauern wir die Probleme, die einige mit dem Upgrade auf die neue Version haben. Leider ließ sich das aber nicht anders lösen. Und deshalb haben wir ja auch VOR dem Start des Upgrade Prozesses umfangreich darauf hingewiesen.

Bei solch einer Fehlermeldung existiert (wie schon mehrfach erwähnt) noch eine andere Erweiterung eines Drittanbieters dessen Erweiterung noch die alte Datenstruktur von jD 3.2.x verwendet. Im Update Artikel werden auch einige uns bekannte aufgeführt. Für einige wenige existieren auch in unserem Download Archiv bereits neuere Versionen für jDownloads 3.9. Ansonsten müsst ihr einfach in eurem Backend nachsehen, was ihr alles installiert habt und ob etwas davon die Daten von jDownloads verwendet. Dann einfach auf dessen Webseite nachsehen oder den Entwickler anschreiben. Das ist nichts das wir alleine übernehmen können und ist auch kein Bug in jDownloads! Lediglich eine Inkompatibilität zu früheren Versionen.

Sollte jemand dies nicht alleine hinbekommen, können wir gerne versuchen dabei zu helfen. Müssen das selber aber auch zeitlich hinbekommen.

Für manch einen kann es auch besser sein, zu der älteren Version zurückzukehren. Da vor dem Upgrade immer erst ein Backup erstellt werden soll, sicherlich kein großes Problem. Zur Not kann man aber auch noch die Datenbank Kopien reaktivieren, welche jDownloads vor dem Upgrade erstellt. Allerdings existiert dann nicht mehr die alte Unterverzeichnis-Struktur in /jdownloads und habe ich auch noch nicht getestet.

Vielleicht sollten wir hierzu eine kleine Anleitung schreiben.
Title: Re: Error: 1054 Unknown column 'a.file_id' in 'field list' when clicking the f
Post by: Arno on 19.08.2020 13:18:51
Hi Larry,
QuoteIm übrigen habe ich keine Software die in dem Updateleitfaden zu lesen ist installiert.
Uns sind leider nicht alle Erweiterungen für jDownloads bekannt. Es werden sicherlich sehr viel mehr sein.
Vielleicht einfach mal nachschauen was du alles zusätzlich installiert hast (auch Plugins!) und dann die jeweiligen Webseiten nachlesen wofür es jeweils ist (falls nicht sowieso bekannt).

Sonst schreib mich mal via PM an wenn du nicht selber weiterkommst.
Title: Re: Error: 1054 Unknown column 'a.file_id' in 'field list' when clicking the f
Post by: ColinM on 19.08.2020 16:59:00
Hi
My German is at 'tourist level' so I translated you message with Google :) If you are getting errors that are reporting 'a.file_id'  then there is an application such as JComments that has not been updated
Please read the article https://www.jdownloads.net/documentation-for-v3-9/getting-started-v3-9/upgrading-from-jdownloads-3-2-to-3-9
especially the  section on third party extensiions.  Although this is written in English you can get an instant translation byusing the pull down at top right of page to Select the language.
-----------------------------------------------------Mein Deutsch ist auf "touristischem Niveau", daher habe ich Ihre Nachricht mit Google übersetzt
Wenn Sie Fehler erhalten, die 'a.file_id' melden, gibt es eine Anwendung wie JComments, die nicht aktualisiert wurde

Bitte lesen Sie den Artikel
https://www.jdownloads.net/documentation-for-v3-9/getting-started-v3-9/upgrading-from-jdownloads-3-2-to-3-9
insbesondere der Abschnitt über Erweiterungen durch Dritte. Obwohl dies in Englisch geschrieben ist, können Sie eine sofortige Übersetzung erhalten, indem Sie das Pulldown-Menü oben rechts auf der Seite verwenden, um die Sprache auszuwählen.
Best wishesColin

Edit by admin: Links corretcted.  ;)
Title: Re: Error: 1054 Unknown column 'a.file_id' in 'field list' when clicking the f
Post by: Arno on 22.08.2020 23:37:38
Quote from: larry007 on 18.08.2020 11:19:35
I think I'll try again in English, maybe you'll understand better

Hello, I think I made a mistake.
Unfortunately I made the update for jDownloads 3.9.1 on my joomla 3.9.20. Now I have these o.g. Error messages.

In addition, I have not installed any software that can be read in the update guide.
Corresponding backups (old version and new version of jDownloads) are available in the SQL database.

Could someone help me, thank you.
This issue is solved now. In this case was the upgrade process interrupted whilst the DB tables was changed. The reason was a few errors like this: https://stackoverflow.com/questions/30761867/mysql-error-the-maximum-column-size-is-767-bytes

I could repair the tables manually via phpmyadmin.

All users which have a similar problem (unknown column 'cat_id' in field list) should look at the link above.