Tag Archives: magento

magento – SoftException in Application.cpp:388: UID of script “XXX” is smaller than min_uid

 

[Tue Dec 05 21:09:30.546838 2017] [:error] [pid 8486] [client 94.63.XXX.XXX:60633] SoftException in Application.cpp:388: UID of script “/home/ftpuser/public_html/index.php” is smaller than min_uid
[Tue Dec 05 21:09:30.546875 2017] [core:error] [pid 8486] [client 94.63.XXX.XXX:60633] End of script output before headers: index.php

Try to chown the files and directories to the proper apache / cpanel user.

 

Some Magento Update issues

 

There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: 354086296325

To see the output from errors, lets go to path/to/magento/pub/errors/ and copy local.xml.sample to local.xml.

With this we will see the error output.

Update schema/data? php bin/magento setup:upgrade

Unable to retrieve deployment version of static files from the file system

Try to run php bin/magento setup:static-content:deploy this should to the work.

Missing CSS & JS files?
chown username: /path/to/magento/pub/ -R


Sources

http://devdocs.magento.com/guides/v2.1/install-gde/prereq/file-system-perms.html
https://magento.stackexchange.com/questions/108919/static-content-deploy-issue

magento – Server unable to read htaccess file, denying access to be safe

Forbidden

You don’t have permission to access / on this server.
Server unable to read htaccess file, denying access to be safe

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

This is how we se the proper file permissions on magento2.

cd /var/www/html/magento2 && sudo find var vendor pub/static pub/media app/etc -type f -exec chmod g+w {} \; && sudo find var vendor pub/static pub/media app/etc -type d -exec chmod g+ws {} \; && sudo chown -R :apache . && sudo chmod u+x bin/magento
 If the issue persists, try to 755 the /var/www/html/magento2.
That’s kinda it!

 

magento – Caught race condition abuser. attacker: 536, victim: 0 open file owner: 0, open file:

 

[Thu May 11 20:33:56.932792 2017] [core:error] [pid 3690] [client 94.63.XXX.XXX:40273] Caught race condition abuser. attacker: 536, victim: 0 open file owner: 0, open file: /home/domain.tld/public_html/pub/static/frontend/Magento/luma/en_US/images/logo.svg, referer: http://www.domain.tld/

Bad permission or ownership can trigger this error. Try to:

chown user: /home/domain.tld/public_html/pub/ -R