Website Help

Talk about just about anything else that is non-gaming here, but keep it clean
User avatar
Michi
Next-Gen
Posts: 4815
Joined: Mon Dec 27, 2010 9:47 pm
Location: Florida

Re: Website Help

Post by Michi »

^ Can you tell me what browser you're using? I've tried checking it today on two different computers using IE, Firefox and Safari, and it's still not showing up. I even deleted the index.php page from the server (I still have a copy) just to see what would happen and the page was still showing up. Then I checked all the index pages on the server (there are a lot), thinking there might be some sort of duplicate somewhere and it was interfering somehow, but there's not. Should I empty my cache maybe? Would that be interfering?

Also, I know linking to the directory is better. The problem is the URL is indicating that the rftm index.php page is in the info folder. It's not. The rftm folder is not embedded in the info folder. The link linking to that rftm index page specifies the URL as http://www.keytrainingcenter.org/rftm. Which makes sense to me. But then it's redirecting it to http://www.keytrainingcenter.org/info/rftm.

There is an index.php page in the info folder (you can see it in the last image I linked), but that's not the page I'm looking for, nor is there a rftm folder in that folder. I thought that maybe one of the info index pages was redirecting the page somehow, but I don't see any evidence of that in the code.

I've relinked all the files and changed the permissions like you suggested, but it's still not showing up. I think I'm going to add a copy of days 1-6 into the info folder, since that seems to be where it wants to link them too, but I don't know if that'll work or not.

Obviously if that doesn't work I'll be heading over to that W3C site.

I still don't understand why the pages were working fine one day and then gone the next :|

If anyone has any more suggestions, feel free to add your 2 cents.

Baring that I think I'm just going to have to tell these people to wait and have the guys who put this stuff together figure this mess out. This is driving me nuts. I told them this thing needed to be fixed months ago and they wait until 3 weeks before their annual run to do anything about it. I'm a web designer, damn it. I work primarily in html. I shouldn't have all this unnecissary stress because of their epic procrastination :?
User avatar
KDub
Next-Gen
Posts: 1646
Joined: Fri Aug 06, 2010 11:47 pm
Location: St. Louis, MO
Contact:

Re: Website Help

Post by KDub »

Hmm now if I use the /info/rftm/day_1.php (or any number)
I just get refreshed back to that RFTM page.

This is all kinds of screwy now.

In the developer console (using chrome) the map links to these .html files
http://www.keytrainingcenter.org/perry.html
http://www.keytrainingcenter.org/crystal_river.html

Etc
Which lead to nothing....
User avatar
Michi
Next-Gen
Posts: 4815
Joined: Mon Dec 27, 2010 9:47 pm
Location: Florida

Re: Website Help

Post by Michi »

KDub wrote:Hmm now if I use the /info/rftm/day_1.php (or any number)
I just get refreshed back to that RFTM page.

This is all kinds of screwy now.

In the developer console (using chrome) the map links to these .html files
http://www.keytrainingcenter.org/perry.html
http://www.keytrainingcenter.org/crystal_river.html

Etc
Which lead to nothing....
Gah! Was it doing that before? It shouldn't do that if all I did was change the href tags should it?

And where the hell did those two pages come from!

This is starting to piss me off :evil:
User avatar
o.pwuaioc
Next-Gen
Posts: 8484
Joined: Tue Mar 29, 2011 7:59 pm
Location: I miss NYC.

Re: Website Help

Post by o.pwuaioc »

Michi wrote:
KDub wrote:Hmm now if I use the /info/rftm/day_1.php (or any number)
I just get refreshed back to that RFTM page.

This is all kinds of screwy now.

In the developer console (using chrome) the map links to these .html files
http://www.keytrainingcenter.org/perry.html
http://www.keytrainingcenter.org/crystal_river.html

Etc
Which lead to nothing....
Gah! Was it doing that before? It shouldn't do that if all I did was change the href tags should it?

And where the hell did those two pages come from!

This is starting to piss me off :evil:
I'm not quite sure this is possible to solve without looking at all the code. Is there any redirection that is going on anywhere?
User avatar
Michi
Next-Gen
Posts: 4815
Joined: Mon Dec 27, 2010 9:47 pm
Location: Florida

Re: Website Help

Post by Michi »

o.pwuaioc wrote:
Michi wrote:
KDub wrote:Hmm now if I use the /info/rftm/day_1.php (or any number)
I just get refreshed back to that RFTM page.

This is all kinds of screwy now.

In the developer console (using chrome) the map links to these .html files
http://www.keytrainingcenter.org/perry.html
http://www.keytrainingcenter.org/crystal_river.html

Etc
Which lead to nothing....
Gah! Was it doing that before? It shouldn't do that if all I did was change the href tags should it?

And where the hell did those two pages come from!

This is starting to piss me off :evil:
I'm not quite sure this is possible to solve without looking at all the code. Is there any redirection that is going on anywhere?
I don't see any meta tags that should do that in between the head tags on the index page or the day pages. Is there some other way to do it that I don't know about?
User avatar
o.pwuaioc
Next-Gen
Posts: 8484
Joined: Tue Mar 29, 2011 7:59 pm
Location: I miss NYC.

