Bopo Posted January 28, 2010 Share Posted January 28, 2010 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 More sharing options...
schilly Posted January 28, 2010 Share Posted January 28, 2010 delete it off the server then upload it. post the code around that include as well. Link to comment https://forums.phpfreaks.com/topic/190160-page-not-loading-after-test/#findComment-1003302 Share on other sites More sharing options...
Bopo Posted January 28, 2010 Author Share Posted January 28, 2010 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 https://forums.phpfreaks.com/topic/190160-page-not-loading-after-test/#findComment-1003324 Share on other sites More sharing options...
teamatomic Posted January 28, 2010 Share Posted January 28, 2010 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 https://forums.phpfreaks.com/topic/190160-page-not-loading-after-test/#findComment-1003349 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.