LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > Problem with Safari + PHP build tool

Reply
 
Thread Tools Display Modes
  #1  
Old 01-01-2008, 03:58 AM
andreas andreas is offline
Senior Member
 
Join Date: Aug 2006
Posts: 91
Default Problem with Safari + PHP build tool

lsws 3.3

The configure line in the phpbuild.*.sh script contains a carriage return (\r) if the options are long enough to be wrapped by the browser:

Code:
./configure '--prefix=/opt/lsws/lsphp4' '--with-litespeed' --with-mysql --with-zlib --with-gd --enable-shmop --enable-track-vars --enable-sockets --enable-sysvsem --enable-^M\
sysvshm --enable-magic-quotes --enable-mbstring
Fix: use wrap="virtual" instead of wrap=on
Reply With Quote
  #2  
Old 01-01-2008, 09:48 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Thanks for the fix, will apply it in next release.
Reply With Quote
  #3  
Old 01-01-2008, 01:34 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Seems that wrap="soft" is more like the standard value.
Reply With Quote
  #4  
Old 01-09-2008, 11:59 AM
brandondrew brandondrew is offline
Member
 
Join Date: Jan 2008
Posts: 17
Arrow not fixed yet in 3.3.3

I just checked, and it's still using wrap=on instead of wrap=virtual.

"on" is not a value I've ever heard of for the wrap attribute. It might a an IE-only thing, but it is not standard, and should not be used, and is causing a problem (at least for Safari users).

... hmm... quickly Googling didn't turn up anything about wrap=on. Perhaps the person who wrote the HTML just assumed that since wrap has a possible value of "off" it must therefore have a possible value of "on". Not so.

Please change this to wrap="virtual". Thanks!
Reply With Quote
  #5  
Old 01-09-2008, 12:41 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Fix is in our 3.3.4 release. you can give a try by changing the version number in the download link.
Reply With Quote
  #6  
Old 01-09-2008, 12:42 PM
brandondrew brandondrew is offline
Member
 
Join Date: Jan 2008
Posts: 17
Default Here's the fix for anyone who can't wait for the next version.

I noticed after posting the last request for it to be fixed that, although the original poster said 3.3, he posted on January 1, 2008, just a few days before now, so he might have actually been using 3.3.3.

So for anyone who wants to fix this themselves, here is how to do it.

Look in your installation directory for Litespeed (for me this is /usr/local/bin/litespeed) and navigate to admin/html/utility. You'll find in there a file called buildPHPWiz.php. That is the file to edit if you want to fix this. Simply open it in your favorite text editor and change
Code:
wrap=on
to
Code:
wrap="virtual"
.
Reply With Quote
  #7  
Old 01-09-2008, 12:44 PM
brandondrew brandondrew is offline
Member
 
Join Date: Jan 2008
Posts: 17
Default Thanks!

Quote:
Originally Posted by mistwang View Post
Fix is in our 3.3.4 release. you can give a try by changing the version number in the download link.
Thanks.

-Brandon
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:46 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.