@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14



Comments:

<0> Yeah, wish XHTML had it's own error system just like PHP, lawl.
<1> you mean validation?
<0> I mean error system, just like PHP does E_* error's.
<2> lawl==Laughing Aloud With Llamas?
<1> :P LOL
<0> Hehe,
<0> Lawl = Laugh a whole lot
<1> maybe isn't a css problem :P
<0> It works perfect in Windows.
<2> phpError: url?
<0> CommandPrompt: Localhost at the moment.
<1> cant you upload it in some free server?
<1> or something like that :P
<0> I have a alive web server, or could set my one up.
<0> There isn't anything wrong with the code, or anything.
<0> It must be a configuration setting.



<3> there are pastebins, but if just moving from windows to linux broke things, i'd take a look at the line separators
<0> Or chmod I've missed.
<2> phpError: DocumentRoot is at /var/www/html/?
<4> phpError: link?
<4> (to the site)
<0> It's not up.
<2> CommandPrompt: Localhost at the moment
<2> :P~
<1> upload!
<0> CommandPrompt: That's got nothing to do with it, DocumentRoot I mean.
<2> phpError: ok, the code is fine, so, it ain't it, which I'd think is your webserver setup
<0> http://rezolabs.zudex.com/
<2> maybe an .htaccess file around or some directive in httpd.conf
<1> then you are in the wrong channel :P, try #linux or something :P
<0> The CSS is working on my host as well.
<0> Just not on this box for some reason.
<2> paths methinks
<0> It's a location error.
<0> It works when including the CSS internally, just not externally.
<0> Crazy stuff this.
<2> heheh
<2> phpError: one may note that relative paths in a .css file address ./ as the folder/directory WHERE THE .CSS FILE IS AT not where the .html/php is at which is using/calling/including it
<2> so, if the .css is being loaded to /index.html from /ducks/and/goats/sheee.css all paths relative in the .css come from /ducks/and/goats/ as being ./
<0> Yeah yeah.
<0> I'm including the header on every main page.
<0> And the header is in the same folder as the CSS.
<0> The header includes the CSS file.
<0> So, it can be ./
<2> and your includes_path() is correct?
<0> As ./ in *nix means the same folder.
<0> Yeah, all my including's are correct.
<0> This is so strange though, I've never had a problem with this before :S
<2> well
<2> not really
<0> I must of made a small and stupid mistake some where.
<2> is just a relative path addressing in the file, which turns out invalid from where you put it in your localhost
<5> wait, wait. You're mixing different things.
<0> Heh, I'll try every version I can think of then :S
<5> CSS is relative, to it's ultimate display location
<5> whereever the BROWSER sees the html, and the css
<2> ..
<0> Must be a chmod.
<2> not very sure on mine or else...... hu.... lemme check my refs, Flannel maybe right :|
<2> phpError: or some .htaccess
<5> as far as the browser (which is what will 'include' the css file) is concerned, you don't have a header included, it's just part of that php page
<0> I don't have any .htaccess yet.
<5> so, the CSS path needs to be relative to your 'main' php page.
<0> Yeah, of cause.
<5> which, if you're using multiple folders and the same CSS file, should probably be relative to your site root.
<0> I have tried every thing possible, even root from / nothing's working.
<0> All chmod's are 755.
<0> This is really strange.
<5> phpError: is it live?
<5> phpError: (can we see it?)
<0> Well,
<5> if not, pastebin
<0> My live version is working perfect.
<5> which doesnt?
<0> The version I had (same one) on Windows is working perfect.
<0> Just my Linux server isn't doing it.



<0> Which is this computer.
<5> so, link us!
<0> http://rezolabs.zudex.com/
<0> That's a working one, with everything exactly the same as this.
<5> right. We want the nonworking one
<0> I'm going to feel so stupid when I find the problem, I know it.
<1> LOL
<0> Flannel: The non-working one is localhost.
<0> And, they are all the same, so just check the alive one.
<0> You'll see my linking.
<5> phpError: so, view it in a browser, and pastebin
<0> My http root is /opt/lampp/htdocs/
<5> right, your linking is also confugsed.
<0> My CSS file /opt/lampp/htdocs/***ets/
<5> No no, this is all client side, don't need internal paths
<2> ..
<0> Yeah yeah.
<5> And, your ancors are all funky.
<2> yes, Flannel is correct, hehe, man, I should slap myself or something
<5> CommandPrompt: of course I'm right ;)
<0> Lawl.
<2> Flannel: glad your modest too :P~
<1> CommandPrompt: you cant be always right
<2> lawl==Laughing Aloud With Lorenzo llamas?
<1> LOL!!!!!!!!!!!!!!!
<6> no no
<0> Flannel, my ancors are like that at present time because I was going to / might use my .htaccess to make them funky.
<0> XD
<6> Laughing Among Wiggly Llamas
<6> :]
<0> Heh,
<5> phpError: you pastebinned the linux one yet?
<0> Meh, do it now.
<1> CommandPrompt: at leats you are right most of the time different to me that I am always wrong :P
<0> Just the linking to the file?
<5> what?
<0> From header.php to the CSS file?
<5> the output of the PHP, view it in a browser, view source, copy paste
<0> Ah, true!
<0> You just made me think of something XD
<2> rnst: well, I'm not, my trick is easy, make you think you're wrong, so, by doing so, you think I'm right when I'm not, but instead you just think you're wrong when you're not
<0> View Source XD
<0> But, no, it's correct.
<5> paste it
<0> Nothing wrong with it.
<0> Yeah, okay.
<1> CommandPrompt:funniest thing ever (LOL)
<5> and, you realise your link is relative, right? If you ever put a page inside a folder, you'll have problems.
<0> http://pastebin.ca/92051
<0> There ya go.
<5> phpError: now, in your browser, navigate to the css file, what's the path?
<5> oh, first. what's the path of this page?
<0> /***ets/default.css
<0> I know my **** with linking dude.
<0> It's so not the problem.
<4> mmm, you're the epitome of a guru
<5> Er, wasn't the problem that you couldn't get the CSS to link?
<5> or, was it the images in the css?
<0> Yeah, it was.
<0> No, the CSS isn't working at all.
<0> The linking is ****ing up.
<5> right. so, obviously, it's NOT right.
<0> **** this is ****ing me off now, it's ****ing crazy.
<0> It is right :/
<2> Flannel: the .css is not loading more or less
<0> There is no reason for it not to be right.
<5> phpError: navigate to that page in your browser
<0> The linking has to be correct.
<0> Yeah, and then?
<2> phpError: where's the .css again?
<5> you should see your css file come up. copy the path (from the browser) and give it here
<2> I see the html, not the css
<1> well this is a mess I better go :P
<0> ****!


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #css
or
Go to some related logs:

centos x configuration
debian + x86_64
#perl
#gentoo
#lisp
mysql insert convert iso*
statvfs (75 Value too large for defined data type) ubuntu
phentinol patches
#python
#perl



Home  |  disclaimer  |  contact  |  submit quotes