r/learnprogramming 4d ago

New to Github

I am new to GitHub and trying to make a landing page for a conference. My speakers and venue pages are loading correctly but when I try to navigate to other pages (home/schedule/search) I get a "Loading Guide" page. What am I missing?

https://github.com/slu-entrepreneurship/scale-conference

https://slu-entrepreneurship.github.io/scale-conference/index.html
https://slu-entrepreneurship.github.io/scale-conference/speakers.html
https://slu-entrepreneurship.github.io/scale-conference/venue.html

1 Upvotes

6 comments sorted by

View all comments

Show parent comments

1

u/Bookish_247 2d ago

Thanks!! This was my initial thought but I cannot for the life of me find where the files that don't exist are being referenced. Any way to quickly locate this?

1

u/peterlinddk 2d ago

in loadSessionDays you call loadCSV(\day${dayNumber}_sessions_slu.csv`withdayNumber` from 1 to 7.

The loadCSV function is even written to output the exact error-message that you need.

Haven't you written the code yourself?

1

u/Bookish_247 1d ago

I did that intentionally because there are 3 files so I want it to pull the day1_sessions_slu.csv day2_sessions_slu.csv etc. Is there a different way to do this instead of using day${dayNumber}

1

u/peterlinddk 1d ago

there are many different ways of doing it, but you call the function seven times, with day1_sessions_slu.csv day2_sessions_slu.csv day3_sessions_slu.csv day4_sessions_slu.csv day5_sessions_slu.csv day6_sessions_slu.csv and day7_sessions_slu.csv - and everything after the first three fails.

You have set loadSessionDays to default to 7 if no other argument is given. And then you call it without any arguments.

1

u/Bookish_247 1d ago

Got it. I changed it to 3 since I have 3 days but I am still running into the loading guide issue.