hi there.
I am no linux guru and am stuck here
if i go ls -l before upgrade the value of the folder is drwxr-xr-x
after i upgrade it changes to drwxrwxr-x and then i get html 500 error.
how do i fix this? and what happens?
regards
Paul
hi there.
I am no linux guru and am stuck here
if i go ls -l before upgrade the value of the folder is drwxr-xr-x
after i upgrade it changes to drwxrwxr-x and then i get html 500 error.
how do i fix this? and what happens?
regards
Paul
you should spend some time understanding linux file permissions ... it will be time well spent and will save you a lot of effort in the future:
Go here for more info:
http://www.elated.com/articles/under...g-permissions/
Apache/2.2.3 (Debian) PHP/5.2.0-8+etch11 MySQL 5.0.32
SalesAgility.com - SugarCRM Experts (UK)
Authors of Advanced OpenSales - Open Source Quotations, Invoices, Products and Contracts modules for SugarCRM Community Edition - Download here
hi there.
I am busy teaching myself linux.
Got ubuntu. but right now i need a to understand what went wrong and what is happening here.
Thanks
Paul
Apache/2.2.3 (Debian) PHP/5.2.0-8+etch11 MySQL 5.0.32
SalesAgility.com - SugarCRM Experts (UK)
Authors of Advanced OpenSales - Open Source Quotations, Invoices, Products and Contracts modules for SugarCRM Community Edition - Download here
nope. This is se linux. Cannot do 777. but 755.
But i found the error. When upgrading a file gets created .htaccess. I delete this file and everything hunky dorey again.
Works fine now.
thanks anyway
You need that .htaccess file. That stops user of the CRM from typing http:crmurl/sugarlog and viewing the log etc..
If removing this fixed your problem, you should put it back and fix the line in it that is causing the issue
Rgds
Chris
yeah. ok. uhm. ok . uhm yeah. uhm uhm. hmmmmm. uhm. yeah.
Just joking.
How do i determine what is invalid. what does not need to be there? etc?
When you say what valid/whats needs to be there are you referring to the contents of the .htaccess file.
This is what I have.
Have you run the correct permissions on the folders etc. Use te following on you folders and it will set the correct permissionsCode:# BEGIN SUGARCRM RESTRICTIONS RedirectMatch /crm/live/sugarcrm.log.* http://192.168.1.250/crm/live/log_file_restricted.html RedirectMatch /crm/live/emailman.log http://192.168.1.250/crm/live/log_file_restricted.html RedirectMatch /crm/live/not_imported_(.*).txt http://192.168.1.250/crm/live/log_file_restricted.html RedirectMatch /crm/live/XTemplate/(.*)/(.*).php http://192.168.1.250/crm/live/index.php RedirectMatch /crm/live/data/(.*).php http://192.168.1.250/crm/live/index.php RedirectMatch /crm/live/examples/(.*).php http://192.168.1.250/crm/live/index.php RedirectMatch /crm/live/include/(.*).php http://192.168.1.250/crm/live/index.php RedirectMatch /crm/live/include/(.*)/(.*).php http://192.168.1.250/crm/live/index.php RedirectMatch /crm/live/log4php/(.*).php http://192.168.1.250/crm/live/index.php RedirectMatch /crm/live/log4php/(.*)/(.*).php http://192.168.1.250/crm/live/index.php RedirectMatch /crm/live/metadata/(.*)/(.*).php http://192.168.1.250/crm/live/index.php RedirectMatch /crm/live/modules/(.*)/(.*).php http://192.168.1.250/crm/live/index.php RedirectMatch /crm/live/soap/(.*).php http://192.168.1.250/crm/live/index.php RedirectMatch /crm/live/emailmandelivery.php http://192.168.1.250/crm/live/index.php # END SUGARCRM RESTRICTIONS
Replace my path with your path to the crm root dir.Code:sudo chown -R www-data:www-data /var/www/crm/test/fdc55 sudo chmod -R 644 /var/www/crm/test/fdc55 sudo find /var/www/crm/test/fdc55/ -type d -exec chmod 755 \{\} \; sudo chmod -R 664 /var/www/crm/test/fdc55/cache sudo find /var/www/crm/test/fdc55/cache/ -type d -exec chmod 775 \{\} \; sudo chmod -R 664 /var/www/crm/test/fdc55/custom sudo find /var/www/crm/test/fdc55/custom/ -type d -exec chmod 775 \{\} \; sudo chmod -R 664 /var/www/crm/test/fdc55/data sudo find /var/www/crm/test/fdc55/data/ -type d -exec chmod 775 \{\} \; sudo chmod -R 664 /var/www/crm/test/fdc55/modules sudo find /var/www/crm/test/fdc55/modules/ -type d -exec chmod 775 \{\} \; sudo chmod 664 /var/www/crm/test/fdc55/config.php sudo chmod 775 /var/www/crm/test/fdc55
Rgds
Chris
thanks chriss
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks