Back to top

Autore Topic: Custom data sources don't work  (Letto 2591 volte)

Offline Thierry87

  • Nuovo arrivato
  • *
  • Post: 2
    • Mostra profilo
Custom data sources don't work
« il: 02 Feb 2013, 19:13:57 »
It is impossible to call a php file from default.php (restricted access). Each of my users has its coordinates in a specific field and I built a custom data source (model joomlausers.php). My query works, but your code is not appropriate to call a php file.
Sorry to write in English, but I do not think it is more understandable in French.

mau_develop

  • Visitatore
Re:Custom data sources don't work
« Risposta #1 il: 02 Feb 2013, 19:26:29 »
but your code is not appropriate to call a php file
-----------------------------------------------------------------
your server allow this?
« Ultima modifica: 02 Feb 2013, 19:33:29 da M_W_C »

Offline Thierry87

  • Nuovo arrivato
  • *
  • Post: 2
    • Mostra profilo
Re:Custom data sources don't work
« Risposta #2 il: 02 Feb 2013, 21:07:23 »

Hello,
No this is not my code. I have not modified your component, but you can not call this way joomlausers.php file (or another file to another data source). This causes an error "restricted access" (defined ('_JEXEC') or die ('Restricted access') ;).

Offline giovi

  • Instancabile
  • ******
  • Post: 9835
  • Sesso: Maschio
    • Mostra profilo
Re:Custom data sources don't work
« Risposta #3 il: 03 Feb 2013, 00:24:17 »
Hello thierry87, welcome in the Italian Joomla! community ;)

 



Web Design Bolzano Kreatif