Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Error when saving R...
 
Notifications
Clear all

Error when saving RealWorkAllocation

12 Posts
2 Users
0 Reactions
13 K Views
(@rdevau)
Posts: 7
Active Member
Topic starter
 
[#388]

Dear All,

I have the same issue as spiderjn (topic #475)
We use v1.9.0
I checked the parameter dvVersion: dbVersion | V1.9.0
And when users want to save imputation, I get:

2012-02-27 13:49:28 ** ERROR ** ERROR **
2012-02-27 13:49:28 ** ERROR ** on file '/var/www/project/projectorria/tool/saveImputation.php' at line (15)
2012-02-27 13:49:28 ** ERROR ***** cause = Undefined index: nbLines

Do you have any feedback about this?
Need more logs or informations, ask me!
Best Regards,
Rémi


 
Posted : 27 Feb 2012 16H07
(@babynus)
Posts: 14952
Member Admin
 

Very strange.
I never produced this issue.

Can you try to replace in /model/ImputationLine.php, line 543

    if (! $print) {     
      echo '';
    }

with

 if (1) {     
      echo '';
    }

 
Posted : 27 Feb 2012 17H43
(@rdevau)
Posts: 7
Active Member
Topic starter
 

Thanks for the feedback,

Same result (in v1.9.0, this is the line 481).

Need more log/info?

Regards,
Rémi


 
Posted : 27 Feb 2012 18H18
(@babynus)
Posts: 14952
Member Admin
 

Can you please try to replace same lines with

if (! $print) {     
      echo '';
    }

Then go to Real Work Allocation, and send me print screen (bottom of screen is important : there should be a new "not formated" field.
Thanks


 
Posted : 28 Feb 2012 17H28
(@rdevau)
Posts: 7
Active Member
Topic starter
 

Yes, I can see the text box with a good value... please see the screenshot on the following link...
http://postimage.org/image/p9vs1b6pp/

And with the original code, i get the correct data too...



The whole form block:










 
Posted : 28 Feb 2012 17H50
(@babynus)
Posts: 14952
Member Admin
 

Ist it really the whole form block ?
the

should include much more data...


 
Posted : 28 Feb 2012 17H55
(@rdevau)
Posts: 7
Active Member
Topic starter
 

Sorry, the table was collapsed in firebug:


 
Posted : 28 Feb 2012 18H01
(@babynus)
Posts: 14952
Member Admin
 

Hi,

I've got an idea : maybe your request reponse is just truncated.
Possibly, it's beacause post_max_size is too small.
Try and change it in php.ini.
For instance

post_max_size = 8M

(set the modified files back to initial version before testing again)


 
Posted : 28 Feb 2012 18H43
(@rdevau)
Posts: 7
Active Member
Topic starter
 

I set it to 16M, but no change.

I think i'll close this ticket, the v2 is fine for me, i'll upgrade my envir.
If you want me to test some other things, hurry up, tomorrow the v2 will drive our team!

Best regards,
Rémi


 
Posted : 28 Feb 2012 20H23
(@babynus)
Posts: 14952
Member Admin
 

You don't have the issue on V2 with same Data ?


 
Posted : 28 Feb 2012 20H25
(@rdevau)
Posts: 7
Active Member
Topic starter
 

Hi,

I got the correct apache error log, and i find what was the problem...:

PHP Warning:  Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0

I set it to 10000, and now it works.

Sorry to have bothered you, if i had the right log from the start...

Big thanks for your help anyway!
Best regards, and bravo for your really good job!

rémi


 
Posted : 29 Feb 2012 10H28
(@babynus)
Posts: 14952
Member Admin
 

Thanks for your comments.

Mybe this post will help another user in the future....


 
Posted : 29 Feb 2012 13H40
Share:

Scroll to Top