Undefined message when trying to reset password

Hello,

I recently upgraded to 7.11.8 and I have a lot of problems.

One of the most annoying one:

I want to reset the password of a user.
In the user list, when I click on a user and click on reset password, I get a box like this:

image

So I did some browsing in this forum and tryed two things:

Set permissions to 777 of all files under /opt/Sugar
I did that and rebooted.
No effect.

Use quick repair feature and execute repairs.
I get this problem:
image

When I hit EXECUTE, it says that the database tables are synched with the vardefs.

However if I run a quick repair again, the same problem will show up and it doesn’t matter how many times I hit execute, nothing will correct it.

Any idea of what I could try next?

Hi @BlazeStar,

This is a known issue that was resolved between your version and the latest 7.11 version. Soon however there is a new update coming that may be worth waiting for if you plan on updating again.

If you would like to investigate further try copying the SQL you have and attempt running this via a DB manager like phpMyAdmin. This should give you a more appropriate error

Thank you for your reply!

I just updated to 7.11.10

I tried a quick repair, no errors were found.

But then I went to reset the password of a user, and I get the undefined box again.

Any other steps I should take?

Undefined box could be the cause of incorrect permission, I would try setting them now to ensure this is not the case. Further to that try clearing the browser cache

What do you mean by setting the permissions?

I set the whole folder to 777 as I’ve seen in another post:
sudo chmod -R 777 /opt/SugarCE-Full

And then a full reboot.

I’ve also cleared the browser cache.

Still no luck :frowning:

Hi @BlazeStar,

Appoligies in my head i had provided the permissions :smile:
Default permission to be set on the root install folder (e.g /var/www/your-crm/)

  sudo chown -R www-data:www-data .
  sudo chmod -R 755 .
  sudo chmod -R 775 cache custom modules themes data upload
  sudo chmod 775 config_override.php 2>/dev/null

Hey thanks again for your reply.

Alright I’ve done all of these commands.

Then rebooted.

Then cleared browser cache.

Then ran a quick repair in admin (no result, everything looks fine)

Then attempted again the password reset: same undefined box :expressionless:

Maybe there is htaccess issue. Check htaccess file and comment out the 2 cache lines

Are these the lines you’re referring to?

RedirectMatch 403 (?i)/+.cache/
RedirectMatch 403 (?i)/+cache/+diagnostic

I commented them out, rebooted, still no luck

Can you try Admin->Repair->Rebuild .htaccess ?

Hi @BlazeStar,

Hope you all had a good weekend!

While your trying @urdhvatech’s step try running (In this order);

  1. Rebuild Minified JS Files
  2. Rebuild JS Grouping Files
  3. Rebuild Javascript Languages

And let us know the results :smile:

comment out these 2

RewriteRule ^cache/jsLanguage/(.._..).js$ index.php?entryPoint=jslang&modulename=app_strings&lang=$1 [L,QSA]
RewriteRule ^cache/jsLanguage/(\w*)/(.._..).js$ index.php?entryPoint=jslang&modulename=$1&lang=$2 [L,QSA]

@deftaxias,

Could you explain what this would do? Commenting out or removing lines from the .htaccess is never really a great Idea normally cause they’re there as a security precaution…

Lot of times when upgrade from version 7.6 and before you see undefined in lot of labels

The only way that i found to work was that. For fresh install of caurse all work fine