I am installing shopping cart software (ashop software) in a xampp environment (Which installed lovely thank you very much......) and the shopping cart software can't seem to find its path.
I am getting these errors.
> Warning: main(c:\production
> mpp\htdocs\ashopdx40/admin/version.inc.php)
> [function.main]: failed to open stream: Invalid argument in
> C:\production\xampp\htdocs\ashopdx40\admin\config.inc.php on line 67
>
> Warning: main() [function.include]: Failed opening \'c:\production
> mpp\htdocs\ashopdx40/admin/version.inc.php\' for inclusion
> (include_path=\'.;C:\production\xampp\php\pear\') in
> C:\production\xampp\htdocs\ashopdx40\admin\config.inc.php on line 67
>
> I get the same kind of error for line 71.
>
> Here is the code.
>
> Line 66 // Version check...
> Line 67 include \"$ashoppath/admin/version.inc.php\";
> Line 68 if ($ashopversion != $version && !$updating) die(\"Error!
> Version mismatch! Run the update script.\"); Line 69
> Line 70 // Check that there is an ioncube loader for this version of
> PHP...
> Line 71 include \"$ashoppath/admin/checkion.inc.php\";
I included a print statement to the file to see what $ashopath would return and it returned:
c:\production mpp\htdocs\ashopdx40
the absolute path is c:\production\xampp\htdocs\ashopdx40
I am unfamiliar with PHP, and XAMPP. Can anyone tell me why this happens and how I should phrase my include statement?