Re: Website Help

Post by o.pwuaioc »

Yeah, through PHP or Javascript. Can you search to see where those pages' URLs might be in code?
User avatar
Michi
Next-Gen
Posts: 4815
Joined: Mon Dec 27, 2010 9:47 pm
Location: Florida

Re: Website Help

Post by Michi »

The only PHP files that the index links to is the navigation and footer, and it doesn't look like there's a redirect anywhere in those. There are links, but they link to what they're supposed to.

And the index page does have one of those html pages. But it's only got the one, href="crystal_river.html" (and I can't find that file anywhere). It's the first thing listed in the map area. But the others are nowhere to be seen.

Should I delete it? You can see it in one of my first images. Even if I did I'm not sure if/when it would show up. A lot of changes I've made haven't shown up (though the spelling corrections have, go figure.) Something is screwy somewhere and I can't figure out where.
User avatar
Cronozilla
Next-Gen
Posts: 2609
Joined: Wed Mar 14, 2012 8:15 pm
Location: Oregon, USA.

Re: Website Help

Post by Cronozilla »

It's important to understand that PHP is nothing like HTML. HTML is just a display language to translate things to the browser. PHP is a scripting language that gets ran on the server when the files are accessed through a browser (or in the PHP runtime)

There's a lot of stuff that could be linked at various places ... it's not really possible to know without actually looking at the files themselves and seeing what the code is doing.

Some things to keep in mind are that, if there's a php file ... that means it does something. It's not going to just display some information, it's going to act like a function of some kind.

So, it really depends on how this whole framework was setup, which ... from the snippet of code given, I can't tell why it would be doing this.

I'm running the latest Firefox.

OH. wait, I just noticed something. You want things to go to ... http://www.keytrainingcenter.org/home but it's inserting an info directory everywhere? like http://www.keytrainingcenter.org/info/home ?

That is an apache issue with redirection and setting home directories and that kind of stuff. If the host has updated their server (it might not be Apache, it could be any number of server software) then the settings could be different, or someone may have inadvertently changed them without realizing.

Anyway, check out some server information of the current site make sure all the home directories are correct things like that. Then maybe follow the code in these php files. You can know what functions are being executed by the names used, but it looks like they're purely just calling an entire file as a function. So you can go and look at those and see what they're doing with addresses things like that. It might not just be using files that are href attributes ... you should look at link references too.

Currently, I'm not sure what else I could say without actually looking at the files, and obviously that's not in their best interest.

Scripting can be complicated stuff. And PHP is a wonky language sometimes.
User avatar
Michi
Next-Gen
Posts: 4815
Joined: Mon Dec 27, 2010 9:47 pm
Location: Florida

Re: Website Help

Post by Michi »

Cronozilla wrote:It's important to understand that PHP is nothing like HTML. HTML is just a display language to translate things to the browser. PHP is a scripting language that gets ran on the server when the files are accessed through a browser (or in the PHP runtime)
Yes, I know. Like I said in the opening, I'm not familiar with PHP, though I have used it before for email/order forms, but that's as far as my knowledge goes.
Cronozilla wrote:So, it really depends on how this whole framework was setup, which ... from the snippet of code given, I can't tell why it would be doing this.
That's just it. When the people I work for emailed me I read through their correspondence with the original programmers and the guys who put this together explicitly stated that all they needed was someone with "html knowledge" to fix what looked to be a simple linking error. But after two days of code reading, I get the distinct impression that it's a little bit more than that.
Cronozilla wrote:OH. wait, I just noticed something. You want things to go to ... http://www.keytrainingcenter.org/home but it's inserting an info directory everywhere? like http://www.keytrainingcenter.org/info/home ?

That is an apache issue with redirection and setting home directories and that kind of stuff. If the host has updated their server (it might not be Apache, it could be any number of server software) then the settings could be different, or someone may have inadvertently changed them without realizing.
YES! And it's doing that with several different pages, all of which seem to be linked properly and in the right directories.

For example, the About, Services, Employment, How to Help, Contact, and Donate pages are all located in the main directory. However, it's inserting the info directory into the last three links in the navigation, even though they're all linked properly in the navigation bar and in the same directory.

This is all very quickly turning into something far out of my realm of expertise. If it was just html edits like they originally stated, I could do it. And really, I could probably figure this all out with enough time, but they need these up fast and I don't think I'm going to be able to pull it off, not with all the other stuff they're going to have me do before their run starts. I'm afraid I'm going to have to tell them that they're just going to have to get the other guys to do it (Much as I hate too). They created it, they'll be able to fix it faster.

They're probably going to have to pay them a good chunk to get it fixed in time, but I'll view that as the consequences of their procrastination. Maybe next time I tell them there's a problem (like I did 3 months ago) they'll work a little faster to get it fixed :?
User avatar
Michi
Next-Gen
Posts: 4815
Joined: Mon Dec 27, 2010 9:47 pm
Location: Florida

Re: Website Help

Post by Michi »

Ha! I got it to work!

http://keytrainingcenter.org/info/rftm

Screw you, server!
Post Reply