It is currently Sat May 11, 2024 6:57 am

All times are UTC - 5 hours [ DST ]


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 17 posts ] 
Author Message
peteythedancingsabre
PostPosted: Tue Feb 07, 2012 8:06 pm 
Offline
Textbook Grinder
User avatar

Joined: Wed Sep 09, 2009 11:13 pm
Posts: 468
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?


Top
 Profile  
 
Crosscheck
PostPosted: Tue Feb 07, 2012 8:25 pm 
Offline
Sober enough to run a server
User avatar

Joined: Wed Sep 09, 2009 3:10 am
Posts: 7475
Location: 2,568 miles from the F'n arena
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 :)

_________________
Hold my beer and watch this...


Top
 Profile  
 
Crosscheck
PostPosted: Tue Feb 07, 2012 8:29 pm 
Offline
Sober enough to run a server
User avatar

Joined: Wed Sep 09, 2009 3:10 am
Posts: 7475
Location: 2,568 miles from the F'n arena
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.

_________________
Hold my beer and watch this...


Top
 Profile  
 
peteythedancingsabre
PostPosted: Tue Feb 07, 2012 8:31 pm 
Offline
Textbook Grinder
User avatar

Joined: Wed Sep 09, 2009 11:13 pm
Posts: 468
Hmm... okay. I'll try fixing the path and see what happens.


Top
 Profile  
 
Crosscheck
PostPosted: Tue Feb 07, 2012 8:33 pm 
Offline
Sober enough to run a server
User avatar

Joined: Wed Sep 09, 2009 3:10 am
Posts: 7475
Location: 2,568 miles from the F'n arena
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.

_________________
Hold my beer and watch this...


Top
 Profile  
 
peteythedancingsabre
PostPosted: Tue Feb 07, 2012 8:53 pm 
Offline
Textbook Grinder
User avatar

Joined: Wed Sep 09, 2009 11:13 pm
Posts: 468
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.


Top
 Profile  
 
Crosscheck
PostPosted: Tue Feb 07, 2012 9:17 pm 
Offline
Sober enough to run a server
User avatar

Joined: Wed Sep 09, 2009 3:10 am
Posts: 7475
Location: 2,568 miles from the F'n arena
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

_________________
Hold my beer and watch this...


Top
 Profile  
 
NYIntensity
PostPosted: Tue Feb 07, 2012 9:22 pm 
Offline
Superstar Goalie
User avatar

Joined: Sun Sep 13, 2009 2:11 pm
Posts: 4463
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

_________________
ksquier89 wrote:
Holy fucking fuck...Boyes couldn't suck a dick if it landed in his mouth.


Top
 Profile  
 
peteythedancingsabre
PostPosted: Tue Feb 07, 2012 9:23 pm 
Offline
Textbook Grinder
User avatar

Joined: Wed Sep 09, 2009 11:13 pm
Posts: 468
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.


Top
 Profile  
 
NYIntensity
PostPosted: Tue Feb 07, 2012 9:28 pm 
Offline
Superstar Goalie
User avatar

Joined: Sun Sep 13, 2009 2:11 pm
Posts: 4463
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.

_________________
ksquier89 wrote:
Holy fucking fuck...Boyes couldn't suck a dick if it landed in his mouth.


Top
 Profile  
 
Crosscheck
PostPosted: Tue Feb 07, 2012 9:45 pm 
Offline
Sober enough to run a server
User avatar

Joined: Wed Sep 09, 2009 3:10 am
Posts: 7475
Location: 2,568 miles from the F'n arena
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 :)

_________________
Hold my beer and watch this...


Top
 Profile  
 
peteythedancingsabre
PostPosted: Tue Feb 07, 2012 9:58 pm 
Offline
Textbook Grinder
User avatar

Joined: Wed Sep 09, 2009 11:13 pm
Posts: 468
How in the hell do I clear a server cache? lol


Top
 Profile  
 
Displaced Fan
PostPosted: Wed Feb 08, 2012 12:41 am 
Offline
Superstar Goalie
User avatar

Joined: Sat Apr 03, 2010 1:34 am
Posts: 4097
Image

:P

Just posting this because you guys make me feel dumb :lol:

_________________
Image


Top
 Profile  
 
Crosscheck
PostPosted: Wed Feb 08, 2012 1:54 am 
Offline
Sober enough to run a server
User avatar

Joined: Wed Sep 09, 2009 3:10 am
Posts: 7475
Location: 2,568 miles from the F'n arena
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.

_________________
Hold my beer and watch this...


Top
 Profile  
 
peteythedancingsabre
PostPosted: Wed Feb 08, 2012 11:02 am 
Offline
Textbook Grinder
User avatar

Joined: Wed Sep 09, 2009 11:13 pm
Posts: 468
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.


Top
 Profile  
 
peteythedancingsabre
PostPosted: Wed Feb 08, 2012 2:47 pm 
Offline
Textbook Grinder
User avatar

Joined: Wed Sep 09, 2009 11:13 pm
Posts: 468
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! :)


Top
 Profile  
 
Crosscheck
PostPosted: Wed Feb 08, 2012 2:54 pm 
Offline
Sober enough to run a server
User avatar

Joined: Wed Sep 09, 2009 3:10 am
Posts: 7475
Location: 2,568 miles from the F'n arena
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 :)

_________________
Hold my beer and watch this...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: