Upgraded from 1.4.7 to latest, nav toolbar doesn't work

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
alarmipets
Posts: 8
Joined: Tue 11. Dec 2012, 15:34

Upgraded from 1.4.7 to latest, nav toolbar doesn't work

Post 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
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Upgraded from 1.4.7 to latest, nav toolbar doesn't work

Post by flip-flop »

Hi Peter,

is there any frontend navi output in the html source?

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
alarmipets
Posts: 8
Joined: Tue 11. Dec 2012, 15:34

Re: Upgraded from 1.4.7 to latest, nav toolbar doesn't work

Post 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.
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Upgraded from 1.4.7 to latest, nav toolbar doesn't work

Post 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
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
alarmipets
Posts: 8
Joined: Tue 11. Dec 2012, 15:34

Re: Upgraded from 1.4.7 to latest, nav toolbar doesn't work

Post by alarmipets »

Knut,

you are a wizard among men!
Thanks, problem was with conf.inc.php.

All the best,
Peter
regina
Posts: 1
Joined: Mon 1. Jul 2013, 23:51

Re: Upgraded from 1.4.7 to latest, nav toolbar doesn't work

Post 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
Post Reply