Grow your CSS skills. Land your dream job.

Website not displaying text?

  • # February 19, 2013 at 11:10 am

    Hello,
    I purchased a cheap web template many moons ago and a colleague of mine at the time said he could get it changed to display my details instead of the Latin content that came with it.
    He managed to do it perfectly as he showed me on his local machine but as soon as he uploaded it to the host GoDaddy.com, the text is replaced by two animated boxes?
    Unfortunately he is seconded to Australia through our company and I don’t have a contact number for him.
    I’m stuck and need to have my website up and running so I can try and make some money freelance.
    The web address is http://www.lastmincad.com/ and if need be, i can upload the source code if it helps.
    I would REALLY appreciate some help if anyone feels kind enough!

    Thanks in advance

    # February 19, 2013 at 11:30 am

    Frankly it looks like the site hasn’t been populated with content.

    What I THINK is supposed to happen is that when you click on once of the four boxes, it populates the ‘floating boxes’ area with content from a div with a class of ‘cascade-window-content’….except there is nothing in that div.

    While it’s waiting it shows that aimated gif as a ‘pre-loader’.

    # February 19, 2013 at 11:32 am

    I’m a complete numpty when it comes to things like this, is there an easy way to display the content or is it not as easy as that?
    Any pointers would be gratefully appreciated.

    # February 19, 2013 at 11:33 am

    > Failed to load resource: the server responded with a status of 405 (Method Not Allowed)

    From here:

    “The ’405 Method Not Allowed’ error would appear if you are submitting a POST request to a page that does not support post. Usually, this would occur if you are submitting a POST to a .html page.”

    http://support.godaddy.com/groups/web-hosting/forum/topic/405-method-not-allowed-message/

    The error that is occurring looks something like this:

    POST http://www.lastmincad.com/page/green.html 405 (Method Not Allowed)

    If you’re trying to retrieve the content, you shouldn’t be using POST anyways. To the best of my knowledge, you should be using GET.

    # February 19, 2013 at 11:37 am

    Okay, that makes a little bit of sense to me, I gather you can see the source from your browser, as I said I know very, very little when it comes to web design so would there be an easy way of changing this?

    # February 19, 2013 at 11:41 am

    You can see the source code from ANY browser…just rightclick anywhere.

    # February 19, 2013 at 11:43 am

    It seems odd that it displays correctly on my local machine but not once it’s been uploaded to godaddy?

    # February 19, 2013 at 11:44 am

    Viewing source and opening Inspector are two different things, really.

    If you want to see the error that I see when clicking on your links, open up Chrome and right click anywhere on the page and select ‘Inspect Element’. Once the inspector is up you can go to the Console tab and see any errors that are running (you’ll also see that your Twitter code is throwing an error).

    As far as changing it goes, I couldn’t actually find where the AJAX call is being made because the theme is bundled with *so many* JS files – I might be able to dig later today, but hopefully somebody else can help you out in the mean time.

    # February 19, 2013 at 11:46 am

    I’d appreciate if you or anyone could assist, it’s been melting my brain for days now.
    Thanks everyone for all your help so far!

    # February 19, 2013 at 11:48 am

    Ok. To clarify this a little…

    Each piece of content that goes in the sections is not within the source of the page itself but is instead loaded in with some kind of JavaScript. It looks like @TheDoc is correct in that blue.html is the file that contains the content for the blue panel that cannot be loaded (hence an empty page). If that support quote is correct, the simplest fix would be to change the extension on all your filenames from .html to .php.

    More abstractly, I would strongly advise cleaning up your site a bit. There are more than 10 separate JS files being loaded. This is going to spell disaster for performance as well as making it really hard to work out where problems are coming from. You could therefore improve this by combining all the jQuery into 1 or 2 compressed files and doing the same for the multiple CSS requests. Arguably, these things are just symptoms of the biggest issue as far as the site being next to useless when JavvaScript is disabled.

    I know I sure criticized a lot but in doing so I am trying to help. :)

    # February 19, 2013 at 11:51 am

    I can give this a go but it won’t be till I get out from work. I’ll post tomorrow to tell you how I got on.
    Fingers crossed!

    # February 19, 2013 at 12:03 pm

    Thanks Mr Rogers, all help is appreciated, especially when you’re as thick as a whale omlette like I am!

    # February 21, 2013 at 11:45 am

    Well I renamed all HTML pages to PHP but the issue still remains?
    Anybody else have any other ideas?

    # February 21, 2013 at 12:10 pm

    On your local machine, can you look in the folder your website is in? You should see a folder called “page“. If you open that, I bet you’ll see four HTML files in there: “blue.html“, “green.html“, “yellow.html“, and “orange.html“.

    If so, upload that folder to your host via FTP, with the same directory relationship as in your local machine.

    # February 21, 2013 at 4:54 pm

    The pages seem to be there with php extension:

    [blue](http://www.lastmincad.com/page/blue.php)
    [green](http://www.lastmincad.com/page/green.php)
    [yellow](http://www.lastmincad.com/page/yellow.php)
    [orange](http://www.lastmincad.com/page/orange.php)

    So just change the ids on the li elements to `.php` instead of `.html` in your index file (line 72, 76, 80 and 84 of the html, could be different if index is php)

    Nice design by the way! :)

Viewing 15 posts - 1 through 15 (of 16 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".