How to fix this undefine message
Thanks.
my permission
Directory 0755
Files 0644
‘default_permissions’ =>
array (
‘dir_mode’ => 1528,
‘file_mode’ => 493,
‘user’ => ‘’,
‘group’ => ‘’,
),
How to fix this undefine message
Thanks.
my permission
Directory 0755
Files 0644
‘default_permissions’ =>
array (
‘dir_mode’ => 1528,
‘file_mode’ => 493,
‘user’ => ‘’,
‘group’ => ‘’,
),
In Admin / Schedulers, what does it say at the bottom of the table? The instructions to add cron job, what are they exactly?
I am asking this in order to determine the user name that your web server is using to run, you need to set your ownerships to that.
here is the message
In order to run SuiteCRM Schedulers, edit your web server user’s crontab file with this command:
sudo crontab -e -u agsi
… and add the following line to the crontab file:
cd /home/agsi/public_html/nursing_home; php -f cron.php > /dev/null 2>&1
So try this
sudo chown -R agsi:agsi .
sudo chmod -R 755 .
sudo chmod -R 775 cache custom modules themes data upload
sudo chmod 775 config_override.php 2>/dev/null
And in config.php:
'default_permissions' =>
array (
'dir_mode' => 1528,
'file_mode' => 493,
'user' => 'agsi',
'group' => 'agsi',
),
If the first command above fails: I am assuming the group name is the same as the user name, but if you know enough Linux to check that, that would be great.
Okay , i’ll try it Thanks
agsi@asi-ph.com [~/public_html/nursing_home]# sudo chown -R agsi:agsi .
sudo: effective uid is not 0, is sudo installed setuid root?
still not working
Ok, maybe it’s done its job even without sudo. Is it now working well? Do a Quick Repair and Rebuild first.
What do you get when running this from your SuiteCRM directory?
ls -al
Here. Please check this image thanks pgr
https://www.agsi-ph.com/sandboxes/try/picture
i been waiting you for so long. Hehehe
It looks right. So it’s working, is it?
still not working whats the problem T_T
this is correct ?
.htaccess
RedirectMatch 403 (?i)..log$
RedirectMatch 403 (?i)/+not_imported_..txt
RedirectMatch 403 (?i)/+(soap|cache|xtemplate|data|examples|include|log4php|metadata|modules)/+..(php|tpl)
RedirectMatch 403 (?i)/+emailmandelivery.php
RedirectMatch 403 (?i)/+upload
RedirectMatch 403 (?i)/+cache/+diagnostic
RedirectMatch 403 (?i)/+files.md5$
Options +SymLinksIfOwnerMatch
RewriteEngine On
RewriteBase /nursing_home/
RewriteRule ^cache/jsLanguage/(…_…).js$ index.php?entryPoint=jslang&modulename=app_strings&lang=$1 [L,QSA]
RewriteRule ^cache/jsLanguage/(\w)/(……).js$ index.php?entryPoint=jslang&modulename=$1&lang=$2 [L,QSA]
RewriteRule ^cache/jsLanguage/(……).js$ index.php?entryPoint=jslang&module=app_strings&lang=$1 [L,QSA]
RewriteRule ^cache/jsLanguage/(\w*)/(…_…).js$ index.php?entryPoint=jslang&module=$1&lang=$2 [L,QSA]
# --------- DEPRECATED --------
RewriteRule ^api/(.*?)$ lib/API/public/index.php/$1 [L]
RewriteRule ^api/(.*)$ - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
# -----------------------------
RewriteRule ^Api/access_token$ Api/index.php/access_token [L]
RewriteRule ^Api/V8/(.*?)$ Api/index.php/V8/$1 [L]
RewriteRule ^Api/(.*)$ - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [R=301,L]
# END SUGARCRM RESTRICTIONS
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^cache/jsLanguage/(.._..).js$ index.php?entryPoint=jslang&modulename=app_strings&lang=$1 [L,QSA]
RewriteRule ^cache/jsLanguage/(\w*)/(.._..).js$ index.php?entryPoint=jslang&modulename=$1&lang=$2 [L,QSA]
RewriteRule ^api/(.*?)$ lib/SuiteCRM/API/public/index.php/$1 [L]
RewriteRule ^api/(.*)$ - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
Header set ETag ""
Header set Cache-Control "max-age=2592000"
Header set Expires "01 Jan 2112 00:00:00 GMT"
ExpiresByType text/css "access plus 1 month"
ExpiresByType text/javascript "access plus 1 month"
ExpiresByType application/x-javascript "access plus 1 month"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
I never touch the .htaccess file, and things work for me. So if you didn’t change it, it should be ok.
What is your SuiteCRM version?
Can you try deleting the folder “cache/themes” and try again?
In Admin / Upgrade Wizard, start an upgrade, just to run the first step of the wizard: permissions checks. How does that look?
SuiteCRM version 7.10.4 ill upgrade suitecrm lastweek into 7.10.12
Please check the images
When i delete cache /themes folder the result is here:
https://www.agsi-ph.com/sandboxes/try/picture
Stil not working Thanks PGR
So, you heave a big, red warning saying you’re running an incompatible version of PHP, and you didn’t think that could be the cause of your issues, and you didn’t think it was worth mentioning here? :ohmy:
Just upgrade your PHP, please
Can you try to update your RewriteBase path in both places in your .htaccess?
old version and latest version crm
same issue UNDEFINED MESSAGE
We aren’t the one started developing the system. We just resumed what they didn’t finish. When we received the system, there was already an “undefined message” error on old version 7.10.4. Thanks
I tried that. but nothing changed