alex9311 / information-retrieval

TU Delft, Masters Software Technology, Information Retrieval, 3rd Quarter 2015
1 stars 2 forks source link

Can't view the website locally (server noob alert!) #41

Closed GizKockesen closed 9 years ago

GizKockesen commented 9 years ago

I copied the new folder for the template with the php files etc. to my desktop to start editing. however, when I open them in my browser, the css files aren't working and I only see the text with links. I know they normally work and I'm missing something server-related :S I'm just a big noob when it comes to the server-side of things so I have no clue what I need to do to view and edit these php pages :(

alex9311 commented 9 years ago

Hey, its probably my fault, were you able to do that before?

GizKockesen commented 9 years ago

I could view the html files but I can't view the php files. I might be doing something silly and missing something important though :S On 11 Mar 2015 17:35, "alex9311" notifications@github.com wrote:

Hey, its probably my fault, were you able to do that before?

— Reply to this email directly or view it on GitHub https://github.com/alex9311/TUD-Information-Retrieval-Group-02/issues/41#issuecomment-78300929 .

alex9311 commented 9 years ago

I just pushed a change (moving the library folder back into the project) want to try again? I'm hoping that fixes it

GizKockesen commented 9 years ago

Now I see the html pages but still not the php ones, so they're the ones without the header that you created. Might be a stupid question, but do I need to connect to the server to view the php files? Sorry for my noob level! On 11 Mar 2015 17:39, "alex9311" notifications@github.com wrote:

I just pushed a change (moving the library folder back into the project) want to try again? I'm hoping that fixes it

— Reply to this email directly or view it on GitHub https://github.com/alex9311/TUD-Information-Retrieval-Group-02/issues/41#issuecomment-78301924 .

HDking commented 9 years ago

php need a host to run. HTML files can run your browser

alex9311 commented 9 years ago

Ah yeah thats probably your issue, i didn't think of that when moving the common stuff into php.

hmmm. Is this going to be a problem?

HDking commented 9 years ago

You can recreate a html file without the PHP links in them and play around with it. This is what I do for the voting page.

GizKockesen commented 9 years ago

Ohhhhhh okay. So when I add my php form, I add it to the html page. Okay cool thanks guys! On 11 Mar 2015 18:12, "HDking" notifications@github.com wrote:

You can recreate a html file without the PHP links in them and play around with it. This is what I do for the voting page.

— Reply to this email directly or view it on GitHub https://github.com/alex9311/TUD-Information-Retrieval-Group-02/issues/41#issuecomment-78309081 .