Hi, just starting out with PHP, have watched some tutorials concerning functions and am using cartweaver to create an internet store. I'm using a template and customsing it.
When I load the site index page I get this error:
Fatal error: Call to undefined function expandPath() in C:\xampp\htdocs\brmstest\cw4\cwapp\func\cw-func-product.php on line 400
Line 400 of cw-func-product.php is:
$imageDirPath = expandPath(CWtrailingChar($_ENV["application.cw"]["appCWContentDir"],"remove") . CWtrailingChar(CWleadingChar($_ENV["application.cw"]["appImagesDir"])) . CWtrailingChar(CWleadingChar($imageTypeDir,"remove")));Where should I find the function expand path? I don't know if it exists or does it just defining in this file in particular?
If I need to define the function, where and how do I do that?
Thanks in advance for any help. I hope my question isn't too stupid.