http://www.sabresjunkie.com/forum/ |
|
| dear nerds: i need your help http://www.sabresjunkie.com/forum/viewtopic.php?f=8&t=6913 |
Page 1 of 1 |
| Author: | peteythedancingsabre [ Tue Feb 07, 2012 8:06 pm ] |
| Post subject: | dear nerds: i need your help |
Okay, so as everyone probably knows from my bitching, I'm working on this site for my dad. After numerous issues, I thought I finally got it to work. He kept having problems when he uploaded it to his site, so I decided to upload it to my personal UB site to work out the kinks. I fixed everything and it all looks great, as seen here: http://www.acsu.buffalo.edu/~ana6/portal.php The drop down menu works, the images pop open showing all the stuff inside, blah dee blah. It's all handy dandy. Good, right? Just upload it to my dad's site and voila. Well, not so much. We uploaded it to his site and it still didn't work, as seen here: http://www.nieteacher.org/nienie/ The drop down menu doesn't appear, and the images work, but the pop up box no longer does. As far as I can tell, the only reason this is happening is because the webpage doesn't appear to be registering the css or js files, which make everything work. When I go to the source code on my site, and click, say the lightbox.css file, it opens a new window to show the code for that. On my dad's website, it's an empty link. It just redirects itself back to the main page of the site. It shows the css/js files on the FTP. It's right there, sitting in the folder. The css/js, as far as I can tell, is linked up perfectly fine in the main file (portal.php). So, what gives? There are only 2 major differences between these two sites. One, my dad has to use a portal (which, on my site, isn't hooked up, obviously) in order to make his site work, because in the organization, there's apparently a bunch of different websites exactly like this for each of the members... or something like that. Secondly, when uploaded to the FTP, I put my files in public_html, 'cause that's the place I'm supposed to put them. In his, it goes in some folder called 'www'. Can anyone figure out why everything works so perfectly on my site, but then blows up on his? I just don't get it. Everything is uploaded the same. For all intents and purposes, it's almost identical... but one works and one doesn't. So, nerds of sabresjunkie, help a sista out? |
|
| Author: | Crosscheck [ Tue Feb 07, 2012 8:25 pm ] |
| Post subject: | Re: dear nerds: i need your help |
the server that's serving up your Dad's page is returning 404's (FIle not found) for all the css files. Open it in chrome...right click on the page and select "inspect element" then go to the resources tab and you can see the css that is or is not being loaded. Hope that helps a bit |
|
| Author: | Crosscheck [ Tue Feb 07, 2012 8:29 pm ] |
| Post subject: | Re: dear nerds: i need your help |
upon further inspection it looks like perhaps it's looking for things in /css/ when in reality on his server the path is /nienie/css? Something like that...looks to be a path issue. |
|
| Author: | peteythedancingsabre [ Tue Feb 07, 2012 8:31 pm ] |
| Post subject: | Re: dear nerds: i need your help |
Hmm... okay. I'll try fixing the path and see what happens. |
|
| Author: | Crosscheck [ Tue Feb 07, 2012 8:33 pm ] |
| Post subject: | Re: dear nerds: i need your help |
but like I said...use chrome to inspect the page and you can see exactly what it's doing and what is broken. Either that or get the firebug plugin for firefox, it makes debugging a lot easier. |
|
| Author: | peteythedancingsabre [ Tue Feb 07, 2012 8:53 pm ] |
| Post subject: | Re: dear nerds: i need your help |
Ok... for some reason, the site isn't taking my changes. Like, I'll try and change the path, then reupload portal.php onto the site... but it doesn't register any changes. EDIT: Did the firebug thing, and tried making the changes to the path and it worked. However, when I put those changes to the portal.php file and upload it, it don't work. |
|
| Author: | Crosscheck [ Tue Feb 07, 2012 9:17 pm ] |
| Post subject: | Re: dear nerds: i need your help |
clear your cache? Perhaps there's a cache on the server side? /always the first place to look when you don't see expected changes |
|
| Author: | NYIntensity [ Tue Feb 07, 2012 9:22 pm ] |
| Post subject: | Re: dear nerds: i need your help |
It makes sense that it would work on your dad's site but not when uploaded to your personal /portal.php site, because the paths are going to be different between the web servers. /I could be speaking out my ass //But I'm pretty sure I'm not |
|
| Author: | peteythedancingsabre [ Tue Feb 07, 2012 9:23 pm ] |
| Post subject: | Re: dear nerds: i need your help |
Cleared my cache--nada. No idea about the server side. I don't really get what's going on. It says I've uploaded it successfully, but it doesn't update correctly. :/ And NY, it's the opposite. Works on my site, doesn't work on his. That's why it's weird. I've figured out the problem, and have fixed it. It just isn't updating. |
|
| Author: | NYIntensity [ Tue Feb 07, 2012 9:28 pm ] |
| Post subject: | Re: dear nerds: i need your help |
Sorry - too many beers in to be coherent (kinda). I see the differences, but I'll bow out, since, well, I have no clue outside of bad references what could be wrong. |
|
| Author: | Crosscheck [ Tue Feb 07, 2012 9:45 pm ] |
| Post subject: | Re: dear nerds: i need your help |
peteythedancingsabre wrote: I've figured out the problem, and have fixed it. It just isn't updating. Logic says it must be one of two things then...either it's being cached (on the server side since you cleared your local cache) or it's getting uploaded incorrectly or to the wrong place. ...um...probably |
|
| Author: | peteythedancingsabre [ Tue Feb 07, 2012 9:58 pm ] |
| Post subject: | Re: dear nerds: i need your help |
How in the hell do I clear a server cache? lol |
|
| Author: | Displaced Fan [ Wed Feb 08, 2012 12:41 am ] |
| Post subject: | Re: dear nerds: i need your help |
![]() Just posting this because you guys make me feel dumb |
|
| Author: | Crosscheck [ Wed Feb 08, 2012 1:54 am ] |
| Post subject: | Re: dear nerds: i need your help |
peteythedancingsabre wrote: How in the hell do I clear a server cache? lol Unless you're the server admin you can't (generally speaking). Although if it's set up reasonably it should clear on its own. Have you tried using a friend's computer with a browser that's never been to that site? That would be an easy way to discover whether the problem is on the server side or your side. |
|
| Author: | peteythedancingsabre [ Wed Feb 08, 2012 11:02 am ] |
| Post subject: | Re: dear nerds: i need your help |
Well, I think the problem was that for some reason, the FTP client I was using wasn't updating correctly or something. I have no idea why, but when I signed on just now, it doesn't show any of the files that are supposed to be there... but they're obviously there since my dad's site is up. He was able to do it just fine though from Dreamweaver. I'm guessing either my FTP client fucked up, or something about Dreamweaver fucks things up. In any case, we got the CSS to work, and now we're just working on getting the js to work. |
|
| Author: | peteythedancingsabre [ Wed Feb 08, 2012 2:47 pm ] |
| Post subject: | Re: dear nerds: i need your help |
Holla! Everything is pretty much fixed now. There's a few bugs to sort out, but nothing big. It did turn out to be a stupid path issue, which I finally fixed, so thanks crosscheck. I appreciate the help! |
|
| Author: | Crosscheck [ Wed Feb 08, 2012 2:54 pm ] |
| Post subject: | Re: dear nerds: i need your help |
peteythedancingsabre wrote: Holla! Everything is pretty much fixed now. There's a few bugs to sort out, but nothing big. It did turn out to be a stupid path issue, which I finally fixed, so thanks crosscheck. I appreciate the help! w00t! Glad to be of service |
|
| Page 1 of 1 | All times are UTC - 5 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|