brustj / tracmor

Automatically exported from code.google.com/p/tracmor
GNU General Public License v2.0
0 stars 0 forks source link

Create Asset failes. #75

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. New setup
2. Created Locations / Users / Manufacturers etc. without problems
3. Create Asset -> Save

What is the expected output? What do you see instead?
I expect the new asset to be created, but I just get an error message and
no asset is created.

What version of the product are you using? On what operating system?
tracmor-0.2.0.tar.gz -> Downloaded and installed
updated with r647 from svn
Mythbuntu 9.10 64bit

Please provide any additional information below.
"An error occurred during AJAX Response parsing.
The error response will appear in a new popup."

Error in PHP Script
/tracmor/assets/asset_edit.php  PHP Version: 5.2.10-2ubuntu6;  Zend Engine
Version: 2.2.0;  Qcodo Version: 0.3.32 (Qcodo Beta 3)
Application: Apache/2.2.12 (Ubuntu);  Server Name: localhost
HTTP User Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3)
Gecko/20091020 Ubuntu/9.10 (karmic) Firefox/3.5.3
Trying to get property of non-object
Error Type:   E_NOTICE

Rendered Page:   Click here to view contents able to be rendered

Source File:  
/var/www/tracmor/includes/data_classes/TracmorSettings.class.php     Line:   46

Line 41:                    ///////////////////
Line 42:    
Line 43:                    default:
Line 44:                        try {
Line 45:                            $objAdminSetting =
AdminSetting::LoadByShortDescription(QConvertNotation::UnderscoreFromCamelCase($
strName));
Line 46:                            return $objAdminSetting->Value;
Line 47:                        } catch (QCallerException $objExc) {
Line 48:                            $objExc->IncrementOffset();
Line 49:                            throw $objExc;
Line 50:                        }
Line 51:                }

Call Stack:

#0 /var/www/tracmor/includes/data_classes/TracmorSettings.class.php(46):
QcodoHandleError()
#1
/var/www/tracmor/includes/qcodo/qform/QAssetEditComposite.class.php(804):
TracmorSettings->__get()
#2 /var/www/tracmor/includes/qcodo/_core/qform/QFormBase.class.php(655):
QAssetEditComposite->btnSave_Click()
#3 /var/www/tracmor/includes/qcodo/_core/qform/QFormBase.class.php(774):
QFormBase->TriggerMethod()
#4 /var/www/tracmor/includes/qcodo/_core/qform/QFormBase.class.php(242):
QFormBase->TriggerActions()
#5 /var/www/tracmor/assets/asset_edit.php(856): QFormBase::Run()

Variable Dump:   Show/Hide

  HTTP_COOKIE_VARS
  HTTP_ENV_VARS
  HTTP_GET_VARS
  HTTP_POST_FILES
  HTTP_POST_VARS
  HTTP_SERVER_VARS
  HTTP_SESSION_VARS
  _COOKIE
  _ENV
  _FILES
  _GET
  _POST
  _REQUEST
  _SERVER

Error Report Generated:  Wednesday, October 28 2009, 11:51:04 AM

Original issue reported on code.google.com by olejl77@gmail.com on 28 Oct 2009 at 6:53

GoogleCodeExporter commented 8 years ago
This is an error due to incorrect installation, not a bug in Tracmor. 

Original comment by jsincl...@tracmor.com on 14 Sep 2011 at 12:11