Current time: 09-28-2024, 09:28 AM Hello There, Guest! (LoginRegister)


Post Reply 
Pages showing brace-enclosed tags
Author Message
amartin Offline
Newbie
*

Posts: 8
Joined: Jul 2009
Reputation: 0
Post: #4
RE: Pages showing brace-enclosed tags
I'm getting this warning message:
Warning: substr() expects parameter 2 to be long, string given in /var/www/ispcp/gui/include/class.pTemplate.php on line 279

This line looks like the string substitution start.
PHP Code:
$curl_b substr($data'{'$start_from); 

I'm a bit lost here, because substr receives '{' as second parameter.

Why does this work with PHP 5.2 and not with PHP 5.3?
I got it! It should be 1, instead of '{'.
PHP Code:
$curl_b substr($data1$start_from); 

My first steps in PHP Smile

Don't know why this works with PHP 5.2. Should this be this considered a bug?
(This post was last modified: 07-15-2009 09:57 PM by amartin.)
07-15-2009 09:34 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Pages showing brace-enclosed tags - amartin - 07-15-2009 09:34 PM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)