Dec 16
Marc Pinnell Fallback Resource and file_exists / LP8.6
Dec 16, 2014; 10:23
Marc Pinnell
Fallback Resource and file_exists / LP8.6
A while back I switched my apache conf to use Fallback Resource (on my local dev machine) for my "clean URL" sites. Today I had to make some changes on an older site. I immediately started getting errors with a bit of code that relies on file_exists. With a little investigating I think I have the error isolated, but have no clue on how to fix it!
Running in LP8.6 on Mac OSX.9.5
Simple code:
<?lassoScript
inline($authInfo_file, -nothing);
$__HTML_REPLY__ += file_exists('/_images/_products/pc_8slt.jpg')+': /_images/_products/pc_8slt.jpg<br>';
$__HTML_REPLY__ += file_exists('xxx.jpg')+': xxx.jpg<br>';
/inline;
?>
With FallBack Resource as part of the conf file, both the above statements return true:
true: /_images/_products/pc_8slt.jpg
true: xxx.jpg
Without the Fallback resource (moved into the base Lasso Site in LP8.6):
true: /_images/_products/pc_8slt.jpg
false: xxx.jpg
Any ideas on how to fix this?
Marc Pinnell
1027 Design
PO Box 990872
Redding, CA 96099-0872
530.941.4706
fax: 866.232.5300
www.1027Design.com
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso Lasso@lists.lassosoft.com
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Dec 16
Steve Piercy - Website Builder Re: Fallback Resource and file_exists / LP8.6
Dec 16, 2014; 12:10
Steve Piercy - Website Builder
Re: Fallback Resource and file_exists / LP8.6
Dec 16
Marc Pinnell Re: Fallback Resource and file_exists / LP8.6
Dec 16, 2014; 12:17
Marc Pinnell
Re: Fallback Resource and file_exists / LP8.6
Dec 16
Steve Piercy - Website Builder Re: Fallback Resource and file_exists / LP8.6
Dec 16, 2014; 12:28
Steve Piercy - Website Builder
Re: Fallback Resource and file_exists / LP8.6
Dec 16
Marc Pinnell Re: Fallback Resource and file_exists / LP8.6
Dec 16, 2014; 12:36
Marc Pinnell
Re: Fallback Resource and file_exists / LP8.6
Dec 16
Steve Piercy - Website Builder Re: Fallback Resource and file_exists / LP8.6
Dec 16, 2014; 12:41
Steve Piercy - Website Builder
Re: Fallback Resource and file_exists / LP8.6
Dec 16
Marc Pinnell Re: Fallback Resource and file_exists / LP8.6
Dec 16, 2014; 12:42
Marc Pinnell
Re: Fallback Resource and file_exists / LP8.6
Dec 16
Marc Pinnell Re: Fallback Resource and file_exists / LP8.6
Dec 16, 2014; 12:43
Marc Pinnell
Re: Fallback Resource and file_exists / LP8.6
Dec 16
Marc Pinnell Re: Fallback Resource and file_exists / LP8.6
Dec 16, 2014; 12:50
Marc Pinnell
Re: Fallback Resource and file_exists / LP8.6
Dec 16
Steve Piercy - Website Builder Re: Fallback Resource and file_exists / LP8.6
Dec 16, 2014; 13:00
Steve Piercy - Website Builder
Re: Fallback Resource and file_exists / LP8.6
Dec 16
Marc Pinnell Re: Fallback Resource and file_exists / LP8.6
Dec 16, 2014; 13:15
Marc Pinnell
Re: Fallback Resource and file_exists / LP8.6
Dec 16
Steve Piercy - Website Builder Re: Fallback Resource and file_exists / LP8.6
Dec 16, 2014; 13:39
Steve Piercy - Website Builder
Re: Fallback Resource and file_exists / LP8.6
Dec 16
Steve Piercy - Website Builder Re: Fallback Resource and file_exists / LP8.6
Dec 16, 2014; 14:00
Steve Piercy - Website Builder
Re: Fallback Resource and file_exists / LP8.6
Dec 17
Steve Piercy - Website Builder Re: Fallback Resource and file_exists / LP8.6
Dec 17, 2014; 04:00
Steve Piercy - Website Builder
Re: Fallback Resource and file_exists / LP8.6
Dec 17
Marc Pinnell Re: Fallback Resource and file_exists / LP8.6
Dec 17, 2014; 08:44
Marc Pinnell
Re: Fallback Resource and file_exists / LP8.6