Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 5    Views: 58

Patrickmotox
Aspiring developer
Profile
Posts: 89
Reg: Dec 10, 2013
Cameron Park, C...
7,090
02/12/14 07:25 PM (11 years ago)

Can't upload Icon on Self Hosted

Posting again to pop this up to the top of the stack. Reference: http://www.buzztouch.com/forum/thread.php?tid=5D9F864B4130BB2A4F533A7&currentPage=1 So Everything about this self hosted setup works, except uploading the Icon, and of course not being able to test preparing the package because I can't download the icon. I have checked everything. Directory and file permissions, paths. Versions... I have traced it as far as I can see, and I can't see much inside bt_icon.php... So I have relegated myself to a work around, but I need help. Does anyone know what record or fields in the record, that needs to be added to bt_files table and what goes in what field? It looks pretty straight forward, maybe that is not the right table to add the record to? I want to manually add the icon into the directory and create a record of it in the DB. Will that work, so I can prepare and download the project or not? once again. Help.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
02/12/14 08:18 PM (11 years ago)
There are two; iconURL and iconName. They're held in the ***_applications table of your BT Database. iconURL is in the form of: http://www.yourserver.com/files/applications/EA1BC605F816C71920E33A6E4/images/E47CA752F7F8E94D94D76E1_icon.png and iconName is in the form of: E47CA752F7F8E94D94D76E1_icon.png Interesting to note: I have a few 'live' apps already in the wild, yet NO app has a design mode of 'Live'. I haven't had to touch them, so I haven't experienced some of the issues with the recent Live/Design updates… but I wonder if it can be related… Cheers! -- Smug
 
Patrickmotox
Aspiring developer
Profile
Posts: 89
Reg: Dec 10, 2013
Cameron Park, C...
7,090
like
02/12/14 10:03 PM (11 years ago)
thanks Smug. Looking.
 
fusionsch
I hate code!
Profile
Posts: 516
Reg: Dec 28, 2010
Montreux Switze...
11,610
like
02/13/14 11:59 AM (11 years ago)
Check if your GD Graphics Library is active on your server. It is needed to upload the icon. Cheers Jack
 
Patrickmotox
Aspiring developer
Profile
Posts: 89
Reg: Dec 10, 2013
Cameron Park, C...
7,090
like
02/13/14 01:54 PM (11 years ago)
Yep. It is. And I found I need another library for PHP5 5.5 to work. I went back to it and started tracing where things were breaking. And it works now, perfectly. Yea baby.... here is what I had to install to get it working. But it ALL works. Wahoo!!!! These were all the latest, since I am running the latest Mint Cinnamon v16 linux box. php5-common - 5.5.3+dfsg-1ubuntu2.1 libapache2-mod-php5 php5-curl php5-gd php5-json php5-cli I added in a few more for me php5-gmp php5-dbg php5-mysql. So the net-net is. I learned one heck of a lot about Buzztouch inner workings, the DB and PHP, and IT WORKS!!!! Want to thank you Smug, for the words of encouragement and pointers, and to keep on going. And thank you to Jack. ":^)
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
02/13/14 02:35 PM (11 years ago)
Dude, you are quickly becoming a 'go to' resource for self hosting, lol! I don't think a problem exists that you didn't face and over come. Great work! Glad you're going! Cheers! -- Smug
 

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.