Page 1 of 1
NAV_LIST
Posted: Thu 25. Apr 2013, 08:42
by Briefcase
Hi,
i'm a compleet PHPWCMS noob and i'm trying to upgrade/move an excisting installation. I'm running into a couple problems:
- I'm calling login.php and trying to login and it gives me: login error, so i went to the phpmyadmin, typed and md5'ed a new password, but still no go.
- I'm seeing a NAV_LIST in stead of the menu.
Thanks for your help!
Re: NAV_LIST
Posted: Thu 25. Apr 2013, 10:37
by nameless1
cheers briefcase,
login problem has nothing to do with upgrade of your installation if you didnt change database or storage. try it in an other browser...
nav_list is a depreaceated function. replace it with navlist_ul or active depreceated functions (not recommend!) in conf.inc.php under config/phpwcms/. maybe you have to check your file against the dist.conf.inc.php file.
nml1
Re: NAV_LIST
Posted: Sat 27. Apr 2013, 22:08
by Haasboy
Why was the nav_list deprecated?
Re: NAV_LIST
Posted: Sat 27. Apr 2013, 22:14
by Old Boy
To much tables / old stuff... to much code lines !
Re: NAV_LIST
Posted: Mon 6. May 2013, 21:07
by Briefcase
thank you for your help.
I can't find that function in the config.inc.php ? How is it named exactly?
If I want to change the function call in the menu, where can I do that?
Re: NAV_LIST
Posted: Mon 6. May 2013, 23:11
by Old Boy
Code: Select all
$phpwcms['enable_deprecated'] = true; // enable/disable deprecated functionality, enable if you miss things
Re: NAV_LIST
Posted: Tue 7. May 2013, 12:36
by Briefcase
thanks, that worked!
but there seems to be an issue with the menu version (I guess). The old site seems to call *.phtml, the new installation calls *.html and gives a "page not found" when a link is clicked. Any idea?
Re: NAV_LIST
Posted: Tue 7. May 2013, 13:58
by Old Boy
Tryout the upgraded installation and the navigation WITHOUT mod rewrite first!