Admin cannot edit any user info or permissions

Project:ProjectPier
Version:0.8.0.3
Component:User interface
Category:bug report
Priority:critical
Assigned:phpfreak
Status:closed - not reproducible
Description

When trying to edit any created users, members, or profiles, I get an error (contact system administrator).

Running in debug mode, the error is on line 72, and I get the following error message:

Invalid controller action account::company()
Error params:
File: /Library/WebServer/Documents/beta.emc.ncsu.edu/environment/classes/controller/Controller.class.php
Line: 72
Controller: account
Action: company
Backtrace:
#0 /Library/WebServer/Documents/beta.emc.ncsu.edu/environment/classes/controller/PageController.class.php(62): Controller->execute('company')
#1 /Library/WebServer/Documents/beta.emc.ncsu.edu/environment/classes/Env.class.php(119): PageController->execute('company')
#2 /Library/WebServer/Documents/beta.emc.ncsu.edu/init.php(138): Env::executeAction('account', 'company')
#3 /Library/WebServer/Documents/beta.emc.ncsu.edu/index.php(9): require('/Library/WebSer...')
#4 {main}
Autoglobal varibles:
$_GET: Array (
  ['c'] => (string) 'account'
  ['a'] => (string) 'company'
  ['id'] => (string) '1'
  ['redirect_to'] => (string) 'http://beta.emc.ncsu.edu/index.php?c=administration'
)
$_POST:
$_COOKIE: Array (
  ['__utma'] => (string) '62336819.147960907.1226094388.1226094388.1226094388.1'
  ['__utmz'] => (string) '62336819.1226094388.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)'
  ['PHPSESSID'] => (string) 'abgp9vfjhpep4sfmir3g8mcj54'
  ['__utmc'] => (string) '82709890'
  ['__utmb'] => (string) '82709890'
  ['id5264e09ca23c63c6982750931968b65b2abc483a'] => (string) '1'
  ['5264e09ca23c63c6982750931968b65b2abc483a'] => (string) '0d68da3f0b017f78d849bff8216cee0d4bdc5735'
)
$_SESSION: Array (
  ['script_installer_executed_steps'] => Array (
    [0] => (int)1
    [1] => (int)2
    [2] => (int)3
  )
)
Execution time:
Total execution time: 0.107395 seconds
#1

Hi Linda,

could you give some information about your setup? Things like ProjectPier version (to confirm that it's 0.8.0.3), operating system, etc.

What I would be very interested in is the sequence that you follow that brings the issue. Try to give the shortest possible list of steps that brings this error, so that I can try to reproduce it.

From the debug message, it looks like it should redirect to index.php?c=administration&a=company but it tries index.php?c=account&a=company instead which doesn't exist. Not sure why though...

Thanks,

Tim

#2
Status:new» closed - not reproducible

Closed: Unable to reproduce, originator never responded to request for additional information.

#3

Im getting this error on my installation.

ProjectPier version 0.8.0.3.
PHP version 5.2.6
OS is Debian. Host is Dreamhost.

As for the step to reproduce:

1.) Log in.
2.) Click on Administration in upper right.
3.) Click on Company on the Admin page.
4.) Click on "Update Profile" under a user on Company page.
5.) Receive Error.

-Aubrey

#4
Status:closed - not reproducible» open - assigned

Same problem on a freshly installed ProjectPier instance - unable to add users and projects or access the account panel...

ProjectPier version 0.8.0.3
mySQL version 5.0.67
Apache 2.0 with PHP version 5.2.6
OS is Ubuntu Server 8.10, running on an internal company server.

After logging in I go to the "Dashboard" > "Administration" panel:
index.php?c=administration&a=index.

The error appears then after clicking on:

a) "Members" > "Add user" (or the "Add user" shortcut):
index.php?c=user&a=add&company_id=1
b) "Projects" > "Add project" (or the "Add project" shortcut):
index.php?c=project&a=add
c) "Account":
index.php?c=account&a=index

I am able to update my own (admin) account via : "Dashboard" > "Administration" > "Members " > "Update profile" and add clients, though.

Thanks in advance for any help you can provide.

#5
Assigned to:Visitor» phpfreak
Status:open - assigned» closed - not reproducible

In 0.8.0.3 I tried this:

1) Log in.
2) Click on Administration in upper right.
3) Click on Company on the Admin page.
4) Click on "Update Profile" under a user on Company page.

I did not receive an error.

No error in 0.8.6 either.

Closing this one.