Discussion Forums  >  Self Hosted Control Panels

Replies: 4    Views: 126

webjamy
Aspiring developer
Profile
Posts: 5
Reg: Mar 15, 2012
location unknow...
50
03/18/12 05:42 AM (13 years ago)

Something Went Wrong. There was a problem parsing the JSON result?

Hi, I've got this error when I try to do the package (Application/Download Source Code/Prepare Package for download). I'm on a linux server, CURL is enabled, BT_Server 2.1.6. I found some topics in the forum with the same problem but it still doesn't work for me. If someone can help me, thank you :)
 
webjamy
Aspiring developer
Profile
Posts: 5
Reg: Mar 15, 2012
location unknow...
50
like
03/18/12 03:12 PM (13 years ago)
Ok, in fact it works... almost... When I launch "Prepare Package", I found the zip package in <bt_server>/files/temp. When I launch in my browser the <bt_server>/bt_v15/bt_app/bt_appDownload_AJAX.php?appGuid=<AppGuid>&whatPlatform=ios script, the result JSON is "Success" but there is a PHP error on the icon image : It is referenced as a JPG in DB and on the server but in fact it is a PNG (I don't understand why). I renamed it as .PNG in DB and on the server, and everything is OK now. Hope can help someone :)
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
03/19/12 11:55 AM (13 years ago)
I too am having similar problems when I typed mine out as above it gave this error. Help please. {"result":{"status":"error", "message":" There was a problem figuring out what platform to package the project for?"}} Oops, a PHP error was trapped. File: /customers/9/4/c/kittsapps.co.uk/httpd.www/BT-server/bt_v15/bt_app/bt_appDownload_AJAX.php Line: 15 Message: set_time_limit(): Cannot set time limit due to system policy
 
webjamy
Aspiring developer
Profile
Posts: 5
Reg: Mar 15, 2012
location unknow...
50
like
03/19/12 04:12 PM (13 years ago)
Basically, the set_time_limit function is disabled in php.ini. If you are running on a hosted server that you don't control, you can talk to your hosting provider and ask them if they will enable set_time_limit. If you are hosting the server yourself, then look in the php.ini file for a line like this : disable_functions = set_time_limit and remove the set_time_limit from the list and run again. You can also try to remove the set_time_limit call in bt_appDownload_AJAX.php Line: 15.
 
Parker @ buzztouch
buzztouch Evangelist
Profile
Posts: 1395
Reg: May 09, 2011
Pacific Grove, ...
24,500
like
03/22/12 06:42 PM (13 years ago)
Hi guys, Please see this and comment on that thread if it doesn't work for you. http://www.buzztouch.com/forum/thread.php?fid=24FB00FBA70BCFD7D26F09A
 

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.