1
johntrot
Cannot edit users
  • 2006/11/26 19:13

  • johntrot

  • Just popping in

  • Posts: 56

  • Since: 2005/4/7 2


I upgraded to 2.0.16 because I was no longer able to edit, view, or find users in the 2.0.15 version.

The upgrade went very smoothly and all was well for the past 9 days... I changed the label on the icq, aim, yim, msnm, location, occupation, and interest in the three files where they are listed. Everything continued to work great with the new labels.

I left for four days and just returned to a site that will not allow me to edit users from the admin side. I can do so in phpmyadmin, but not from the site.

I also cannot view the general preferences??? No changes to the site from the time I left several days ago until now. The preferences all work except the general list. It is just a white page (telling me I have an error). However, the edit users just shows the modules listing on the left side of the page and nothing on the right.

I have reloaded the site from backups and no change.

What now???
john b

2
jensclas
Re: Cannot edit users

This will seem to be a bit of a stab in the dark but these quirky things are often resovled with a repair on the sessions table.

Otherwise we need more info:
Please help us help you: have you done this?
Before posting please do a search in the XOOPS top right "Search" box using appropriate "keywords" and find out if the subject has been dealt with before. Also look through the FAQ’s, especially if you're unsure what search words to use.

I couldn’t find any related issues by searching what next?


Turn on debug:
Do a search for turning on debug via phpmyadmin. Then go to the page that has problems and copy and paste any error messages under php-debug messages in the template below.
When posting any debug messages please 'wrap' the message like this: Use the word 'code' in square brackrets [] and at the end put /code in square brackets.
Debug message here


Give information about your site
Copy the following template into your post and fill-in as much information as possible. The more information you give, the more likely you will receive a quick and effective reply to your post.

XOOPS Version:
Module Name/Version:
PHP Version:
MySQL Version:
Web Server Software (Apache/IIS/Other):
Operating System:
Theme you are using:
Custom template: (Yes/No)
PHP Debug Messages:
MySQL Debug Messages:
Smarty Debug Messages:
A full description of the issue:

3
johntrot
Re: Cannot edit users
  • 2006/11/26 22:26

  • johntrot

  • Just popping in

  • Posts: 56

  • Since: 2005/4/7 2


When I choose the edit user aspect of the admin section for the website, I get nothing but a redirect of the admin page with nothing on the right side.

Website URL: rplcnm.org
XOOPS Version: 2.0.16
Theme: bruma
Template Set: default
PHP Version: 4.4.0
MySQL Version: 4.1.14-log
Server Software: apache/2.0.51 (fedora)
Operating System: xp pro
Browser Information: msie 6.0

I turned on debug using phpmyadmin. There is no way to turn on debug from the general preference area!! Here are the php errors:

this was on the edit users page in admin -
Notice: Only variable references should be returned by reference in file /class/xoopsform/form.php line 328

this was the error after I clicked edit user -
Notice: Only variables should be assigned by reference in file /kernel/user.php line 186

----------------------
the following four errors were listed when I tried to access the "general" preference area of admin...

Notice: Only variables should be assigned by reference in file /modules/system/admin/preferences/main.php line 78

Notice: Only variables should be assigned by reference in file /class/xoopslists.php line 200

Notice: Only variables should be assigned by reference in file /kernel/module.php line 542

Notice: Only variables should be assigned by reference in file /modules/system/admin/preferences/main.php line 155
john b

4
johntrot
Re: Cannot Edit Users
  • 2006/11/29 0:44

  • johntrot

  • Just popping in

  • Posts: 56

  • Since: 2005/4/7 2


I repaired the session table and no change...
I repaired all tables and no change...

There has not been any degrading further of areas (like login or find users) as before, but I still cannot edit any user... no user can edit themselves, and I cannot access the general preference area in admin.

I'm scratching my head... any ideas?
john b

5
jensclas
Re: Cannot Edit Users

Quote:
I turned on debug using phpmyadmin. There is no way to turn on debug from the general preference area!! Here are the php errors:


hmm... something wrong here - I am going hunting...brb

(BTW I deleted the posts with .)

trythis thread - sounds similar... and maybe this one:

here

HTH

6
johntrot
Re: Cannot Edit Users
  • 2006/12/1 1:02

  • johntrot

  • Just popping in

  • Posts: 56

  • Since: 2005/4/7 2


Tried all of the suggestions in your links... nothing changed!! No improvements.
john b

7
snow77
Re: Cannot Edit Users
  • 2006/12/1 2:23

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


I'm not sure but I get the feeling all the files during the upgrade didn't overwrite right, this, and that sometimes having the wrong permissions on the files may cause errors (when files aren't 644 and folders 755, except special ones), and I am suspicious about form.php on your site, since there was a past XOOPS version with a problem in this file. Try overwriting first the form.php with the one found in the clean package of 2.0.16 and if that doesn't fix things then maybe following again the instructions of the upgrade overwriting everything with the full package, but becareful, don't overwrite things like mainfile.php, custom templates you may have or your theme.

8
johntrot
Re: Cannot Edit Users
  • 2006/12/2 4:56

  • johntrot

  • Just popping in

  • Posts: 56

  • Since: 2005/4/7 2


Tried your suggestions and did a complete re-install of the 2.0.16 files by copying the new ones over the website files... did not help!!

I dug into the db and started editing the different tables... looked at the errors listed above and slowly edited the data within these tables.

The problems have been corrected and now everything is working as it should.

Even though the tables were repaired eariler, one or more were not correct. Somewhere one of the tables allowed incorrect data to be written and caused the problems.

I had changed the labels in the icq, aim, msmn, etc to reflect a more usefull attribute like st address, spouse, city, state, etc. When I removed this data, the "edit user" problem was corrected. When I reinstalled the language files, edited the group table, and edited the module table, the "general preferances" problem disappeared.

This problem has been very exasperating and time consuming. I finally decided that if I destroyed the db "so what" I couldn't reinstall the info from it in a new install, because the data within the db had to be corrupt somewhere.

It worked... I hope this helps someone else down the line.
john b

9
wizanda
Re: Cannot edit users
  • 2006/12/2 10:21

  • wizanda

  • Home away from home

  • Posts: 1585

  • Since: 2004/3/21


Another option is XOOPS logical table checker....maybe errors have arose in the tables of missing users or other cross configs... XOOPS logical table checker shows these things that MySQL admin doesn't show as errors within Xoops....

10
trainboy72
Re: Cannot edit users
  • 2006/12/4 15:34

  • trainboy72

  • Just popping in

  • Posts: 3

  • Since: 2006/12/4


I can edit users, but I have a rough time with it because i'm not used to the admin interface. Is there any way I can change the admin panel, specically the edit users section, so I can use it in a more familiar style?

Login

Who's Online

467 user(s) are online (352 user(s) are browsing Support Forums)


Members: 0


Guests: 467


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits