Menu

SuietASSURED Banner

Save

Save

Welcome, Guest
Username: Password: Remember me

TOPIC: 7.9.8 Undefined

7.9.8 Undefined 6 days 23 hours ago #57834

  • darkdimension
  • darkdimension's Avatar
  • Offline
  • New Member
  • Posts: 13
  • Karma: 0
I am having issues with 'undefined'.

Community member /u/mattds91 (suitecrm.com/forum/installation-upgrade-...ultiple-issues#52755) has very similar issues.

Bluehost</td]Shared Server</td]
Apache Version</td]2.4.29</td]
PHP Version</td]7.0.27</td]
MySQL Version</td]5.6.32-78.1</td]
Architecture</td]x86_64</td]
Operating System</td]linux</td]
SuiteCRM</td]7.9.8</td]

What are the proper permissions?

Set:
SuiteCRM @ 755
subdirectories @ 755
files @ 644
cache, custom, modules, themes, data, upload @ 775 recursive
config_override.php @ 775

Any other details or thoughts?

Thank you all in advance.
The administrator has disabled public write access.

7.9.8 Undefined 4 days 8 hours ago #58015

  • lrosenvall
  • lrosenvall's Avatar
  • Offline
  • New Member
  • Posts: 14
  • Thank you received: 2
  • Karma: 0
I am with Bluehost as well, it can be a bit tricky! What I have found for me is to set the permissions as follows

755 ALL files then

775 for directory, folders and all files inside these - cache, custom, data, modules, upload and config_override.php

Also set 775 for the themes folder only, not the folders and files inside the theme folder

This might be why you are seeing problems.
The administrator has disabled public write access.

7.9.8 Undefined 4 days 7 hours ago #58023

  • darkdimension
  • darkdimension's Avatar
  • Offline
  • New Member
  • Posts: 13
  • Karma: 0
I will give a try and report back.

Thank you for responding.
The administrator has disabled public write access.

7.9.8 Undefined 4 days 7 hours ago #58024

  • lrosenvall
  • lrosenvall's Avatar
  • Offline
  • New Member
  • Posts: 14
  • Thank you received: 2
  • Karma: 0
No Problem! One other thing I have noticed is as you go into new screens, modules, etc... the page is cached. I have to periodically run the permissions again on everything to make sure I don't get any "undefined" errors. It's a pain, but necessary for SuiteCRM to function correctly. Anytime you run quick repair and rebuild, you need to run the permissions again and even clear your browser cache to make sure everything is running properly. Thanks!
The administrator has disabled public write access.
The following user(s) said Thank You: darkdimension

7.9.8 Undefined 4 days 5 hours ago #58028

  • darkdimension
  • darkdimension's Avatar
  • Offline
  • New Member
  • Posts: 13
  • Karma: 0
That worked.

Thank you for the 'heads-up' on re-running permissions when pages get cached and edited.

Again, thank you.
The administrator has disabled public write access.

7.9.8 Undefined 4 days 3 hours ago #58030

  • lrosenvall
  • lrosenvall's Avatar
  • Offline
  • New Member
  • Posts: 14
  • Thank you received: 2
  • Karma: 0
Awesome! You are welcome
The administrator has disabled public write access.

7.9.8 Undefined 4 days 1 hour ago #58039

  • darkdimension
  • darkdimension's Avatar
  • Offline
  • New Member
  • Posts: 13
  • Karma: 0
/u/lrosenvall, Have you been able to set up a cron job for suitecrm (for geocoding and scheduler)?

I am getting:

/home2/**REDACTED_DATA**/public_html/SuiteCRM/cron.php: line 1: ?php: No such file or directory
/home2/**REDACTED_DATA**/public_html/SuiteCRM/cron.php: line 2: syntax error near unexpected token `'sugarEntry''
/home2/**REDACTED_DATA**/public_html/SuiteCRM/cron.php: line 2: ` if(!defined('sugarEntry'))define('sugarEntry', true);'

Any ideas?

cron.php @ 755
The administrator has disabled public write access.

7.9.8 Undefined 2 days 9 hours ago #58104

  • lrosenvall
  • lrosenvall's Avatar
  • Offline
  • New Member
  • Posts: 14
  • Thank you received: 2
  • Karma: 0
This is how I have the cron job setup in cpanel:

cd /home2/**REDACTED_DATA**/public_html/**REDACTED_DATA**; php -f cron.php > /dev/null 2>&1

Is yours setup the same?
The administrator has disabled public write access.

7.9.8 Undefined 2 days 9 hours ago #58105

  • darkdimension
  • darkdimension's Avatar
  • Offline
  • New Member
  • Posts: 13
  • Karma: 0
Yes, it is.

However, when I remove the route to the black hole( > /dev/null 2>&1), no confirmation is sent to email.

How can you verify that the command has ran?

Thank you.
The administrator has disabled public write access.

7.9.8 Undefined 2 days 1 hour ago #58150

  • lrosenvall
  • lrosenvall's Avatar
  • Offline
  • New Member
  • Posts: 14
  • Thank you received: 2
  • Karma: 0
Just look in each of the schedulers, they will show a log of events if your cron job is running correctly. Thanks!
The administrator has disabled public write access.
The following user(s) said Thank You: darkdimension
Time to create page: 0.060 seconds
Powered by Kunena Forum