| Installation and setup issues [message #8102] |
Wed, 15 August 2007 02:30  |
bchoy
Messages: 20 Registered: August 2007
|
phpCollab guest |
|
|
First, thanks for writing this. It is simple and seems to generally fuction well. We experienced the following:
Administration / Company Details screen
Error msg:
Fatal error: Using $this when not in object context in /home/cds575a/public_html/phpcollab/administration/mycompany .php on line 85
Client Organizations / Client Organizations screen
When we try to add we get:
Fatal error: Using $this when not in object context in /home/cds575a/public_html/phpcollab/clients/editclient.php on line 138
From Projects screen, if you select a project, you get the details but preceded by this:
Warning: mktime() expects parameter 3 to be long, string given in /home/cds575a/public_html/phpcollab/includes/library.php on line 673
Warning: mktime() expects parameter 3 to be long, string given in /home/cds575a/public_html/phpcollab/includes/library.php on line 673
If you select any Project Website, this msg is at the top:
Warning: mktime() expects parameter 3 to be long, string given in /home/cds575a/public_html/phpcollab/includes/library.php on line 673
Warning: mktime() expects parameter 3 to be long, string given in /home/cds575a/public_html/phpcollab/includes/library.php on line 673
Perhaps the error is on our part. Hope you can help.
Thanks! bchoy
|
|
|
|
| Re: Installation and setup issues [message #8103 is a reply to message #8102] |
Wed, 15 August 2007 05:30   |
|
|
bchoy,
Could you provide some more details please.
What OS are you running this on?
What version of PHP are you running?
What web server and version are you using?
What version of phpCollab are you using?
Does this happen all the time?
|
|
|
|
|
|
| Re: Installation and setup issues [message #8109 is a reply to message #8102] |
Thu, 16 August 2007 03:22   |
|
|
I'd highly recommend using phpCollab 2.5 CVS if you can. 2.4 has a lot of bugs that have been fixed in 2.5.
Any chance you can give 2.5 a try and let us know if you still have the same problems?
|
|
|
|
|
|
|
|
| Re: Installation and setup issues [message #8113 is a reply to message #8102] |
Fri, 17 August 2007 05:39   |
|
|
|
The database changed a little in 2.5. Some new columns were added to a couple of the tables. Try starting from a fresh database and see if the errors go away. If they do, then you can migrate the data over with a little tweaking. In 2.5 final, the upgrade process will be more seamless and shouldn't have any errors.
|
|
|
|
|
|
| Re: Installation and setup issues [message #8115 is a reply to message #8114] |
Sat, 18 August 2007 23:32   |
bchoy
Messages: 20 Registered: August 2007
|
phpCollab guest |
|
|
Have encountered another more serious problem.
We backup up the .db, wiped it, uploaded 2.5, setup and restored the .db, no problem.
However, my user account, not the admin account, did not recognized my password. When I log in as admin and change it, it still will not let me in. This is a big problem since I am the lead for all the projects on my site and I do not want to perform management as the admin.
Also, as an aside, the reset password function off the main login screen needs tweaking. If you enter you user name and press the button, the screen blinks, but otherwise, there is no other indication the pword was reset. I imagine, many users will press again and again, each time resetting the pword.
On a more general level, I did not realize that the program had not been in development. Do you know what the plans are to continue, or is dev paused at this version?
Thanks for the hard work!
BC
|
|
|
|
|
|
| Re: Installation and setup issues [message #8117 is a reply to message #8102] |
Mon, 20 August 2007 09:09   |
|
|
When you copied the data from the old 2.4 database to the 2.5 database, did you modify the schema to match the new tables?
If not then that will cause problems.
What message are you getting when you try and log in as the administrator? Can you log into any of the accounts?
|
|
|
|
| Re: Installation and setup issues [message #8120 is a reply to message #8117] |
Mon, 20 August 2007 22:56   |
bchoy
Messages: 20 Registered: August 2007
|
phpCollab guest |
|
|
Hi,
Here's what I did on the upgrade:
Backed up existing .db
Deleted it
Created new .db (same name)
Uploaded phpcollab 2.5
Ran the installation
Logged in and restored the database
Everything appeared fine and we continued using it, then for no apparent reason my user login locked. Upon login attempt, the screen blinked, fields cleared, thats it. Tried the password recover feature on the login page, but it did not work.
I then logged in as admin and posted some stuff that was needed for our group. The next time I tried to log in, same thing - admin/mypassword was not recognized. I went into my file manager on the webserver and created a new user but that user also cannot log in.
We are not programmers and cannot do much more than this. I can follow simple instructions, but I'm not a Jedi. If you can give me or point me to a step by step and I can wipe everything and reinstall again, I can do that, but I will have to repost some data and my group will lose their comments since I now have now way to backup the .db.
Thanks!
BC
|
|
|
|
| Re: Installation and setup issues [message #8121 is a reply to message #8102] |
Mon, 20 August 2007 23:57   |
|
|
Hmm.. Haven't heard of it doing that before.
Do yo have shell access to the web server where you are running the application? If so, you can backup your database using the MySQLDump utility.
As for the locked accounts, you manually reset the passwords in the database. Use the password values found here: http://phpcollab.wiki.sourceforge.net/FAQ. That will set the password to abc123. The default encryption is CRYPT. The command to update the record is:
UPDATE phpcollab.members SET password = 'value_from_wiki' WHERE login = 'login_name'
example:
UPDATE phpcollab.members SET password = 'ab3z4hnHA5WdU' WHERE login = 'admin'
I have not tested the above command but it should work, but make sure you backup the database prior to manually changing anything.
Let me know if you have any problems or need additional help.
[Updated on: Mon, 20 August 2007 23:59] Report message to a moderator
|
|
|
|
|
|
|
|