• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
problems after update
#1
Hey all, after updating to current version the system shows strange descriptions in the navigation - pls see attached. Thansk for checking and advise.


Attached Files Thumbnail(s)
       
  Reply
#2
It looks like you don't have a language set for some reason. Did you run users/update.php? If so, ignore those menu things and login once as admin anyway. You should be able to go to the settings on the dashboard (general settings) and on the bottom right, set the language. Even set it to Canadian and back to English and see if that fixes your problem. If that doesn't work, double check to make sure you have your language in the users/lang folder

Sorry for the slow response.
  Reply
#3
(05-03-2019, 10:54 AM)mudmin Wrote: It looks like you don't have a language set for some reason.  Did you run users/update.php?  If so, ignore those menu things and login once as admin anyway. You should be able to go to the settings on the dashboard (general settings) and on the bottom right, set the language.  Even set it to Canadian and back to English and see if that fixes your problem.  If that doesn't work, double check to make sure you have your language in the users/lang folder

Sorry for the slow response.

thanks for your help but this doesnt solve the problem. Hv followed your instructions and set lang to ca and back to en us - also checked the user/lang folder (pls see attachment) but still it shows the dbl brackets. And yes i did run the update but had some file errors so had to manually upload patches and tried again. It might have something to do with it - but i cant say. Generally all runs fine but the updates are sometimes a bit tricky. However - i hope this could be solved. Thanks for all your hard work - really love US and its overall quality! cheers -d


Attached Files Thumbnail(s)
   
  Reply
#4
i have same issue..
on default userspice pages all menu works fine and pages outside of userspice menu broken
see image

ok::

The header.php and navigation.php includes to:
require_once $abs_us_root.$us_url_root.'users/includes/template/prep.php';

this is fixes all issues with menu !


Attached Files Thumbnail(s)
   
  Reply
#5
(05-10-2019, 02:08 AM)maxikz Wrote: i have same issue..
on default userspice pages all menu works fine and pages outside of userspice menu broken
see image

ok::

The header.php and navigation.php includes to:
require_once $abs_us_root.$us_url_root.'users/includes/template/prep.php';

this is fixes all issues with menu !

Thks but not sure if this is a workaround only or a supported solution ?
  Reply
#6
That is a permanent solution. Sorry. Do you know what version you originally created your project with?
  Reply
#7
(05-19-2019, 12:22 AM)mudmin Wrote: That is a permanent solution. Sorry. Do you know what version you originally created your project with?

If i am not toally wrong i found US first in version 3.xx and than upgraded from there. but meantime I also had to remove it completle from the system and stated from scratch with version 4.0+ upgrading from there. So it might not have something to do with upgrades if this it what you are referring to?

Regarding below solution i am sorry not understanding this completly. Does it mean that i have to add

require_once $abs_us_root.$us_url_root.'users/includes/template/prep.php';

in header php and also in navigation php ?

Thanks for help! brgds d
  Reply
#8
You can get rid of other calls to the header and navigation and add that one line instead.
The "default" template should have compensated for it if you had those calls in there manually, but I guess it didn't.

If you want to share the code of a page that didn't work, I can take a look, but the preferred include now is to do init and template/prep at the top and that's it. This is all you really need for a blank page now (obviously you can edit the columns/divs.
https://pastebin.com/rXHYKxHU
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)