There was a problem. I am writing a component for Joomla. In javascript I am writing a request to the server, I will prescribe the path to the file (the script that should output the data is a separate file), and it returns restricted access
. What could be the error?
2 answers
show ajax request! if you are accessing the controller of your component in order to disable the template, add & format = raw; (joomla 1.5) a lot of nuances need a code!
|
Accidentally this is not the case: defined('_JEXEC') or die('Restricted access');
? :)
- :)) yes it seems no, in that script there is no such record)) - thedarkelf
|