Quote:
Originally Posted by Real Talk
i get this error
Fatal error: Cannot redeclare pp_get_ext() (previously declared in /hsphere/local/home/trudaily/trudaily.com/gallery/ppp_block.php:64) in /hsphere/local/home/trudaily/trudaily.com/member.php(652) : eval()'d code on line 459
the photopostblock hack which displays pics at the top of my forum home page. it shows random images. it works fine when i disable it.
they both use the same variable. how can i get both to work at the same time
|
ok try this open the plugin "PhotoPost Gallery Photos in profile" and find this code
PHP Code:
function pp_get_ext($filename)
{
return substr($filename, strrpos($filename,"."));
}
comment it out like this
PHP Code:
/*function pp_get_ext($filename)
{
return substr($filename, strrpos($filename,"."));
}*/
now try again