Application creators: frequently asked questions
Short answers with the page that explains each one.
My new class is not found
Regenerate the autoloads (php bin/php/ezpgenerateautoloads.php -e) and restart Velocity's workers
(Autoloads and class naming).
My change works under Apache but not on Velocity
Workers keep classes and settings in memory: ./console exp:velocity deploy (Deploying with Velocity).
My view says "access denied"
The user lacks a function listed in the view's functions; add the policy to a role (Policy functions and limitations).
My form post gets a 403
The form token is missing: post from a template-rendered form with method="post", or send the token from your script
(Forms, CSRF protection and HTTP input).
My setting is ignored
Another file wins: ./console exp:ini where <file>/<block>/<key> <siteaccess>, then clear --clear-tag=ini
(Settings and INI files).
My new template is not used
Clear template-override and template; check the override rule with template path comments
(Template overrides).
How do I return JSON?
An ezjscore server function, or the REST API for other programs (JSON endpoints with ezjscore).
My cronjob script is not found
The extension is active only in some siteaccesses: run with -s <siteaccess>, and check ExtensionDirectories[] in
cronjob.ini (Cronjobs for applications).
Where does slow work go?
A queue job, a cron part or a content job (Background work).
How do I test without a database?
Keep logic in plain classes and test them with PHPUnit (DB-less PHPUnit tests).
Where do I ask or report?
The help's Report an error page and When something goes wrong; the community places are on Who is the Exponential Foundation?.
Related pages
- Application creators: start here
- The application creator's reading path
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.