Hello I recently installed fresh copy of SuiteCRM 8.5.0 for testing purpose before migrating from 7.xx. There is some bugs but lets start one by one.
When I try to create new Quote everything looks fine except line items. All the fields labels are undefined, and there is button āadd groupā that donāt exist on version 7.xx , basically whole line item block looks different. I did try to change file permissions but I donāt see any difference. Do I need to chmod specific folder/file, or it is something else?
You could update from v7.14 to 8.5. Did you update from 7.14 to 8.5?
Also, you could check combability matrix
Check you log files for errors.
PHP 8.2.13
MariaDB 10.5.23-1.el7.centos
httpd 2.4.6-99.el7.centos.1
And nothing in logs
Hi, I just did migration from 7.14 to 8.5. Everything is working except that I am getting undefined fields and buttons when I enter edit quotes. Undefined fields and buttons are only in Line items section.
My log files shows this Warning:
AH01071: Got error āPHP message: PHP Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/domen/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php on line 134; PHP message: PHP Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/domen/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php on line 144; PHP message: PHP Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Session::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/domen/vendor/symfony/http-foundation/Session/Session.php on line 131; PHP message: PHP Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Session::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/domen/vendor/symfony/http-foundation/Session/Session.php on line 141ā, referer: https://crm.domen.com/public/
and this errors:
404 - GET /public/legacy/cache/jsLanguage/AOS_Quotes/en_us.js?v=bepZ4UkEuyde8O_Z9TAetw HTTP/1.0
404 - GET /public/legacy/cache/jsLanguage/en_us.js?v=bepZ4UkEuyde8O_Z9TAetw HTTP/1.0
404 - GET /public/legacy/cache/jsLanguage/AOS_Quotes/en_us.js?v=bepZ4UkEuyde8O_Z9TAetw HTTP/1.0
404 - GET /public/legacy/cache/jsLanguage/AOS_Quotes/en_us.js?v=_a3_5D71O6Ro6OjCKf1GKg HTTP/1.0
404 - GET /public/legacy/cache/jsLanguage/en_us.js?v=_a3_5D71O6Ro6OjCKf1GKg HTTP/1.0
404 - GET /public/legacy/cache/jsLanguage/en_us.js?v=_a3_5D71O6Ro6OjCKf1GKg HTTP/1.0
404 - GET /public/legacy/cache/jsLanguage/AOS_Quotes/en_us.js?v=_a3_5D71O6Ro6OjCKf1GKg HTTP/1.0
Any ideas?
Check if you have same code like below in that file.
Also, you may need to delete some folders from cache folder and do QR&R.
p.s. you could delete symfony cache folder in v8
Thank you for suggestions, unfortunately I still have same problem. It is so strange that only undefined fields are in Line items?!
Looks similar issue on v8.5.
Try this solution
p.s. it is not correct solution.
RewriteBase was set to /legacy/ and I changed to /public/legacy/ no change. And I just realize there is also undefined text on mailing buttons.
If youāre getting same issues on the below link means it is a bug in the v8.5
To access the demo, please use the following details:
Username: will
Password: will
https://suite8demo.suiteondemand.com/
Try here!
I did check you demo instance but I don see any problem there, your line items are working fine.
But your view is different, you have tabs on top.
Then it could be happening because of your custom code. It is hard for me to help you further.
It is very possible what you say. We had developer who made custom module for us, it is most possible that this is the problem. I actually installed fresh 8.5 version, and everything was fine until I uploaded custom module. Not sure what to do next? Iāll try to debug. Thanks for the help.
There we go! Maybe code in those custom module still in older version of PHP. If you update all those code with PHP 8.1 or 8.2 version. I hope your error will go away.
Yes, that is the only way
I just realize this.
I have to instances of same CRM on two subdomain. One is Version 7.14.2 on PHP 8.2.15, and I donāt have any problems here, no undefined fields, everything fine. Then I made copy of this CRM to new subdomain and made migration to SuiteCRM 8.5.0 on PHP 8.2.15 and only then I started having this undefined fields. So the PHP is not the main problem here, it is something in CRM 8.5 files that is making this error. The main difference in quotes is that version 8.5 now have Line Item group.
I know this post is old but I had this same problem (undefined labels in the line items of an invoice and quote) in SuiteCRM 8.6.1 fresh install with no custom modules on a shared webserver.
In the server logs I found permission denied errors for the crm/public/legacy/cache/jsLanguage subdirectories. Permission was 770, changing to 777 solved the problem for me.
Using 777 permissions on a shared server is a really bad idea in terms of securityā¦
The real solution would probably be to get the ownerships right.
Agreed. But I first wanted to get my stuff working. Iāve had quite some permission issues and admit Iāve taken the easy road to solve them. Adding better tuning to my To Do ā¦