ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Fresh Variables

November 21, 2007 10:20am

Subscribe [24]
  • #91 / Jan 27, 2010 4:50pm

    eeart

    257 posts

    cp/cp.utilities.php has Permissions 644 also.

  • #92 / Jan 27, 2010 4:53pm

    Derek Jones

    7561 posts

    The error mentions cp.utilities.php just to indicate on which line of the script the error occurred.  The file that PHP does not have permission to include is in the second line of the error message.  I would ask your server admin to check that the file has not only the right permissions but the right owner for PHP to have read access.

  • #93 / Jan 29, 2010 4:50pm

    eeart

    257 posts

    Yes, this was the problem. The Fresh Variables files had the wrong owner. I don’t know how this happened. Thank you Derek.

  • #94 / Jan 29, 2010 4:59pm

    Derek Jones

    7561 posts

    It can happen sometimes when files are moved, depending on how and by whom the files are moved.  Glad to help!

  • #95 / Sep 01, 2010 2:07am

    Avis Austin

    1 posts

    This is great Derek, thanks.  Is there any performance gain by using fresh variables instead of an embed, say for a header or a footer or is that not an appropriate use for it?

    Spam removed, account banned

  • #96 / Sep 23, 2010 8:36pm

    Tyssen

    756 posts

    Not sure what I’m doing wrong, but if I create a FV called my_date with %d %m %Y and then in my template have {event_date format="{my_date}”}, what I get output to the page is what’s in the template, i.e. {event_date format="{my_date}”}. I’ve got the module and extension enabled. Am I missing something?

  • #97 / Sep 24, 2010 2:11pm

    Derek Jones

    7561 posts

    Can you give the full context, Tyssen?  A reduced template that is failing for you would be great.  Also, does {my_date} output anything for you outside of any tags or variables?

  • #98 / Sep 26, 2010 6:34pm

    Tyssen

    756 posts

    Not sure what was going on before but it seems to be working OK now. Maybe a caching issue.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases