PDA

View Full Version : search engine dynamics error


87gtr
December 17th, 2004, 09:55 PM
Warning: Failed opening 'search_engine_dynamics.php' for inclusion (include_path='.:/om/rx7/html/includes') in /om/rx7/html/store/squirrelcart/cart.php on line 431

Jamie
December 17th, 2004, 11:51 PM
Hi,

The line that is generating the error is including the file search_engine_dynamics.php using a relative path, like this:

// include file to dynamically generate titles and meta tags
include "search_engine_dynamics.php";

That works fine on most servers, but occassionaly some don't like it for whatever reason. We usually avoid doing relative includes, but that one slipped into v1.5.1.

The fix is to change it like this:
// include file to dynamically generate titles and meta tags
include "$cart_isp_root/search_engine_dynamics.php";

You can also just upload the attached file to your squirrelcart folder to resolve it.