+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 27
Internet Related/Filtering/Firewall Thread, School Website Migration Fail. PHP help! in Technical; We recently moved over to a new ISP who have been quite good with levels of support. We are now ...
  1. #1

    Join Date
    Jan 2012
    Location
    Leicester
    Posts
    27
    Thank Post
    11
    Thanked 1 Time in 1 Post
    Rep Power
    0

    School Website Migration Fail. PHP help!

    We recently moved over to a new ISP who have been quite good with levels of support. We are now stuck between a rock and a hard place as our Website migration did not go through as smoothly as planned. We are now without a site as there seems to be a problem with index.php file. I've had look at the index.php file and made changes to test variables but still no success.

    Everything else was migrated and tested, such as MySQL and all FTP content to a new server address. Any help or a nudge in the right direction would be much appreciated. Please let me know if you require any further details.

  2. #2

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,686
    Thank Post
    333
    Thanked 513 Times in 481 Posts
    Rep Power
    178
    Think you'll have to explain what the actual problem is What's wrong with the index.php? Is it not loading? Not showing correctly? Scripts not working? Kind of hard to tell what's wrong with "a problem"

    Steve

  3. #3

    Join Date
    Jan 2012
    Location
    Leicester
    Posts
    27
    Thank Post
    11
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Thanks for the speedy reply Steve. The school site address is "www.kibprimary.leics.sch.uk." Our new ISP who handled the host transfer have stated that there is something that needs changing with regards to the script in the index.php, specifically the installation/index.php. I can make very little sense of .php and everything is pointing to where it should.

    A page does load but as the Apache 2 Test PAge

  4. #4

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,686
    Thank Post
    333
    Thanked 513 Times in 481 Posts
    Rep Power
    178
    Seems to me like you don't have the index.php in the right folder. (Either that or you have html as a higher priority over the php files).

    Do you have a direct link to the index.php page?

    Also if you check inside your config fileL

    Code:
    /etc/httpd/conf.d/welcome.conf
    You should have a line such as:

    Code:
    ErrorDocument 403 /error/noindex.html
    That is the page it'll be loading as it can't find your homepage (aka the apache test page)

    Steve
    Last edited by Steve21; 2nd November 2012 at 09:16 AM.

  5. Thanks to Steve21 from:

    dnavekar (2nd November 2012)

  6. #5

    Join Date
    Feb 2008
    Location
    Wiltshire
    Posts
    877
    Thank Post
    274
    Thanked 139 Times in 112 Posts
    Blog Entries
    26
    Rep Power
    42
    Is this a Joomla installation for your website? If you've moved host then the mySQL Details will be different which is in the configuration.php file. (ie. Host, Username & Password for the mySQL server)

    HTH

    Pete

  7. Thanks to FragglePete from:

    dnavekar (2nd November 2012)

  8. #6

    Join Date
    Jan 2012
    Location
    Leicester
    Posts
    27
    Thank Post
    11
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Hi Steve, I'm new to .php so please excuse my lack of knowledge here. I have checked the priority with .php and .html and it appears I need a htaccess file where the index.php is located. I did this and it didn't help.

    I'm not sure with what you mean with having a direct link to the index.php. I can't see "/etc/httpd/conf.d/welcome.conf" or the "ErrorDocument 403 /error/noindex.html" within the config file.

  9. #7

    Join Date
    Dec 2005
    Posts
    521
    Thank Post
    34
    Thanked 86 Times in 76 Posts
    Rep Power
    39
    What is your actual structure of your website files?

    Do you access them via ftp?

    The apache page loading looks like the default install one and it looks like it isnt reading your specific website files so we need to know how everything is structured etc

    Possibly go as far as uploading a text.html and test.php with a bit of text in each to confirm they show into the relevant directory and test to see if you can access them from www.kibprimary.leics.sch.uk/test.html or www.kibprimary.leics.sch.uk/test.php
    Last edited by siuko; 2nd November 2012 at 10:02 AM.

  10. #8

    Join Date
    Jan 2012
    Location
    Leicester
    Posts
    27
    Thank Post
    11
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Hi Pete, Yes, we are using version of Joomla which seems to be invented before the internet. We have changed the Username & Password for the mySQL on the configuration.php file. The Host is still listed as "localhost" in all lines of code relating to host.

  11. #9

    Join Date
    Dec 2005
    Posts
    521
    Thank Post
    34
    Thanked 86 Times in 76 Posts
    Rep Power
    39
    In your test.php put this line and nothing else

    <?php phpinfo(); ?>

    If php is working correctly it will show up lots of useful info about your server setup and prove that this are running ok.

  12. #10

    Join Date
    Jan 2012
    Location
    Leicester
    Posts
    27
    Thank Post
    11
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Hi Siuko, our files are accessed through ftp and http://www.kibprimary.leics.sch.uk/test.html does appear when adding the file to the relevant directory. This is the top level of httpdocs.

    The structure of the ftp is quite long winded and a not very well organised to be honest. The remote site address "/htdocs/httpdocs/images/stories" is used to post School News.

  13. #11

    Join Date
    Dec 2005
    Posts
    521
    Thank Post
    34
    Thanked 86 Times in 76 Posts
    Rep Power
    39
    Yeah I had noticed that you had got test.html on there and running so it proves that you are in the right directory and its loading html ok.

    Now just to check that the server can run php correctly

  14. #12

    Join Date
    Nov 2009
    Location
    Manchester
    Posts
    1,045
    Thank Post
    6
    Thanked 198 Times in 178 Posts
    Rep Power
    51
    dnavekar

    I would suppose that the website works entirely, and the issue is merely where the host is being pointed to as your route directory.

    Within your ftp part, where you have uploaded the test.html, what other folders and files are there?

    Edit: I'm currently looking at my Joomla install on a CentOS webserver
    Last edited by Achandler; 2nd November 2012 at 10:16 AM.

  15. #13

    Join Date
    Jan 2012
    Location
    Leicester
    Posts
    27
    Thank Post
    11
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Hi Siuko, I tried as you advised with the test.php and get a "Not Found" page. This page is in the same place as the test.html.

  16. #14

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,088
    Thank Post
    402
    Thanked 618 Times in 565 Posts
    Rep Power
    180
    I'd say get in touch with Fasthosts, since they appear to be your host, as it looks like something isn't set correctly on your account to allow PHP.

  17. #15

    Join Date
    Dec 2005
    Posts
    521
    Thank Post
    34
    Thanked 86 Times in 76 Posts
    Rep Power
    39
    Yeah looks like php isnt enabled on that site

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Urgent Help Needed! (School Website)
    By pritchardavid in forum Windows Server 2008
    Replies: 14
    Last Post: 1st October 2010, 11:47 PM
  2. [Website] Govt, uni and school websites insecure
    By localzuk in forum Jokes/Interweb Things
    Replies: 3
    Last Post: 10th June 2009, 01:18 PM
  3. We Need Help - School Website & docman..
    By littlems in forum EduGeek Joomla 1.5 Package
    Replies: 8
    Last Post: 26th January 2009, 09:52 PM
  4. Which CMS for School Website?
    By Ric_ in forum How do you do....it?
    Replies: 19
    Last Post: 10th November 2005, 12:41 PM
  5. php help
    By beeswax in forum Windows
    Replies: 33
    Last Post: 14th October 2005, 04:51 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •