JInventory: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
== Problem observed ==
* was not 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')

Revision as of 13:46, 4 February 2013

Problem observed

  • was not 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
}