Page 1 of 1
Upgraded from 1.4.7 to latest, nav toolbar doesn't work
Posted: Tue 11. Dec 2012, 16:05
by alarmipets
This is what I use:
Code: Select all
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top"><img src="img/spacer.gif" width="1" height="30"><br><div id="my_NAVI">{NAV_LIST_UL:F,1,,act_path,active}</div><br></td>
</tr>
</table>
After the upgrade, the nav. toolbar doesn't include links nor does it respond to mouse-over.
The links don't appear.
Peter
Re: Upgraded from 1.4.7 to latest, nav toolbar doesn't work
Posted: Tue 11. Dec 2012, 21:16
by flip-flop
Hi Peter,
is there any frontend navi output in the html source?
Knut
Re: Upgraded from 1.4.7 to latest, nav toolbar doesn't work
Posted: Wed 12. Dec 2012, 11:15
by alarmipets
flip-flop wrote:Hi Peter,
is there any frontend navi output in the html source?
Knut
Knut,
I had messed up and accidentally copied the old version's index.php over the new one and that what caused the links not to work at all.
Now it generates the nav toolbar correctly, but instead of having links in domain/web/page.phtml, I have them in domain/web/page.html and thus all the links are broken now.
Re: Upgraded from 1.4.7 to latest, nav toolbar doesn't work
Posted: Wed 12. Dec 2012, 11:49
by flip-flop
Please have a look into your new .htaccess:
Code: Select all
# Installed in Document Root www.example.com/
RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.html$ /index.php?id=$1,$2,$3,$4,$5,$6&%{QUERY_STRING}
RewriteRule ^(.+)\.html$ /index.php?$1&%{QUERY_STRING}
# Installed in Subfolder www.example.com/subfolder/
# RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.html$ /subfolder/index.php?id=$1,$2,$3,$4,$5,$6&%{QUERY_STRING}
# RewriteRule ^(.+)\.html$ /subfolder/index.php?$1&%{QUERY_STRING}
and have a look two into your conf.inc.php
Code: Select all
$phpwcms['rewrite_ext'] = '.html'; // The file extension used while URL is rewritten
Knut
Re: Upgraded from 1.4.7 to latest, nav toolbar doesn't work
Posted: Wed 12. Dec 2012, 13:02
by alarmipets
Knut,
you are a wizard among men!
Thanks, problem was with conf.inc.php.
All the best,
Peter
Re: Upgraded from 1.4.7 to latest, nav toolbar doesn't work
Posted: Mon 1. Jul 2013, 23:54
by regina
flip-flop wrote:Please have a look into your new .htaccess:
Code: Select all
# Installed in Document Root www.example.com/
RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.html$ /index.php?id=$1,$2,$3,$4,$5,$6&%{QUERY_STRING}
RewriteRule ^(.+)\.html$ /index.php?$1&%{QUERY_STRING}
# Installed in Subfolder www.example.com/subfolder/
# RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.html$ /subfolder/index.php?id=$1,$2,$3,$4,$5,$6&%{QUERY_STRING}
# RewriteRule ^(.+)\.html$ /subfolder/index.php?$1&%{QUERY_STRING}
and have a look two into your conf.inc.php
Code: Select all
$phpwcms['rewrite_ext'] = '.html'; // The file extension used while URL is rewritten
Knut
I messed up my .htacess but thanks to this it's back working normal.
thank you
_________________________________________________________
Free hosting