Jump to content

Page not Loading After Test


Bopo

Recommended Posts

Hey All

 

It seemed that an inlcude statement wasn't working for some reason, so I tried a more absolute file path:

 

include("home/username/public_html/coding/scripts/carspecs.php")

 

However this simply returned a blank page, so I change it back to what it was:

 

include("../coding/scripts/carspecs.php")

 

However I still got a blank page, so I cleared my cache, ensured I'd uploaded the page and so on, and still blank. However every time I access the newly uploaded page, and then check in on the FTP, it's 0KB in size (9KB orginally). So everytime I reupload and access the page, it just changes to, well, nothing.

 

Any ideas?

Link to comment
Share on other sites

Thanks for the suggestions, didn't work however.

 

Also something I noticed, it clears the page without me visiting through a web browser, simple uploading it and refreshing my FTP shows 0KB as the file size.

 

Guess it's a hosting issue, seem to have problems when it coems to PHP

 

            <?php
$cartype = "Alfa Romeo 147";
include("../coding/scripts/specs.php")
?>

Link to comment
Share on other sites

Perhaps the file is corrupted somehow.

 

On your home computer.

Copy the contents of the offending file to your clipboard.

Delete the offending file.

open a new blank text file.

*preferable in an editor that you can select a unix or dos type file, select unix.

A real good free editor is PFE(programmers file editor)

http://download.cnet.com/Programmer-s-File-Editor-32-bit/3640-2352_4-904159.html

paste the clipboard to the new file

name the new file.

upload the new file

 

 

HTH

Teamatomic

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.