Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WAMP Server Issue on Local Network 1

Status
Not open for further replies.

NigeW

Programmer
Jun 10, 2002
134
NZ
Hi

I have just installed WAMP on a test box (XP Pro) and am developing a php based CMS system on it.

The CMS works fine when viewing it on the test box, however when viewing it on my laptop via local network only 8Kb of data is being transferred at any one time.

I have done a character count of the source code in MS-Word and it is 8053 - not sure if this is relevant but hence the 8Kb statement above.

So this is either a local network issue or an Apache setup issue, but I'm not sure where to start looking.

Any feedback would be greatly appreciated.

Thanks


Nigel Wilson
Christchurch Web Design
 
I'm not too convinced that this is an apache issue. I'm more inclined to point fingers at php. However, to be fair, we need to see if this is only a php problem or does it happen with html as well. You'll need to try a few php scripts and html pages to find out. If you can't narrow it down to any particular size or type of page, then you may want to check your browser's intranet settings. Usually those are pretty relaxed but ya never know. If still no joy, try a different browser. For example if it happens on IE try FF.
 
NigeW,

The issue is in the php.ini file. There is a line that sets this limit. Check the one on the laptop against the one on the server to make sure they are the same.

If you do not have wamp installed on laptop, just using alias then check the alias setting in the wampserver.ini file.

YMR
 
Hi RhythmAce & YoungManRiver
Thanks for your posts - I appreciate your feedback.

I have done a bit more Sherlock Holmes work . . .

I only have WAMP on the server and nothing installed on my Laptop, merely browsing to the server from the laptop.

I have saved an 82Kb html file and this displays fine when viewed on the laptop.

I have created a large page within my CMS application and viewed this page on my laptop in both IE and FF - again it displays fine.

The problem seems limited to the administration section of the site, but only on the laptop. The admin section displays correctly when accessed directly from the server.

So I have now reduced the Internet Security settings on IE to Medium and things are looking better there. However there is still an issue around the 8Kb mark of the html code - there are some "illegal" characters which are being converted to something else and this is right in the middle of some javascript.

I am still puzzled by FF - I have gone through all the security type settings I can find but have not been able to figure it out.

Maybe the FF issue is directly related to the "illegal" characters and I should be looking at that, but for it to work correctly on the server, throws me into a tail spin !

Cheers



Nigel Wilson
Christchurch Web Design
 
Just a final follow-up.

The problem was php related.

I altered the output_buffering from '4096' to 'On' and this has corrected all the problems.

As a test I changed it to 2048 and this made the problem even worse.

Thanks again for your feedback folks.

Nigel Wilson
Christchurch Web Design
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top