Need website help

legendofphil

Phil no Densetsu
OP
Member
Joined
Nov 19, 2002
Messages
2,214
Trophies
0
Age
39
Website
Visit site
XP
374
Country
I have been updating my uni web site for my second year.
I decided to add a things bits and pieces such as ajax.
The problem I'm having is that my website works perfectly on my ISP's webspace (windows server) but not my uni space (linux server).
The external files don't show up in the main page when called in.
Can anyone help?

website

EDIT: Please ignore the design, its a WIP.
 

sirAnger

Well-Known Member
Member
Joined
Dec 4, 2002
Messages
482
Trophies
0
Age
39
Location
Michigan
XP
594
Country
United States
To start I'd highly recommend a few firefox plugins for web development if you don't already have them:

Firebug
Web Developer

Those really help debugging JS-heavy pages. They're easily found via google.

Using these, we can see the AJAX response:
Code:
405 Method Not Allowed

Method Not Allowed
The requested method POST is not allowed for the URL /pjevans/temp/test1.html.

Looking at the source of js/ajax.js it seems the default method of sending the XMLHTTP request is via POST (which Apache doesn't seem to like). Try changing line 11 to read:
Code:
this.method = "GET";

If that doesn't work, there's probably a setting in Apache that needs to be futzed with. I'm not too familiar with Apache so I can't help you there, but it's a start.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Skelletonike @ Skelletonike:
    There are different ways of fanservice
  • Skelletonike @ Skelletonike:
    the first manga I bought, was Psychic Academy, when I was like 12?
  • Skelletonike @ Skelletonike:
    That was good 2000s ecchi
  • Skelletonike @ Skelletonike:
    Great plot too
  • Vetusomaru @ Vetusomaru:
    psychic academy. lol. it was meh even back then when i bought volume 1. also same author also made one of the manga adaptions of Escaflowne.
  • Skelletonike @ Skelletonike:
    Pfffft!
  • Skelletonike @ Skelletonike:
    I have all the volumes.
  • Vetusomaru @ Vetusomaru:
    btw do u have discord?
  • Vetusomaru @ Vetusomaru:
    last tv anime i remember with nipples i personally watched was Senran Kagura
  • Skelletonike @ Skelletonike:
    yeah I do
  • Skelletonike @ Skelletonike:
    I mostly read, haven't watched much, but I do keep my cunchyroll sub.
  • Skelletonike @ Skelletonike:
    Found out one of my fave animes got an adaptation this season

    the other day lol
  • Skelletonike @ Skelletonike:
    Yuusha ga Shi
    nda
  • Vetusomaru @ Vetusomaru:
    crynchyrolls is cancer, especially with the censorship they do like they did with Oshimai
  • Vetusomaru @ Vetusomaru:
    can u post your discord here or at dm?
  • Skelletonike @ Skelletonike:
    No idea
  • Skelletonike @ Skelletonike:
    it's my username
  • Vetusomaru @ Vetusomaru:
    and number?
  • Skelletonike @ Skelletonike:
    it needs the number?
  • Vetusomaru @ Vetusomaru:
    okey dokey. i ve sent u friend request.
  • Vetusomaru @ Vetusomaru:
    i have same username with here
  • Skelletonike @ Skelletonike:
    alright, accepted
    +1
    Skelletonike @ Skelletonike: alright, accepted +1