Discussion Forums  >  BT.com Website, Account Questions

Replies: 6    Views: 74

Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
03/13/12 03:04 PM (13 years ago)

Can not Download 1.5 Source Code

Hi All, When I try to download my BT1.5 source code, I get this alert popup: done<div style='border:1px solid red;padding:10px;margin:10px;background-color:#FFFFFF;'>Oops, a PHP error was trapped.<hr>File: /var/www/vhosts/buzztouch-demo/public_html/app/cp_v15/AJAX_v15_download.php<br/>Line: 600<br/>Message: imagecopyresampled() expects parameter 2 to be resource, boolean given <div> Then it goes back to when it asked to prepare the source code. Thanks, Jake
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
03/13/12 09:41 PM (13 years ago)
Re upload your apps icon, it will work. Discussion about this the other day. Found and fixed but you do need to re-upload the icon.
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
03/13/12 11:47 PM (13 years ago)
I tried this but still the same error.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
03/13/12 11:54 PM (13 years ago)
App name plz. Exactly as it appears in your control panel. I'll get a look.
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
03/14/12 12:08 AM (13 years ago)
Book It
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
03/14/12 12:36 AM (13 years ago)
Ok, got it. Here's what I found. (and you can download the project now) a) The icon you uploaded to your control panel had a valid file extension - .jpg b) The download project screen failed, it could not process the image. I then downloaded the icon you uploaded and opened it in an image editor. Whammo, "this is not a valid jpeg image" This was the message in PhotoShop. I also tried opening it in Fireworks, another popular image editing program. I renamed the image with a .png extension. It opened fine in PhotoShop and Fireworks. I then exported it as a .jpg image, re uploaded it to your control panel, and tested the download screen. Works! Whoo hoo. Here's what I think happened, and I'm speculating here: a) You created or obtained an image for your icon. It was a .png extension. It was a .png image. you renamed it on your computer with a .jpg extension to the control panel would allow you to upload it as an icon. v1.5 apps only allow .jpg images as uploads and the extension satisfied this requirement. (v2.0 allows .jpg or .png). However, just because it had a .jpg extension doesn't necessarily mean it's a .jpg image. I'll be it was a .png renamed. Just a hunch. If this is indeed what happened, you'll need to get a look at your image editor and be sure to export as .jpg - renaming is not the same thing. Totally different file formats. This only matters on v1.5 apps. The old site and download process didn't do this inspection so it probably worked on the old site but didn't on the new site. If this isn't what happened, I don't know what did? Good learning for both of us maybe. Flight to LA leaves in 4 hours, gotta run. g night.... d.
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
03/14/12 12:38 AM (13 years ago)
Hi David, Thanks for all of your help. Have a safe flight. Jake
 

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.