I've implemented KoolReport and CloudExport on my local WAMP stack and it works perfectly. Moving it to an AWS LAMP instance has been a failure so far. No matter where I put KoolReport in my LAMP stack , it can't create the assets folders, so no formatting is done. I've given everyone root privileges but it didn't help. It seems that it assumes the assets folder is already created when it it not, even if I don't have the assets path in the settings function of the myreport.php. I run multiple sites via apache virtual hosts from this AWS instance, so my structure is
htdocs
htdocs/sites
htdocs/sites/site1
htdocs/sites/site2
htdocs/sites/site3
If I invoke composer to install KoolReport from htdocs, it will but the vendor folder under htdocs. The reports will fail because it can't access the assets folders. If I use composer to install KoolReport from the site1 folder, thinking all these folders are public and have access, it will also fail because it can't create or access the assets folder.
Any insight would be appreciated on how I can get this to work.