Hi all.
I have been trying to get my website, which runs fine on my hosts server, to run on my local server for updating.
It has taken me weeks and i am now at a point where i have to ask for help!
So, I copied my htdocs using filezilla. Installed Xampp. I used mysqlog to make a copy of my datbase which is set to localhost and appears in myphpadmin. I have apache running and tested PHP pages work.
In my config.db page I changed it to connect to my local Mysql database. I tested that page and it connected to server.
I can acces my htdocs but it shows them as a folder, when I click on the folder it reads the index.php page but just displays whats on it underneath the mysql connect. which is this
\n"; //breadcrumbs if ($page != 'home'){ $breadcrumbs = getBreadcrumbs($db, $page); echo "
"; echo stripslashes($breadcrumbs); echo '
'; } //include content if (file_exists("content/$page.inc")){ include ("content/$page.inc"); } else { include ("content/error.inc"); } echo "\n"; include ('includes/footer.inc'); //pages with redirects cannot have header included at beginning } else { if (file_exists("content/$page.inc")){ include ("content/$page.inc"); } else { include ("content/error.inc"); } include ('includes/footer.inc'); } ?>
If I open any other pages they do not full load, no images, products or basically anything thats in my database. Its all in my datbase though as I have checked the local one.
I would be so gratefull of some help.
Thanks in advance