For some strange reason, I cannot understand right now, NoEmbed.php fails with a fatal error when trying to include a file. The include path is set correctly, I checked that, as shown below (right before the require_once directive in NoEmbed.php):
$s = ini_get('include_path'); $a = explode(':',$s); foreach($a AS $path) { echo $path; if(file_exists($path.'/Zend/Gdata/Extension.php')) echo '...found<br/>'; else echo '...not found<br/>'; }
which displays "found" at the expected location.
I have to admit that at present I canโt think of any reason why this should happen, especially after NoEmbed.php is enabled correctly. I ran into similar issues with caching solutions, but they were all deactivated or deleted without making any difference.
Edit: I just found that it works with "require" vs "require_once" (then throws a reuse error) ... any possible reason for this?
source share