Hi everyone, I was creating relationships in custom modules and suite modules via Studio, at a certain point I can no longer access the “relations button” within the module.
I click but nothing appears, no errors (not even in suitecrm.log) and no window.
I initially checked for errors within “developer tools” within the browser and the message appeared: error 500 internal server error.
I then enabled “display errors” and these messages appear:
Warning: require_once(custom/modules/AOS_Products_Quotes/Line_Items.php): Failed to open stream: No such file or directory in /home/suitecrm/include/SearchForm/SearchForm2.php on line 696
what do you mean by reset permissions and file ownership? The folder containing searchform2 has 755 permissions, the file has 644, I changed it to 755, but nothing changes
sudo chmod -R 755 .
sudo chmod -R 775 cache custom modules themes data upload config_override.php
sudo chown -R www-data:www-data .
www-data may or may not be the correct owner, check all you other files for reference.
One other thing you can try is all the rebuild JS stuff in repair and rebuild. Sometimes that helps (assuming its not a permissions issue if you re-set the permissions and ownerships as instructed).
After having worked on it a lot, having done all the repairs several times, the problem was the lack of the Line_Items.php file (after @chris001’s suggestion), strange, because it is a new installation, furthermore at the beginning I had no problems accessing the reports of the various modules and I had some created, so I don’t understand what happened at some point.
In any case, I solved it by adding the files:
Line_Items.php
line_items.js
I took them from version 7.12 and pasted them into version 7.14, I don’t know how correct it is, if between the two versions, these files are different, but right now it works.
Upgrading from 7.13 to 7.14 and has PHP 8.2. I changed PHP version from 7.4 to 8.2 after upgrade completed. Now, I am doing QR&R. It is stuck at Rebuilding Relationships line.