Lance
I have replaced my /lib with the lib from
http://github.com/sofadesign/limonade/tree/0.4
But sadly I am still getting errors:
Warning:
include(\nas31ent\domains\h\hampshirejudo.org.uk\user\htdocs\lwtemp\lib/limonade/views/\_notices.html.php)
[function.include]: failed to open stream: No such file or directory in
\\nas31ent\domains\h\hampshirejudo.org.uk\user\htdocs\lwtemp\lib\limonade.php
on line 1340
Warning: include() [function.include]: Failed opening
'\nas31ent\domains\h\hampshirejudo.org.uk\user\htdocs\lwtemp\lib/limonade/views/\_notices.html.php'
for inclusion (include_path='.;C:\php5\pear') in
\\nas31ent\domains\h\hampshirejudo.org.uk\user\htdocs\lwtemp\lib\limonade.php
on line 1340
Warning:
include(\nas31ent\domains\h\hampshirejudo.org.uk\user\htdocs\lwtemp/views/\default_layout.php)
[function.include]: failed to open stream: No such file or directory in
\\nas31ent\domains\h\hampshirejudo.org.uk\user\htdocs\lwtemp\lib\limonade.php
on line 1340
Warning: include() [function.include]: Failed opening
'\nas31ent\domains\h\hampshirejudo.org.uk\user\htdocs\lwtemp/views/\default_layout.php'
for inclusion (include_path='.;C:\php5\pear') in
\\nas31ent\domains\h\hampshirejudo.org.uk\user\htdocs\lwtemp\lib\limonade.php
on line 1340
I had forgotten to checkout the 0.4 branch in git before I copied the
lib dir to the server... doh!
Anyway, I have not put it in place and added the echo of the seperator.
Still erroring. :-(
Lance
DIRECTORY_SEPARATOR is \
Warning:
include(\nas31ent\domains\h\hampshirejudo.org.uk\user\htdocs\lwtemp\lib\limonade\views\_notices.html.php)
[function.include]: failed to open stream: No such file or directory in
\\nas31ent\domains\h\hampshirejudo.org.uk\user\htdocs\lwtemp\lib\limonade.php
on line 1341
Warning: include() [function.include]: Failed opening
'\nas31ent\domains\h\hampshirejudo.org.uk\user\htdocs\lwtemp\lib\limonade\views\_notices.html.php'
for inclusion (include_path='.;C:\php5\pear') in
\\nas31ent\domains\h\hampshirejudo.org.uk\user\htdocs\lwtemp\lib\limonade.php
on line 1341
Warning:
include(\nas31ent\domains\h\hampshirejudo.org.uk\user\htdocs\lwtemp\views\default_layout.php)
[function.include]: failed to open stream: No such file or directory in
\\nas31ent\domains\h\hampshirejudo.org.uk\user\htdocs\lwtemp\lib\limonade.php
on line 1341
Warning: include() [function.include]: Failed opening
'\nas31ent\domains\h\hampshirejudo.org.uk\user\htdocs\lwtemp\views\default_layout.php'
for inclusion (include_path='.;C:\php5\pear') in
\\nas31ent\domains\h\hampshirejudo.org.uk\user\htdocs\lwtemp\lib\limonade.php
on line 1341
yes it sure is, http://github.com/lancew/DojoList/tree/limonade4
This is the branch with your 0.4 branch code in it.
Hope it helps.
Lance
that has worked ( http://hampshirejudo.org.uk/lwtemp ).
I get the following errors:
Warning:
include(/nas31ent/domains/h/hampshirejudo.org.uk/user/htdocs/lwtemp/lib/limonade/views/default_layout.php)
[function.include]: failed to open stream: No such file or directory in
\\nas31ent\domains\h\hampshirejudo.org.uk\user\htdocs\lwtemp\lib\limonade.php
on line 1340
Warning: include() [function.include]: Failed opening
'/nas31ent/domains/h/hampshirejudo.org.uk/user/htdocs/lwtemp/lib/limonade/views/default_layout.php'
for inclusion (include_path='.;C:\php5\pear') in
\\nas31ent\domains\h\hampshirejudo.org.uk\user\htdocs\lwtemp\lib\limonade.php
on line 1340
Lance
hampshirejudo.org.uk/lwtemp/lwtemp.php
:-(
Warning:
include(/nas31ent/domains/h/hampshirejudo.org.uk/user/htdocs/lwtemp/lib/limonade/views/default_layout.php)
[function.include]: failed to open stream: No such file or directory in
\\nas31ent\domains\h\hampshirejudo.org.uk\user\htdocs\lwtemp\lwtemp.php
on line 3
Warning: include() [function.include]: Failed opening
'/nas31ent/domains/h/hampshirejudo.org.uk/user/htdocs/lwtemp/lib/limonade/views/default_layout.php'
for inclusion (include_path='.;C:\php5\pear') in
\\nas31ent\domains\h\hampshirejudo.org.uk\user\htdocs\lwtemp\lwtemp.php
on line 3
Lance
<?php
//$path =
'\\nas31ent\domains\h\hampshirejudo.org.uk\user\htdocs\lwtemp\lib\limonade\views\default_layout.php';
$path =
'//nas31ent/domains/h/hampshirejudo.org.uk/user/htdocs/lwtemp/lib/limonade/views/default_layout.php';
if(file_exists($path)) include $path;
else echo "WRONG PATH : $path doesn't exist.";
phpinfo();
?>
And I now get a blank page... but in the source I see:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Limonade, the fizzy PHP micro-framework</title>
<link rel="stylesheet" href="<br />
<b>Fatal error</b>: Call to undefined function url_for() in
<b>\\nas31ent\domains\h\hampshirejudo.org.uk\user\htdocs\lwtemp\lib\limonade\views\default_layout.php</b>
on line <b>6</b><br />
:-)
Almost there?
Lance