JInventory: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Problem observed == | |||
* Sergey B.: it was not proper 'write' permission to templates_c, blank page appeared; interestingly, if for templates/example _main.tpl newer then templates_c/%%5C^5C1^5C1AB388%%_main.tpl.php, blank page displayed and there is no error message !!! | |||
== some stuff == | |||
editCable.php: | editCable.php: | ||
if ($_REQUEST['action'] == 'save' || $_REQUEST['action'] == 'saveAsNew') | if ($_REQUEST['action'] == 'save' || $_REQUEST['action'] == 'saveAsNew') | ||
Line 5: | Line 12: | ||
// if no errors, insert info from all gui fields into database | // if no errors, insert info from all gui fields into database | ||
} | } | ||
command was used to copy loc5 name to the coord: | |||
update Item LEFT OUTER JOIN Loc5 ON ITM_Loc5Id = LOC5_ID set ITM_Coord=LOC5_Name where LOC5_Name='bck.slot 21'; |
Latest revision as of 12:53, 22 August 2013
Problem observed
- Sergey B.: it was not proper 'write' permission to templates_c, blank page appeared; interestingly, if for templates/example _main.tpl newer then templates_c/%%5C^5C1^5C1AB388%%_main.tpl.php, blank page displayed and there is no error message !!!
some stuff
editCable.php:
if ($_REQUEST['action'] == 'save' || $_REQUEST['action'] == 'saveAsNew') { // check for required fields // if no errors, insert info from all gui fields into database }
command was used to copy loc5 name to the coord:
update Item LEFT OUTER JOIN Loc5 ON ITM_Loc5Id = LOC5_ID set ITM_Coord=LOC5_Name where LOC5_Name='bck.slot 21';