47504

Question:
Im using Php 7.1 in windows.
<strong>Error i get:</strong>
<blockquote>PHP Fatal error: require_once(): Failed opening required 'Suite_dev/service/v4_1/SugarWebServiceImplv4_1.php' (include_path='D:/Ampps/php-7.1/pear') in D:\Ampps\www\Suite_dev\custom\service\v4_1_custom\SugarWebServiceImplv4_1_custom.php on line 4
</blockquote><strong>Workaround</strong> i did in php ini file:
; Windows: "\path1;\path2"
include_path = "{$path}\php-7.1\pear"
Downloaded and installed php pear and tested pear is working.
Even after pear is installed, i still get above error.
Also tried something like:
include('../../../service/v4_1/SugarWebServiceImplv4_1.php');
Still i get the same error.
Answer1:includes in Sugar are usually relative paths based on Sugar's main folder.
So should be
service/v4_1/SugarWebServiceImplv4_1.php
<em>without</em> a leading Suite_dev/