Results 1 to 1 of 1

Thread: PHP warning on several tabs

  1. #1
    alanitech is offline Junior Member
    Join Date
    Oct 2006
    Posts
    1

    Default PHP warning on several tabs

    This problem started the very first time I logged in after installing Sugar.

    I get these warnings in the main content area of the Home tab (left, top, bottom navbars render fine):
    Code:
    Warning: fetch(cache/smarty/templates_c\%%09^09B^09BB77A6%%Home.tpl.php) [function.fetch]: failed to open stream: No such file or directory in c:\inetpub\wwwroot\sugar\include\Smarty\Smarty.class.php on line 1265
    
    Warning: fetch() [function.include]: Failed opening 'cache/smarty/templates_c\%%09^09B^09BB77A6%%Home.tpl.php' for inclusion (include_path='.;c:\php4\pear') in c:\inetpub\wwwroot\sugar\include\Smarty\Smarty.class.php on line 1265
    I get the same warnings in the "List" areas of the Activities, Contacts, Accounts, Leads, Opportunities tabs (and a few other screens within those tabs.

    If I suppress warnings in PHP, the list areas don't have any entries. Kind of crippling!!

    Line 1265 is in this block of code as part of the "fetch" function:
    PHP Code:
                if ($this->_is_compiled($resource_name$_smarty_compile_path)
                        || 
    $this->_compile_resource($resource_name$_smarty_compile_path))
                {
    /*1265*/     include($_smarty_compile_path);
                } 
    Any suggestions? I'm not a programmer and don't know how to trace this back to the code that's calling fetch.

    I'm running Windows XP, IIS 5, PHP 4, MySQL 5.
    Last edited by alanitech; 2006-10-04 at 05:24 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •