Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 53 matches
Smarty Forum Index
Author Message
  Topic: E_USER_WARNING: math: function call a not allowed
Mastershrimp

Replies: 4
Views: 8631

PostForum: Bugs   Posted: Tue Feb 14, 2012 1:57 pm   Subject: E_USER_WARNING: math: function call a not allowed
According to one of my coworkers the result is:
array(3) { [0]=> string(5) "round" [1]=> string(1) "a" [2]=> string&# ...
  Topic: E_USER_WARNING: math: function call a not allowed
Mastershrimp

Replies: 4
Views: 8631

PostForum: Bugs   Posted: Tue Feb 14, 2012 1:39 pm   Subject: E_USER_WARNING: math: function call a not allowed
Thanks! I'll look into that and get back to you asap.
  Topic: E_USER_WARNING: math: function call a not allowed
Mastershrimp

Replies: 4
Views: 8631

PostForum: Bugs   Posted: Tue Feb 14, 2012 11:30 am   Subject: E_USER_WARNING: math: function call a not allowed
Hi!

Since a few days I observed a new E_USER_WARNING that I havent seen before:
math: function call a not allowed

The only thing I changed in the past days was an update from 3.1.7 to the l ...
  Topic: Suggestion: Dont use mb_split
Mastershrimp

Replies: 11
Views: 12551

PostForum: Bugs   Posted: Thu Nov 17, 2011 3:55 pm   Subject: Suggestion: Dont use mb_split
Ok, they fixed it. Sorry for bothering you guys Wink

Since you seem to be quite the experts on mbstring: What is your recommendation when it comes to regex match/search/replace? Should I use the preg ...
  Topic: Suggestion: Dont use mb_split
Mastershrimp

Replies: 11
Views: 12551

PostForum: Bugs   Posted: Tue Nov 15, 2011 2:52 pm   Subject: Suggestion: Dont use mb_split
Well, talked to Strato. Again. I guess they really dont have a clue what they're doing. First the guy told me they disabled it on purpose (but couldnt tell me why on earth they think there is a securi ...
  Topic: Suggestion: Dont use mb_split
Mastershrimp

Replies: 11
Views: 12551

PostForum: Bugs   Posted: Tue Nov 15, 2011 8:48 am   Subject: Suggestion: Dont use mb_split
Ahhhh relaaaax! I misread your post. Since we were talking about mb_ereg_* the whole time I didnt realize that you started talking about the regular ereg all of a sudden.

So we are on the same page ...
  Topic: Suggestion: Dont use mb_split
Mastershrimp

Replies: 11
Views: 12551

PostForum: Bugs   Posted: Tue Nov 15, 2011 7:44 am   Subject: Suggestion: Dont use mb_split
Hum...you sure that mbstring is deprecated by now? The documentation doesnt say anything about that...http://de.php.net/manual/en/function.mb-ereg-search.php

I perceived mbstring as the next genera ...
  Topic: Suggestion: Dont use mb_split
Mastershrimp

Replies: 11
Views: 12551

PostForum: Bugs   Posted: Mon Nov 14, 2011 8:45 pm   Subject: Suggestion: Dont use mb_split
I was quite baffled too.....last week they silently disabled mb_ereg_* on our webspace, so my boss first thought it was a bug in our system.

After some calls it turned out that they disabled it for ...
  Topic: Suggestion: Dont use mb_split
Mastershrimp

Replies: 11
Views: 12551

PostForum: Bugs   Posted: Mon Nov 14, 2011 6:18 pm   Subject: Suggestion: Dont use mb_split
Hi!

Admittedly more a suggestion than a bug (but it certainly can lead to bug-like behaviour Wink ):

Due to a weird company security policy the provider "Strato" (which is quite popular ...
  Topic: Endless loop while trying to compile a template
Mastershrimp

Replies: 25
Views: 18556

PostForum: Bugs   Posted: Thu Oct 20, 2011 12:15 pm   Subject: Endless loop while trying to compile a template
Alright, just saw the commit in the changelog! Thanks!! Smile
  Topic: Endless loop while trying to compile a template
Mastershrimp

Replies: 25
Views: 18556

PostForum: Bugs   Posted: Thu Oct 20, 2011 11:24 am   Subject: Endless loop while trying to compile a template
What do you mean "not built according to spec"? I indeed have my own error handler, but I tried to implement it the way PHP recommends it. It's been a while though....

Basically my method ...
  Topic: Endless loop while trying to compile a template
Mastershrimp

Replies: 25
Views: 18556

PostForum: Bugs   Posted: Thu Oct 20, 2011 10:45 am   Subject: Endless loop while trying to compile a template
Sorry for being quiet in the past days. Had to work on some other stuff Wink But now I gave it another try - especially since in the meantime you guys released a bunch of updates Wink

First of all: The ...
  Topic: Endless loop while trying to compile a template
Mastershrimp

Replies: 25
Views: 18556

PostForum: Bugs   Posted: Thu Oct 06, 2011 12:40 pm   Subject: Endless loop while trying to compile a template
And then it would print the whole Smarty object? Mh....

Right now I think some odd server configuration or PHP bug causes Smarty to get printed, which is a huge operation due to the big array, so i ...
  Topic: Endless loop while trying to compile a template
Mastershrimp

Replies: 25
Views: 18556

PostForum: Bugs   Posted: Thu Oct 06, 2011 12:19 pm   Subject: Endless loop while trying to compile a template
No, I dont have any custom compiler plugins.

Well, sure, it's a lot of data. But PHP usually handles it just fine. As I said, everything works fine once smarty was able to compile the templates. So ...
  Topic: Endless loop while trying to compile a template
Mastershrimp

Replies: 25
Views: 18556

PostForum: Bugs   Posted: Thu Oct 06, 2011 12:16 pm   Subject: Endless loop while trying to compile a template
Alright, thanks, will do Smile

Might take a while though. I'll get back to you asap. Thanks!! Smile
 
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