Hi all,
I am a new user of sugarcrm.working on windows,using SugarCRM 4.5 with php 5.1.0 and Apache 2.0.59.
I want to write a new method in modules/Leads/LeadFormBase.php...
to start with, i have created one 'modules/Leads/saveLead.php '...and from that file i am calling the method in LeadFormBase.php
firstly i got a fatal error when i tried following line in my 'modules/Leads/saveLead.php ' file...
require_once('modules/Leads/LeadFormBase.php');.....but i got error which said that no such file/directory exists...
hence i changed it to simply require_once('LeadFormBase.php') since both these files were at same directory level...and it worked.
But noe when I go to 'LeadFormBase.php' and write -- require_once('Lead.php'); I am again getting fatal error as
PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'data/SugarBean.php' (include_path='.;C:\\php5\\pear') in D:\\Apache\\Apache2\\htdocs\\SugarSuite-Full-4.5.0\\modules\\Leads\\Lead.php on line 34
and i can't feagure out why is it not finding the required files??
can plz anybody help me out??


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks