PDF Templates not loading editor


I have a fresh install of Suite CRM 7.0.2 that will not allow me to create PDF Templates. When I click create the creation page opens but the text editor does not load for body, header or footer. This also means that loading a template does not work and when I try to save I get a:


You don’t have permission to access /index.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Anyone have any ideas why this may be going on?


It looks you have not set the right permissions, have a look here:

Try to disable Ajax for “PDF Templates” module in: Admin – System Setings – Configure AJAX User Interface

Hope it helps :slight_smile:

Thanks Berriop

The ajax setting fixed the text editor not loading but I still have the permissions issue when trying to save a template. My permissions seem to be exactly as that page describes(actually followed that page to set permissions originally).

I am using the following to set permissions:

find -P /pathtosuitecrm/ -type d -exec chmod 755 {} ;
find -P /pathtosuitecrm/ -type f -exec chmod 644 {} ;
find -P /pathtosuitecrm/ -name *.js -exec chmod 755 {} ;

chmod 664 config.php
chmod 664 config_override.php
chmod 664 sugarcrm.log

find -P /pathtosuitecrm/cache -type d -exec chmod 775 {} ;
find -P /pathtosuitecrm/custom -type d -exec chmod 775 {} ;
find -P /pathtosuitecrm/data -type d -exec chmod 775 {} ;
find -P /pathtosuitecrm/modules -type d -exec chmod 775 {} ;
find -P /pathtosuitecrm/include -type d -exec chmod 775 {} ;
find -P /pathtosuitecrm/upload -type d -exec chmod 775 {} ;

find -P /pathtosuitecrm/cache -type f -exec chmod 664 {} ;
find -P /pathtosuitecrm/custom -type f -exec chmod 664 {} ;
find -P /pathtosuitecrm/data -type f -exec chmod 664 {} ;
find -P /pathtosuitecrm/modules -type f -exec chmod 664 {} ;
find -P /pathtosuitecrm/include -type f -exec chmod 664 {} ;
find -P /pathtosuitecrm/upload -type f -exec chmod 664 {} ;

Does this look correct?

Thanks for your help


I had permission issues before too, first I decided to grant all permissions (777) to all files and folders recursively to see if that solved the issue. It did, so from there I just assigned the right permissions for each folder and files.



Did anyone fixed the problem with editor not loading without disabling ajaxUI for PDF Template module?