Closed minorsecond closed 3 years ago
Please check the permission on: Cloudlog/assets/qslcard folder.
It's assigned to root:root. I tried changing to root:www-data but got the same result.
Can you enable logging in config.php. Setting it to 1 will be enough. Then retry and have look into the log?
BTW: as which user the php is running. I guess it won't be root who runs php as.
I've enabled logging. The log_path variable is set to the default path, but nothing is being written. I suspect this is related to permissions.
PHP is being run by my user, not root. So, I set permissions to myuser:www-data and attempted to upload the image files. No change, and nothing is written to application/logs/ directory.
Then have log into the servers php log and webservers log. Maybe just restart the php process to enable logging.
Anyhow we error handling shoul be improved.
@magicbug I suppose the error handling for the front end is done in footer.php:2348 ff. I tried to get into it, but I am not ease doing changes there. Maybe you want to have a look.
Unfortunately, there are no errors in the error log. I've rebooted the server but the error still persists.
One question: should the qslcard directory have 775 or 755 permissions set? Or something else? Currently, the group doesn't have write access.
Fixed this. I re-read the wiki and realized that I forgot the sudo chmod -R g+rw /var/www/html/assets/qslcard/
step.
This is for reporting bugs with the code, if this issue is regarding setting up on your local server please use the forum see readme for details
Describe the bug When attempting to upload QSL images, an error occurs which states "[Object Object]".
To Reproduce Steps to reproduce the behaviour:
Expected behaviour The images should be uploaded without error.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):