Bug 8340

Summary: Can't modify system preferences
Product: Koha Reporter: Hend <hend.eleraky>
Component: System AdministrationAssignee: Bugs List <koha-bugs>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P1 - high CC: asifaltaf1987, gmcharlt, hend.eleraky
Version: 3.6   
Hardware: All   
OS: Linux   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Hend 2012-07-01 14:08:28 UTC
I have a problem when modifying system preferences , i tried to change a value for example "opaccredits"  then i clicked "Save All OPAC preferences " button i got "Internal server error".
I checked the error log and i have found this error 
"(2)No such file or directory: exec of '/usr/share/koha/intranet/cgi-bin/svc/config/systempreferences' failed, referer: http://10.202.2.180:8080/cgi-bin/koha/admin/preferences.pl?tab=opac ".
I don't know why  this file couldn't be executed although it has execute permission.
Koha version usd : 3.6.5
Comment 1 Hend 2012-07-03 13:11:47 UTC
Finally i have found the problem  .In /svc/config/systempreferences  it was written #!/usr/bin/perl  but i have perl installed in the following path 
/opt/ActivePerl-5.12/bin/perl
so i have changed it to the correct perl path and it worked.