Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 60 matches
Smarty Forum Index
Author Message
  Topic: Strip Error?
rustybucket

Replies: 18
Views: 24317

PostForum: Smarty 3   Posted: Wed Mar 24, 2010 7:22 pm   Subject: Strip Error?
Ok, that seems to be working now! Thanks Guys!!
  Topic: Strip Error?
rustybucket

Replies: 18
Views: 24317

PostForum: Smarty 3   Posted: Wed Mar 24, 2010 6:58 pm   Subject: Strip Error?
so, something like this? I'm not sure I'm understanding fully...

class Dealer_Smarty extends Smarty {
function __construct() {
parent::__construct(); ...
  Topic: Strip Error?
rustybucket

Replies: 18
Views: 24317

PostForum: Smarty 3   Posted: Wed Mar 24, 2010 6:48 pm   Subject: Strip Error?
Response to the var_dump(is_writable())

bool(true)


APP_DIR is a path that's defined earlier. I wanted/needed a more 'portable' way of implementing smarty and transferring between servers so a ...
  Topic: Strip Error?
rustybucket

Replies: 18
Views: 24317

PostForum: Smarty 3   Posted: Wed Mar 24, 2010 6:43 pm   Subject: Strip Error?
There was recently a bug fix for smarty_internal_utility.php.
You must use the latest SVN version.

I just downloaded the newest beta (3.0b8) this morning from the smarty.net site. Is there somewhe ...
  Topic: Strip Error?
rustybucket

Replies: 18
Views: 24317

PostForum: Smarty 3   Posted: Wed Mar 24, 2010 6:36 pm   Subject: Strip Error?
Yes, it's a string. All paths are absolute paths. Again, all of this setup info works just fine if I switch back to the v2 smarty libs.

Here's where I define the paths


// smarty configuratio ...
  Topic: Strip Error?
rustybucket

Replies: 18
Views: 24317

PostForum: Smarty 3   Posted: Wed Mar 24, 2010 6:26 pm   Subject: Strip Error?
ok, yup definitely something going on here.

as per mohrt's instructions

Smarty Installation test...
Testing template directory...
FAILED: ./templates/ is not a directory.
Testing compile dire ...
  Topic: Strip Error?
rustybucket

Replies: 18
Views: 24317

PostForum: Smarty 3   Posted: Wed Mar 24, 2010 6:00 pm   Subject: Strip Error?
I checked that and everything looks good with the path.

I am testing smarty this way, (maybe this is my problem?)

I have a directory /smarty/libs/

I can run a v2 site just fine with this setu ...
  Topic: Strip Error?
rustybucket

Replies: 18
Views: 24317

PostForum: Smarty 3   Posted: Wed Mar 24, 2010 4:01 pm   Subject: Strip Error?
I'm just trying to get my feet wet with v3 right now. Fired up a test environment with 3 and brought in one of my v2 sites. I'm getting this error.

Fatal error: Uncaught exception 'Exception' wit ...
  Topic: Smarty 3 Beta 8 Released
rustybucket

Replies: 38
Views: 102096

PostForum: Smarty 3   Posted: Wed Mar 24, 2010 3:37 pm   Subject: 3 Documentation
I may have missed it, but is there a documentation section for the Beta?

I did find the README file and it helped but was just wondering if there was a section on documentation I was missing?

Th ...
  Topic: sleep() php script causes db to loose connection
rustybucket

Replies: 0
Views: 7187

PostForum: Smarty 3   Posted: Mon Jan 18, 2010 4:08 pm   Subject: sleep() php script causes db to loose connection
This is not really a smarty question, more of a php question, maybe a mysql question....?

I have a php script that needs to sleep() for a few seconds on each iteration as it iterates through a fore ...
  Topic: Resource not re-compiling when db updated.
rustybucket

Replies: 7
Views: 9678

PostForum: General   Posted: Sun Dec 06, 2009 6:29 pm   Subject: Resource not re-compiling when db updated.
Wow! Can't thank you guys enough!!

For an immediate fix I just used the php function. For a long term fix I need to alter my script to insert the unix stamp into the db.

Thanks again!! Much a ...
  Topic: Resource not re-compiling when db updated.
rustybucket

Replies: 7
Views: 9678

PostForum: General   Posted: Sun Dec 06, 2009 5:04 pm   Subject: Resource not re-compiling when db updated.
Could definitely be a possibility.

My timestamp format is as such: 2009-12-06 09:39:53

It appears to be updating in the database correctly (ie, when I update an email template the timestamp bec ...
  Topic: Resource not re-compiling when db updated.
rustybucket

Replies: 7
Views: 9678

PostForum: General   Posted: Sun Dec 06, 2009 4:12 pm   Subject: Resource not re-compiling when db updated.
I have a resource that pulls some html from a mysql database and populates smarty vars inside of it (like using a normal template). All is working fine EXCEPT....

If I change the entry in the data ...
  Topic: disabling caching for certain files... possible?
rustybucket

Replies: 1
Views: 3777

PostForum: General   Posted: Sun Oct 11, 2009 3:25 pm   Subject: disabling caching for certain files... possible?
Hello All! I've created a couple of resources to pull templates from a database. My problem is that smarty is caching the results in templates_c . So when the database entry changes, smarty is stil ...
  Topic: html_select_date Pre-Selecting a year.
rustybucket

Replies: 1
Views: 4067

PostForum: General   Posted: Tue Jul 14, 2009 2:42 pm   Subject: html_select_date Pre-Selecting a year.
It looks like I was looking at the wrong parameters. Looks like the selected= tag works

{html_select_date prefix='model' start_year='+1' end_year='-100' display_days=false display_months=false rev ...
 
Page 1 of 4 Goto page 1, 2, 3, 4  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP