trollster — 2012-12-25T23:15:52-05:00 — #1
I followed Alex's register and login series from PHP Academy. I made one like his just the same way just that my CSS files were different. Now this is my problem.
My bootstrap folder contains css, js and img folders. My core folder contains init file, database folder having connect file and functions folder having general functions and user functions files. My includes folder contains the header, footer, navbar and all, along with an overall folder having overall header and overall footer.
All the files included above are linked and relative to the index.
I created a new folder called forums in the root directory and I put an index file inside it. I just put the path as include '../core/init.php', include '../includes/overall/header.php', etc. Just added two dots to traverse back and then include the files and styles but I am getting all sorts of warnings and errors. I want to create a new folder in the root directory and include all these files, functionality and styles. Please help me do this.
molona — 2012-12-26T03:29:51-05:00 — #2
The attachment can't be seen... it is simply too small.
It would be better if you tell us which errors you get and the code of the page where you get that error.
you can use the [noparse]
[/noparse] tags to do so
trollster — 2012-12-27T08:42:47-05:00 — #3
molona — 2012-12-28T09:00:35-05:00 — #4
Just out of curiosity... is your directory named "Includes" or "includes". Some web servers are case sensitive and this may affect your programming.
trollster — 2012-12-28T20:46:59-05:00 — #5
It's "includes" and I always check for typos and case sensitivity. Not a problem here either.
molona — 2013-01-03T11:38:13-05:00 — #6
It seems that you found your answer. I can see that the page in stackoverflow has been removed by your own request. That's why I think that the problem is solved.
Sorry that I didn't pay more attention, though. I had a few days away from the computer and I was not checking SP regularly.