Results 1 to 8 of 8

Thread: Problems with the theme: it doesn't show the images

  1. #1
    tepepa is offline Member
    Join Date
    Nov 2010
    Posts
    19

    Default Problems with the theme: it doesn't show the images

    it seems that my sugar installation starts not to show up the images of the theme files.
    For example, in the login page, i can't see the background image of the button.

    analyzing with firebug, it seems that is not possible to read the image in the theme folder.
    But the image is there and i set all the permissions for the everyone user.

    (Versione 6.0.2 (Build 4217))
    Attached Images Attached Images  

  2. #2
    tepepa is offline Member
    Join Date
    Nov 2010
    Posts
    19

    Default Re: Problems with the theme: it doesn't show the images

    OK. It seems that nobody knows how to fix this problem.

    But, at least, is there anybody who knows how to awoid the "entrypoint" function for getting images to send to the style?
    In this case, the "entrypoint request" looks too much "burocratic"..isn't it?

  3. #3
    tepepa is offline Member
    Join Date
    Nov 2010
    Posts
    19

    Default Re: Problems with the theme: it doesn't show the images

    SOme update.

    I have this warning/error (including the stack)

    Warning: unlink(cache/smarty/templates_c\%%85^85B^85B0F62F%%header.tpl.inc) [function.unlink]: No such file or directory occured in D:\xampp\htdocs\assocrm\include\Smarty\Smarty.clas s.php on line 1774

    [2011-03-29 09:59:50] display_stack_trace caller, file: D:\xampp\htdocs\assocrm\include\utils.php line#: 2777
    [L:](:StackTraceErrorHandler)
    D:\xampp\htdocs\assocrm\include\Smarty\Smarty.clas s.php[L:1774](:unlink)
    D:\xampp\htdocs\assocrm\include\Smarty\internals\c ore.rm_auto.php[L:40](Smarty:_unlink)
    D:\xampp\htdocs\assocrm\include\Smarty\Smarty.clas s.php[L:1032](:smarty_core_rm_auto)
    D:\xampp\htdocs\assocrm\include\MVC\View\SugarView .php[L:481](Smarty:clear_compiled_tpl)
    D:\xampp\htdocs\assocrm\include\MVC\View\SugarView .php[L:113](SugarView:displayHeader)
    D:\xampp\htdocs\assocrm\include\MVC\Controller\Sug arController.php[L:291](SugarViewrocess)
    D:\xampp\htdocs\assocrm\include\MVC\Controller\Sug arController.php[L:272](SugarControllerrocessView)
    D:\xampp\htdocs\assocrm\include\MVC\SugarApplicati on.php[L:84](SugarController:execute)
    D:\xampp\htdocs\assocrm\index.php[L:43](SugarApplication:execute)

    is there something connected with the template?

  4. #4
    tepepa is offline Member
    Join Date
    Nov 2010
    Posts
    19

    Default Re: Problems with the theme: it doesn't show the images

    Again me...

    i've tryed also with another installation and everything seems ok there even if i have the same warning and stack information.
    then..that is not a clue...

  5. #5
    tepepa is offline Member
    Join Date
    Nov 2010
    Posts
    19

    Default [SOLVED] Re: Problems with the theme: it doesn't show the images

    Solved.

    even without any help from this forum...
    btw: here the solution: http://www.sugarcrm.com/forums/archi...p/t-60219.html

    hope next time, i'll find more info from here..

  6. #6
    dmetelski is offline Senior Member
    Join Date
    Jul 2010
    Posts
    38

    Default Re: Problems with the theme: it doesn't show the images

    Hi Tepapa,

    I am having the same issue. I looked into it and saw that post but was wondering which of the fixes they list worked for you. Permissions are fine for me.

    Thanks,
    Deon

  7. #7
    tepepa is offline Member
    Join Date
    Nov 2010
    Posts
    19

    Default Re: Problems with the theme: it doesn't show the images

    Hi,
    i've just followed this:
    In the file include/SugarTheme/SugarTheme.php, the function getCSSURL I changed the
    $cssFileContents = str_ireplace("entryPoint=getImage&",
    "entryPoint=getImage&themeName={$this->dirName}&",
    $cssFileContents);
    for this:
    $cssFileContents = str_ireplace("index.php?entryPoint=getImage&imageN ame=",
    "themes/default/images/",
    $cssFileContents);

    and everything seems ok now.
    Hope it works for you as well!

  8. #8
    dmetelski is offline Senior Member
    Join Date
    Jul 2010
    Posts
    38

    Default Re: Problems with the theme: it doesn't show the images

    I wish that did work. But of course it didn't and neither did any of the other solutions. The only way is if I do a direct link from the CSS to the image file. Not quite sure what the deal is about the entrypoint path and why it is used instead of a direct link in my custom CSS. Does anyone know if this is a security issue?

    Thanks,
    Deon

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 2010-05-04, 05:02 AM
  2. Theme retrieving incorrect images
    By mooky in forum Help
    Replies: 0
    Last Post: 2008-12-16, 11:38 PM
  3. images in email template do not show up
    By Uddhava in forum Help
    Replies: 0
    Last Post: 2007-09-04, 10:53 AM
  4. Replies: 2
    Last Post: 2005-04-20, 10:33 AM
  5. Images Sugar theme
    By Eiken in forum Downloads
    Replies: 3
    Last Post: 2005-01-24, 05:43 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
  •