Author Topic: Edit / Update a Reason -> Ajax request failed  (Read 990 times)

0 Members and 1 Guest are viewing this topic.

Offline Huge

  • Newbie
  • *
  • Posts: 13
  • Karma: +7/-0
    • View Profile
Edit / Update a Reason -> Ajax request failed
« on: September 26, 2013, 07:55:43 PM »
I tried Editing a Reason and it only works if I am running PHP 5.2.9, but does not work running PHP 5.4.2 or PHP 5.5.3 and will produce the error message:

Code: [Select]
Ajax request failed!
Unable to parse return data as JSON

Is there a way to patch this? Thanks!

Offline Chad

  • Administrator
  • Full Member
  • ***
  • Posts: 215
  • Karma: +27/-0
    • View Profile
Re: Edit / Update a Reason -> Ajax request failed
« Reply #1 on: September 27, 2013, 09:47:09 PM »
Did the error give what file and line number that caused the error?

Thanks,
Chad

Offline Huge

  • Newbie
  • *
  • Posts: 13
  • Karma: +7/-0
    • View Profile
Re: Edit / Update a Reason -> Ajax request failed
« Reply #2 on: October 07, 2013, 06:15:10 AM »
Hi, sorry for the delay in posting back. I just tried to edit a reason and here is the error log entry. I'm running this on my localhost using xampp with php 5.5.3:

Code: [Select]
[10-07-2013 06:01:33am] A non-recoverable program error has occurred
Illegal string offset 'reason_id'
Stack Trace:
#0 C:\xampp\htdocs\tubex-master\admin\includes\cp-reason-search-item.php(1): ErrorHandler(2, 'Illegal string ...', 'C:\xampp\htdocs...', 1, Array)
#1 C:\xampp\htdocs\tubex-master\admin\ajax.php(3329): include('C:\xampp\htdocs...')
#2 C:\xampp\htdocs\tubex-master\admin\ajax.php(2794): SearchItemHtml('reason', false)
#3 [internal function]: tbxGenericEdit('reason')
#4 C:\xampp\htdocs\tubex-master\admin\includes\cp-global.php(255): call_user_func_array('tbxGenericEdit', Array)
#5 C:\xampp\htdocs\tubex-master\admin\ajax.php(21): Execute('tbxGenericEdit(...', 'tbxFunctionMiss...')
#6 {main}

Unofficial JMB Support Forums

Re: Edit / Update a Reason -> Ajax request failed
« Reply #2 on: October 07, 2013, 06:15:10 AM »


Tags:
 

Related Topics

  Subject / Started by Replies Last post
1 Replies
1171 Views
Last post September 25, 2012, 08:19:52 PM
by Chad
7 Replies
4244 Views
Last post June 04, 2013, 09:09:12 AM
by scubakevin
1 Replies
1365 Views
Last post September 11, 2013, 04:44:36 PM
by a4evermedia
1 Replies
981 Views
Last post November 17, 2013, 06:43:23 PM
by Chad
1 Replies
1039 Views
Last post January 11, 2014, 04:48:08 PM
by mac500