Localhost Doesn't Read the Big Files Completely

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Localhost Doesn't Read the Big Files Completely

Postby mariadla » 21. January 2011 18:16

Hello.

I have a weird problem:
If I open a file like this:
file:///C:/XAMPP/xampp/htdocs/livevalidationM.js
On any browser, the file shows up complete, from the beginning to the end, loads all.

But! if I open it using localhost:
http://localhost/livevalidationM.js
It doesn't load the file completly! It cuts it!!!! And because of this, I am getting an error on my proyect.

I have tested using a file with commented text only, and it stills cuts the text. I have tried changing the extension, and the same cutting problem. It seems as if my localhost has a limit on the number of lines it reads per file. But I have sent the file to a friend and he says it loads perfect with his localhost xampp.

Please help!!!!

Thanks!!!!
mariadla
 
Posts: 1
Joined: 21. January 2011 18:02

Re: Localhost Doesn't Read the Big Files Completely

Postby Sharley » 21. January 2011 23:54

"Weird or what"

I can only suggest looking in the \xampp\apache\logs\error.log file and also the access.log file and see if there are any clues, as it seems to be only related to your XAMPP installation.

I am not aware of ever having had this issue and some of my pages are huge and I believe that a default XAMPP installation requires no configurations that could fix your issue - it may be something has been corrupted along the way.

If all else fails then do a complete uninstall by stopping all XAMPP components in the Xampp Control Panel and removing any ticks in the Svc check boxes, then close the XAMPP Control Panel.

Next save any files you require from the htdocs folder but no XAMPP files or folders at all as they will be reinstalled.

Now delete the xampp folder completely.

Reinstall XAMPP as per the instructions provided on the Apache Friends XAMPP for Windows Home page.

Good luck and best wishes.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 64 guests