View Single Post
  #6  
Old December 2nd, 2008, 07:27 PM
ElDiabloConCaca's Avatar
ElDiabloConCaca ElDiabloConCaca is offline
Registered User
 
Join Date: Aug 2001
Location: San Antonio, Texas
Posts: 12,672
Thanks: 7
Thanked 388 Times in 370 Posts
ElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of light
Yikes... I don't know if you want to mod your code at this point, nor do I know if lasso requires absolute paths, but using relative paths is a much better practice.

As it stands now, if you change domain names from kublacon.info to kublacons.info, you would have to edit your entire site to get it working again. With relative paths, you wouldn't have to edit a damn thing, and the site would be up and running the minute you changed names.

Try changing a few absolute paths to relative paths and see if that helps. If it does, I would recommend going that route in the future.

In a similar fashion, sometimes you can't use absolute paths -- for example, the connections to the mySQL server must be relative (or, more precisely, local) paths -- my work website cannot connect to the mySQL server using the external IP address, nor the domain name -- I have to use the local IP (127.0.0.1, or the local IP for the computer on which the mySQL server is located) or substitute "localhost" for that. Perhaps lasso is similar?
__________________
Mac mini 2.0GHz 10.6.2 • 4GB • 320GB • Superdrive • 4 x 1TB USB 2.0 • LED Cinema Display
MacBook 2.0GHz Core 2 Duo - White 10.6.2 • 4GB • 250GB • CD-RW/DVD-ROM
iPhone 3G 8GB • iPod Touch 8GB • iPod Photo 60GB • iPod nano 1GB • AT&T U-Verse 18Mb/2Mb
http://www.jeffhoppe.com
Reply With Quote