|Jan 1, 2013, 09:22 PM||#1|
Troubleshooting advice - paths not resolving when viewing site locally
Ive been around the block with this problem so many times I'm not even sure where to start! Done a lot of searching, spent days on it really. Perhaps someone may have an idea of how best I should attack the issue.
I have a functioning live web site that i have helped put together ( www.chrisdonaldson .com.au/). My initial involvement was limited to css (.less) tweaks and adding all content, but the bulk of the backend-development was done by someone else, who I can't get help from anymore.
Up until the end of September I had been able to make any adjustments, and view the site locally with no problems at all. Now, I need to make some more updates, and something has changed (and I can not work out what).
For some reason the paths aren't resolving correctly. That goes for css, js & images.
The site has an index.php file which appears to bring in a head.html and an index.html - but I don't know anything about php.
The crux of the issue is, that everything was working fine before - ie, I could view the site locally, and all paths resolved correctly, but now when I try and view it, I get plain html without any js or css.
Now I realise I'm supposed to have apache up and running for php - and so I have turned web sharing on, and also tried to go through all the steps to get php going following a tutorial on Lynda .com. But why would this all have worked before without even me thinking about web sharing....and now it doesn't? Something's not adding up.
I cannot for the life of me think why the paths (which as far as I can tell are all relative, and should work same whether up live or on my machine) aren't working. I did notice that some of the paths to images were a little sloppy, so, in my testing Ive tweaked those, and hey presto, I can at least get images to display locally. But the paths look correct for the css and the js, and well, I am just stumped.
Is it possibly a localhost problem with php on my system? Are there ways I can systematically go through some steps that may be at issue here?
Truly, any advice would much appreciated.
MAC OS 10.6.8 (I also have another site that works fine locally, but it doesn't use any php.)
Last edited by Ships; Jan 1, 2013 at 09:25 PM. Reason: typos
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Resolving Advertisement Links||PreetinderBajwa||OS X||0||Dec 27, 2013 09:34 AM|
|Slow Ethernet Ip resolving||AndersVirring||OS X Mavericks (10.9)||0||Dec 18, 2013 03:54 AM|
|Troubleshooting advice needed, A1181 inverter replaced now no video or boot tones||WildCard^||MacBook||1||Nov 5, 2013 08:33 AM|
|How to Access Same Website Locally and Non-locally?||fastpurplemedia||Web Design and Development||3||May 30, 2013 08:10 PM|
|Looking for advice: Storing and retrieving data locally within an iPhone app||DDustiNN||iPhone/iPad Programming||9||Oct 2, 2012 07:16 PM|
All times are GMT -5. The time now is 08:59 AM.