-
- 24,544 Posts
That means that the user being processed has no user profile.
The first thing to try is repairing all tables in PhpMyAdmin.
While you're there, (after the repair) the ID of the user who is logging in should be in the internalKey field of that user's User Profile (in the modx_user_attributes table).
-
- 8 Posts
Thanks. The hosting service restored site from a backup. The same problem remains though, when attempting upgrade to the latest MODX version from 2.3.2, the Resources / Elements / Files section disappears and the menu items produce blank pages. Please Advise.
-
- 24,544 Posts
Did you try my suggestions from the previous post and repair the tables? Does the user have a profile?
-
- 8 Posts
Is that via repair tables via myphpadmin? Which I have done so. I only ask as some other CMS allow you to do this via the admin area, e.g. Joomla. Also I've tried to use non the www redirect in the .htaccess file, doing so doesn't allow me to log into the admin, what do I do to correct this? Please advise.
How are you upgrading?
Make sure that your browser cache and cookies are cleared. The browser can cache old Javascript files and not use the new ones from the upgrade.
It sounds like your site has bigger problems, though. There are too many possible hosting configurations and other variables to be able to guess what the problems may be.
-
- 24,544 Posts
See my post above about checking to see if the user has a user profile.
-
- 24,544 Posts
Many people have reported problems with upgrading via softaculous and similar utilities.
I'd suggest this course of action:
- Revert the site again
- Make sure it all works
- Download the UpgradeMODX extra and use that to upgrade the site to MODX 3.3.6
- Make sure it works (clearing your browser cache and cookies if necessary)
- Then, use UpgradeMODX to upgrade to the current version
You may have a plugin that is incompatible with the current version, so you may want to disable your plugins before the upgrade and re-enable them one-by-one afterwards.
-
- 8 Posts
I would have to test this on a local server before attempting anything on the live site. I'm still in the dark about the non www redirect, once it is implemented you can't login into the admin area of the site. Or, is it just a case of upgrading the site for this to work?