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
https://forums.phpfreaks.com/topic/190160-page-not-loading-after-test/
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")
?>

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.