- Messaggi: 7
- Ringraziamenti ricevuti 1
Can't add tags to jDownloads
- EstebanMax
- Autore della discussione
- Offline
- Nuovo Utente
Less
Di più
7 Anni 3 Mesi fa #2579
da EstebanMax
Can't add tags to jDownloads è stato creato da EstebanMax
Hello I bought the extension as I need it to add properties to jDownloads items.
However after installation (with the installation package) I can't see the "CP tags" button in the items' content editor.
Thanks
Stefano
However after installation (with the installation package) I can't see the "CP tags" button in the items' content editor.
Thanks
Stefano
Si prega Accesso o Crea un account a partecipare alla conversazione.
- andrea_4g
- Offline
- Amministratore
Less
Di più
- Messaggi: 1122
- Ringraziamenti ricevuti 163
7 Anni 3 Mesi fa #2580
da andrea_4g
Risposta da andrea_4g al topic Can't add tags to jDownloads
Please make sure that jDownloads content element connector is enabled:
Extensions > Custom Properties > Utilities > Manage Content Elements Connectors
Install jDownloads and 'Content'
Extensions > Custom Properties > Utilities > Manage Content Elements Connectors
Install jDownloads and 'Content'
Si prega Accesso o Crea un account a partecipare alla conversazione.
- EstebanMax
- Autore della discussione
- Offline
- Nuovo Utente
Less
Di più
- Messaggi: 7
- Ringraziamenti ricevuti 1
7 Anni 3 Mesi fa #2581
da EstebanMax
Risposta da EstebanMax al topic Can't add tags to jDownloads
Ok thank you.
I have another issue however. After installing Custom properties and save a new property, I get the error message (see also attachment):
0 Call to undefined function mysql_escape_string()
and this also occurs also if I try to create new content in other places (jDownloads, Articles, etc).
The content itself is created, but first I have that error.
That occurred only after installation of the component and If I uninstall it the administration works fine.
I have another issue however. After installing Custom properties and save a new property, I get the error message (see also attachment):
0 Call to undefined function mysql_escape_string()
and this also occurs also if I try to create new content in other places (jDownloads, Articles, etc).
The content itself is created, but first I have that error.
That occurred only after installation of the component and If I uninstall it the administration works fine.
Si prega Accesso o Crea un account a partecipare alla conversazione.
- andrea_4g
- Offline
- Amministratore
Less
Di più
- Messaggi: 1122
- Ringraziamenti ricevuti 163
7 Anni 3 Mesi fa - 7 Anni 3 Mesi fa #2582
da andrea_4g
Risposta da andrea_4g al topic Can't add tags to jDownloads
You unearthed a bug.
Here's a quick fix:
Edit file plugins\content\cptags\cptags.php
Modifiy line 112 from:
to
Save
That should do the trick.
Please give us some feedback (we'll then release an updated version of Custom Properties).
Here's a quick fix:
Edit file plugins\content\cptags\cptags.php
Modifiy line 112 from:
Code:
$content_id = mysql_escape_string($article->$article_id_key);
Code:
$content_id = mysql_real_escape_string($article->$article_id_key);
That should do the trick.
Please give us some feedback (we'll then release an updated version of Custom Properties).
Ultima Modifica 7 Anni 3 Mesi fa da andrea_4g.
Si prega Accesso o Crea un account a partecipare alla conversazione.
- EstebanMax
- Autore della discussione
- Offline
- Nuovo Utente
Less
Di più
- Messaggi: 7
- Ringraziamenti ricevuti 1
7 Anni 3 Mesi fa #2583
da EstebanMax
Risposta da EstebanMax al topic Can't add tags to jDownloads
Hello I made the change but the same issue, in the attachment the change in code
Si prega Accesso o Crea un account a partecipare alla conversazione.
- andrea_4g
- Offline
- Amministratore
Less
Di più
- Messaggi: 1122
- Ringraziamenti ricevuti 163
7 Anni 3 Mesi fa #2584
da andrea_4g
Risposta da andrea_4g al topic Can't add tags to jDownloads
Here's a modified (and more elegant) fix that should definitely work.
Edit file plugins\content\cptags\cptags.php
Modifiy the very same 112 line from:
to
Save
Edit file plugins\content\cptags\cptags.php
Modifiy the very same 112 line from:
Code:
$content_id = mysql_escape_string($article->$article_id_key);
Code:
$content_id = $db->escape($article->$article_id_key);
Si prega Accesso o Crea un account a partecipare alla conversazione.
Tempo creazione pagina: 0.148 secondi