ajax call missing module name in moduleinterface.php

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Locked
cve
Forum Members
Forum Members
Posts: 44
Joined: Wed Jul 07, 2010 10:54 am

ajax call missing module name in moduleinterface.php

Post by cve »

Hello, i'm working on new module, and I have to get some html throught ajax, so i've created a link for ajax request

Code: Select all

$this->CreateLink($id, 'get_children', $returnid, $contents = false, array(
    'show_template' => false,
), $warn_message = false, $onlyhref = true, $inline = false, $addttext = false)
the problem is when I send ajax request, the response is error says:
"Notice: Module not found in memory. This could indicate that the module is in need of upgrade or that there are other problems in /var/www/cms/admin/moduleinterface.php on line 60"
but when I copy generated link and paste it in browser addressbar it works fine...
Locked

Return to “Developers Discussion”