Closed GoogleCodeExporter closed 9 years ago
Hello,
Ok so the script fails on the encryption.
Can you check that in the 22 records you have if you see something empty after
'at_pw'?
mysql> SELECT * FROM myproductiondatabase.myprefix_log_items WHERE action =
'at_modification' AND raison LIKE 'at_pw %';
The encryption may fail if the data to encrypt is empty.
Original comment by nils.cpa...@gmail.com
on 9 Jan 2012 at 7:09
Hello,
Every result has something after at_pw, example of query result it's like
follows (I'm not pasting real data of course):
+---------+------------+---------+-----------------+------------------+
| id_item | date | id_user | action | raison |
+---------+------------+---------+-----------------+------------------+
| 1111 | 1111111111 | 2 | at_modification | at_pw : passpass |
| 1111 | 1111111111 | 2 | at_modification | at_pw : passpass |
| 1111 | 1111111111 | 2 | at_modification | at_pw : passpass |
| 1111 | 1111111111 | 2 | at_modification | at_pw : passpass |
| 1111 | 1111111111 | 2 | at_modification | at_pw : passpass |
| 1111 | 1111111111 | 2 | at_modification | at_pw : passpass |
| 1111 | 1111111111 | 2 | at_modification | at_pw : passpass |
| 1111 | 1111111111 | 2 | at_modification | at_pw : passpass |
| 1111 | 1111111111 | 2 | at_modification | at_pw : passpass |
| 1111 | 1111111111 | 2 | at_modification | at_pw : passpass |
| 1111 | 1111111111 | 2 | at_modification | at_pw : passpass |
| 1111 | 1111111111 | 2 | at_modification | at_pw : passpass |
| 1111 | 1111111111 | 2 | at_modification | at_pw : passpass |
| 1111 | 1111111111 | 2 | at_modification | at_pw : passpass |
| 1111 | 1111111111 | 2 | at_modification | at_pw : passpass |
| 1111 | 1111111111 | 2 | at_modification | at_pw : passpass |
| 1111 | 1111111111 | 2 | at_modification | at_pw : passpass |
| 1111 | 1111111111 | 2 | at_modification | at_pw : passpass |
| 1111 | 1111111111 | 2 | at_modification | at_pw : passpass |
| 1111 | 1111111111 | 2 | at_modification | at_pw : passpass |
| 1111 | 1111111111 | 2 | at_modification | at_pw : passpass |
| 1111 | 1111111111 | 2 | at_modification | at_pw : passpass |
+---------+------------+---------+-----------------+------------------+
22 rows in set (0.02 sec)
Regards,
Original comment by alar...@gmail.com
on 9 Jan 2012 at 7:29
Oh I think I found the solution.
I didn't focus on the good error message.
It seems that a session variable is not identified.
So please open file upgrade_ajax.php and find line:
$text = AesCtr::encrypt(trim($reason[1]), $_SESSION['key'], 256);
Replace $_SESSION['key'] by $_SESSION['encrypt_key']
Please tell me.
Original comment by nils.cpa...@gmail.com
on 10 Jan 2012 at 5:37
Same problem, diferent index name:
[error] [client 5.5.5.5] PHP Notice: Undefined index: encrypt_key in
/folder/install/upgrade_ajax.php on line 678, referer:
http://folder/install/upgrade.php
Sorry
Original comment by alar...@gmail.com
on 10 Jan 2012 at 6:14
Please use those files and tell me
Original comment by nils.cpa...@gmail.com
on 10 Jan 2012 at 7:17
Attachments:
Hi Nils,
Done, this time line moves:
[error] [client 5.5.5.5] PHP Notice: Undefined index: encrypt_key in
/folder/install/upgrade_ajax.php on line 713, referer:
http://folder/install/upgrade.php
Regards,
Original comment by alar...@gmail.com
on 10 Jan 2012 at 7:29
Rooh how stupid I am ... I've seen my silly mistake.
I've just tested ok on my test server.
Original comment by nils.cpa...@gmail.com
on 10 Jan 2012 at 7:53
Attachments:
I forget the 2d file
Original comment by nils.cpa...@gmail.com
on 10 Jan 2012 at 7:55
Attachments:
Hi Nils,
Awesome, now it's working fine, thank you very much.
Regards,
Original comment by alar...@gmail.com
on 10 Jan 2012 at 7:59
Ah good news ... and very sorry for my mistake.
It was as silly that I couldn't imagine that it was that :-(
Thanks for debugging and helping ;-)
Original comment by nils.cpa...@gmail.com
on 10 Jan 2012 at 9:03
Hi Nils,
There is no reason to apologize I am really grateful for your dedication and
support, this is the minimum I can do, you are really making a wonderful job,
and I want you to know, thanks.
Regards,
Original comment by alar...@gmail.com
on 10 Jan 2012 at 9:36
Original issue reported on code.google.com by
alar...@gmail.com
on 9 Jan 2012 at 11:33