Discussion Forums  >  Self Hosted Control Panels

Replies: 13    Views: 104

Red Dog
buzztouch Evangelist
Profile
Posts: 805
Reg: Jun 16, 2011
Southern Califo...
18,800
09/11/13 04:22 PM (10 years ago)

A problem occurred while saving the entries (2) ?

Hello Everyone. I updated my server to 2.1.9. Super Easy. I then updated all my plugins and refreshed them. Easy. But now when I try to make changes in any of my plugin's control panel and hit "save" I get this error "A problem occurred while saving the entries (2)" I even deleted one plugin, downloaded it again from Buzztouch and FTP'd it up to my server. Set all files to 755. Same error. Where did I go wrong? Thanks in advance.
 
Cakebit
Code is Art
Profile
Posts: 500
Reg: Dec 15, 2010
In your local b...
16,500
like
09/11/13 04:36 PM (10 years ago)
Have you customized your server folders in any way? This error comes from ALL plugin index.php files when error is thrown: //function that will be called on error... error: function(jqXHR, textStatus, errorThrown){ resultsDiv.className = "submit_working"; resultsDiv.innerHTML = "A problem occurred while saving the entries (2)"; },
 
Red Dog
buzztouch Evangelist
Profile
Posts: 805
Reg: Jun 16, 2011
Southern Califo...
18,800
like
09/11/13 04:50 PM (10 years ago)
Customized? Not knowingly ;-) i made sure the index.php files in all plugins are at 755. It must be permissions higher up the tree. Will check.
 
Cakebit
Code is Art
Profile
Posts: 500
Reg: Dec 15, 2010
In your local b...
16,500
like
09/11/13 05:15 PM (10 years ago)
Can you PM me a link to your self-hosted server url? The error comes from when the save_JSON.php can't be found in the plugin folder. See: Clicking the SAVE button triggers a javascript function (included higher up in this file) that POST'S all the form field entries the user made to a .PHP file in this plugins directory. This file is named save_JSON.php. It is this file that is responsible for saving the entries to the database then returning a "saved" or "error" message when it finishes.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
09/12/13 01:49 AM (10 years ago)
Ah...yup....@CakeBit is right. BUT, and this is a big but... Most (all maybe?) of the plugins that were updated last week no longer use the save_JSON.php file included in their packages. Why? Because they use a .php file included in the self hosted package instead. This is because we're simplifying the plugin package so developers dont' need to include that file in their .zip. So, have a look in your BT-server/bt_v15/bt_app directory on your server. bt_saveScreenData_AJAX.php should exist in this folder. This is a new file that did not come with previous released. It started with 2.1.9. If it's not there, upload it. You could also see the plugin itself for the reference to the "save script" - I'll be it's referencing the new file :-)
 
Red Dog
buzztouch Evangelist
Profile
Posts: 805
Reg: Jun 16, 2011
Southern Califo...
18,800
like
09/12/13 04:58 AM (10 years ago)
Thank you David. I got it fixed last night by changing everything in the bt_v15 directory to 755. Glad to know about that change to the plugins.
 
Cakebit
Code is Art
Profile
Posts: 500
Reg: Dec 15, 2010
In your local b...
16,500
like
09/12/13 07:19 AM (10 years ago)
Thanks David!
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
09/12/13 07:51 AM (10 years ago)
Thanks David. Had the same issue and fixed it by downgrading the plug-in. Some good key info there. Appreciate the tidbit!
 
BandO
I hate code!
Profile
Posts: 153
Reg: Jan 23, 2012
Manhattan
1,530
like
09/13/13 05:04 PM (10 years ago)
Upgrade took like 5 minutes BUT.........having a few issues with some plugins as well. For example: https://pbs.twimg.com/media/BUFOF4_CQAAtubx.png
 
Cakebit
Code is Art
Profile
Posts: 500
Reg: Dec 15, 2010
In your local b...
16,500
like
09/13/13 05:42 PM (10 years ago)
@ BandO, What plugin is this? Is it in the plugin market? Are you self-hosted?
 
BandO
I hate code!
Profile
Posts: 153
Reg: Jan 23, 2012
Manhattan
1,530
like
09/13/13 05:45 PM (10 years ago)
Stream Audio stopped showing Song info, Tip Calculator doesn't calculate and SMG Message stops showing location upon update to 2.1.9. Im sure i did something on the new install but not sure what it is... p.s. self hosted
 
Cakebit
Code is Art
Profile
Posts: 500
Reg: Dec 15, 2010
In your local b...
16,500
like
09/13/13 08:36 PM (10 years ago)
@ BandO, What plugin is this? Is it in the plugin market? Are you self-hosted?
 
BandO
I hate code!
Profile
Posts: 153
Reg: Jan 23, 2012
Manhattan
1,530
like
09/14/13 12:51 AM (10 years ago)
UPDATE UPDATE: Smug's Message Locator works in the simulator but still not in the device.
 
BandO
I hate code!
Profile
Posts: 153
Reg: Jan 23, 2012
Manhattan
1,530
like
09/14/13 09:25 AM (10 years ago)
UPDATE UPDATE UPDATE: After doing the WRONG thing all night I finally figured what to do. After Update to 2.1.9 you must 1) Download Plugin Folder(you must download the entire project for this) 2) Erase old plugin folder from project 3) Replace with plugin folder downloaded after update. 4) Relax cause your back in business The only thing really left is to re-submit to Apple... All plugins working EXCEPT tip calculator (or the ones I use at least). Now Playing and MSG working fine :) Thanks a million for all your help. B-Touch user are really the BEST!!!!!!!
 

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.