Results 1 to 3 of 3

Thread: Problems after logging in

  1. #1
    Chris80 is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    103

    Question Problems after logging in

    Hello everyone,

    I've got sth strange happening:
    After - not shure whether we changed something at all - we have several errors.
    I could track 3 down to permission stuff on files but this one is more difficult:

    Code:
    Warning: Smarty error: unable to read resource: "" in /var/www/sugar/include/Smarty/Smarty.class.php on line 1095
    since it doesn't tell, what it wants to read

    The whole page looks weird now, I guess it's a problem with the template and it appears on every page I can access (don't have any header menu or sth for navigation)

    Anybody any idea?

    Thanks already
    Bye, Chris

  2. #2
    abhax's Avatar
    abhax is offline Senior Member
    Join Date
    Jun 2010
    Location
    India
    Posts
    65

    Smile Re: Problems after logging in

    Hi,


    The code at line 1095 is
    PHP Code:
     function trigger_error($error_msg$error_type E_USER_WARNING)
        {
            
    trigger_error("Smarty error: $error_msg"$error_type);
        } 
    It just throws an error when the trigger_error function is called. I searched for the error that it was throwing and found out that on line number 1591
    PHP Code:
     if (!$params['quiet']) {
                    
    $this->trigger_error('unable to read resource: "' $params['resource_name'] . '"');
                } 
    It was in the function
    PHP Code:
    function _fetch_resource_info(&$params){ 
    This error is generated when $_return is empty.
    See the function i mentioned above and you will understand what im talking about.
    Some information that smarty uses is missing ...

    and do give the permissions too.



    Hope it is helpful !!!
    If It Is To Be, It Is Up To Me

  3. #3
    abhax's Avatar
    abhax is offline Senior Member
    Join Date
    Jun 2010
    Location
    India
    Posts
    65

    Smile Re: Problems after logging in

    Hi,

    You might wanna looks at this post on smarty forum.
    I might be helpful...

    http://www.smarty.net/forums/viewtop...960bb44563d844



    Hope it is helpful !!!
    If It Is To Be, It Is Up To Me

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Logging out
    By Danielg42 in forum Help
    Replies: 3
    Last Post: 2008-05-12, 03:37 PM
  2. logging
    By kbrill in forum Developer Help
    Replies: 4
    Last Post: 2007-06-07, 01:52 PM
  3. logging
    By kbrill in forum Help
    Replies: 0
    Last Post: 2005-10-21, 09:59 PM
  4. Replies: 3
    Last Post: 2005-08-31, 02:14 PM

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
  •