Discussion Forums  >  Images, Documents, File Locations

Replies: 16    Views: 82

CampGirl
Lost but trying
Profile
Posts: 144
Reg: Jan 10, 2013
Here and Now
7,240
11/13/13 03:37 PM (10 years ago)

error in BT when changing images

Hi all, sorry if this has been answered before, but I'm getting this error when I try to change an image on a screen: An error ocurred in running the fnExecuteNonQuery() method in utilityFunctions.php (6) Is it a problem with the image itself, or something else? Thanks, Sarah
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
11/13/13 03:39 PM (10 years ago)
Are you running on Xcode or Eclipse?
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
11/13/13 03:40 PM (10 years ago)
(or Android Studio)
 
CampGirl
Lost but trying
Profile
Posts: 144
Reg: Jan 10, 2013
Here and Now
7,240
like
11/13/13 04:13 PM (10 years ago)
xcode
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
11/13/13 04:20 PM (10 years ago)
A re-download of the source code could do the trick. But equally, it might be a problem with the JSON. Could you copy all the Configuration Data (from your Buzztouch control panel) to this website and see if there are any problems. http://jsonlint.com
 
CampGirl
Lost but trying
Profile
Posts: 144
Reg: Jan 10, 2013
Here and Now
7,240
like
11/13/13 04:27 PM (10 years ago)
Thanks- I tried the website (hadn't known about that- thanks!) and it says it's valid. I'll try re-downloading and see what happens.
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
11/13/13 04:35 PM (10 years ago)
Redownloading is definitely the next best solution.
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
11/13/13 04:38 PM (10 years ago)
Failing that, I recommend you download a previous version of Xcode. Buzztouch hasnt yet optimised it's code for iOS 7 and Xcode 5. This is coming. If your redownload doesn't work, the download Xcode 4.6.3 and then recompile.
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
11/13/13 11:48 PM (10 years ago)
That's a control panel error I've seen a lot. I can look up what causes it tomorrow if you are still stuck.
 
EdReyes
Lost but trying
Profile
Posts: 574
Reg: Oct 21, 2013
location unknow...
17,640
like
11/14/13 03:09 AM (10 years ago)
Happened to me, what I did was upload a different file format so if i originally put a png, and even i deleted it still there, so i uploaded a jpg then it changed, im using xcode5 and ios7
 
CampGirl
Lost but trying
Profile
Posts: 144
Reg: Jan 10, 2013
Here and Now
7,240
like
11/14/13 07:15 AM (10 years ago)
Thanks so much everyone- re-downloading does not change anything, and uploading a png instead also gets the same error. I'm using Xcode 5.0.1 and iOS 7, so I'll probably download a previous version of Xcode or wait for the BT update. Other things change as well, like the back button is gone on the screens and redoing those doesn't change things either… Susan do you think you can look up what's causing this? Thanks again all!
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
11/14/13 10:15 AM (10 years ago)
You are self-hosting, right? This error is from the includes/utilityFunctions.php file. At the end I cut and past the code that is triggering the error. I believe what it is saying is that you sent a query (made a change on the control panel) and you connected, and you should have a result--i.e. the change should be made to your control panel. However, there is no result back from the query, and so you get the error below. (See the code at the end.) I am afraid that is all I know off hand--it may be best to reach out to [email protected] to see if he can fix it. Here is a link that may be off help on the same issue: http://www.buzztouch.com/forum/thread.php?tid=D62D74D37226E42B38DF537&fid=A00805FCC9962ECBA15A891&sortColumn=FT.id&sortUpDown=DESC&currentPage=1 And here is the code that triggers the error. $result = mysql_query($theSql, $conn); if($result){ return 1; }else{ if(APP_ERROR_REPORTING > 0){ die("fnExecuteNonQuery :: fnDbGetResult (get result)<br>" . fnSqlError()); }else{ die("An error ocurred in running the fnExecuteNonQuery() method in utilityFunctions.php (6)"); } } } // end if connected
 
CampGirl
Lost but trying
Profile
Posts: 144
Reg: Jan 10, 2013
Here and Now
7,240
like
11/14/13 10:44 AM (10 years ago)
Thanks, Sue, but I'm not self-hosted. I'll send Danny an email, though, and check out the link you mentioned.
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
11/14/13 10:51 AM (10 years ago)
Then the problem is in the BT system. Hmm. Because the code is similar I think the problem is the same. What plugin are you working in? What is the file name of your png?
 
CampGirl
Lost but trying
Profile
Posts: 144
Reg: Jan 10, 2013
Here and Now
7,240
like
11/14/13 01:45 PM (10 years ago)
Hi Sue, I just got an email from Danny and tried deleting the screen and image, and creating a new screen and uploading the image. Now I'm getting the error for every aspect of that screen- Nav bar, button layout, images, etc. Waiting for word from Danny but if you have thoughts as well, that would be great. It's a menu button screen.
 
CampGirl
Lost but trying
Profile
Posts: 144
Reg: Jan 10, 2013
Here and Now
7,240
like
11/14/13 05:50 PM (10 years ago)
Ok… I'm embarrassed to say all that was wrong was that my nickname for the screen had an apostrophe!! But I still don't get why it had worked before… Oh well! Live and learn. =)
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
11/14/13 08:13 PM (10 years ago)
LOL! We all should have thought of that.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.