myp2pcafe Posted December 18, 2008 Report Share Posted December 18, 2008 {"build":12639,"error":"SHELL: Update failed. REPLACE INTO torrents (userid, instanceid, hash, name) VALUES ('0', '1', 'E883BF72B839BF7D731649D3A8C059F091B4CA98', 'Michael Brooks - 13 Things That Don't Make Sense (2008)'); SQL logic error or missing database"} Link to comment Share on other sites More sharing options...
Lord Alderaan Posted December 18, 2008 Author Report Share Posted December 18, 2008 I just released 0.4.1 fixing a bug with properly quoting strings.To update download the new package. Extract the sql.php file in the classes folder and overwrite the original on your webserver with the new one.This should fix your problem myp2pcafe. Please let me know if it worked. Link to comment Share on other sites More sharing options...
myp2pcafe Posted December 18, 2008 Report Share Posted December 18, 2008 yes it did fix it Lord Alderaanreally thx Link to comment Share on other sites More sharing options...
Lord Alderaan Posted December 18, 2008 Author Report Share Posted December 18, 2008 Btw you have magic_quotes_gpc enabled in your php.ini this is gonna result in problems. Highly recommended to turn it off.Because before every ', " and \ in a form text field (think adding labels, changing settings and the username/password/torrentdir/action fields in the admin panel) a \ is added.For example if you try to name a user Jim's Computer he will be saved as Jim\'s Computer. Link to comment Share on other sites More sharing options...
myp2pcafe Posted December 18, 2008 Report Share Posted December 18, 2008 disabled it Link to comment Share on other sites More sharing options...
Spectracide Posted December 23, 2008 Report Share Posted December 23, 2008 Any idea what is going on here? Version 0.4.1. My PHP infovvv edit: Thank you, that worked. vvv Link to comment Share on other sites More sharing options...
Lord Alderaan Posted December 23, 2008 Author Report Share Posted December 23, 2008 Yes my bad Spectracide. Open webui_shell/inc/admin/main.php in a text editor (notepad) and change the first line from<?into<?php Link to comment Share on other sites More sharing options...
myp2pcafe Posted January 9, 2009 Report Share Posted January 9, 2009 any progress, anxiously waiting for new release any way i could help to contribute? Link to comment Share on other sites More sharing options...
Lord Alderaan Posted January 9, 2009 Author Report Share Posted January 9, 2009 Haven't had the time to do anything yet. You have php and sql knowledge? And what would you like to add? Link to comment Share on other sites More sharing options...
myp2pcafe Posted January 22, 2009 Report Share Posted January 22, 2009 not so good in php sorry, either way i found out few bugs with this systemsometime the torrents just dissapear from users side but still exist within the utorrent, why is that so? Link to comment Share on other sites More sharing options...
Lord Alderaan Posted January 22, 2009 Author Report Share Posted January 22, 2009 I'm working on 0.5 of the Webui Shell. Progress:Bugs:* Sometimes added torrents don't get assigned to the user.* Sometimes the webui doesn't update the list of torrents properly.* The HTTP auth and IP login didn't work properly. -=FIXED=-Todo:Direct download Using HTTP -=DONE=- Using FTP -=requires FTP server, idea discarded=- Add to interface Awaiting SuggestionsQuota Max # of torrents Max combined torrentsizeMulti-Language Replace text with variables Use webui language files if possibleAdmin panel Revamp the Admin panel Add description of options@myp2pcafe:The problem you have is probably related to the first bug. Link to comment Share on other sites More sharing options...
myp2pcafe Posted January 31, 2009 Report Share Posted January 31, 2009 like the idea but u should have enabled the ftp download as an optionLIke on my side have ftp server with same uname&pass as webui Link to comment Share on other sites More sharing options...
Lord Alderaan Posted February 2, 2009 Author Report Share Posted February 2, 2009 myp2pcafe FTP has a lot off issues.Either the webuishell has to be a forwarder for it, which means the webui has to login to index the files, compare that to the users torrentlist, then only offer links to the files it is allowed to download, then when someone clicks that link download the file and then offer it to the user.Or the webuishell provides direct ftp links, but then it'd need a way to know where files are located on the ftp and this varies widely for people who already have ftp stuff, it won't be able to filter downloads based on the torrent list (well I could but with a single username and password the users can get to all files anyways), and it is just as easy for admins to hand out the ftp login info to its users which saves me a few days of coding imho it's too complicated (I have to program for a very broad set of requirements people might have) and the advantages are simply not worth the (my ) trouble. Link to comment Share on other sites More sharing options...
myp2pcafe Posted February 2, 2009 Report Share Posted February 2, 2009 hmm ic how did u overcome the 4gb filesize issue, i tried to use a few php + apache based http download system and all of them has issue to download file size over 4gb and i couldnt use a download manager with multiple connection to do it @_@hope u have overcome this problems i faced over the years Link to comment Share on other sites More sharing options...
Lord Alderaan Posted February 2, 2009 Author Report Share Posted February 2, 2009 Yes I did.If the filesize cannot be determined it is left unknown in the header.The data itself is send using a fread loop. Simplified:while (feof($file) == false) { echo fread( $file, 2024 ); flush();}Although idd 4GB+ files don't have resume support (which is needed for multiple connection file download). Link to comment Share on other sites More sharing options...
splinter98 Posted February 2, 2009 Report Share Posted February 2, 2009 hmm, after a server change and a new installation of the shell, every torrent I try and add comes up with 'Not a valid Torrent File' which means I can't add any torrents :S however adding them through the normal webUI works fine.Any suggestions as to why would be greatly helpful (especially if I have missed something - which I don't think I have) Link to comment Share on other sites More sharing options...
Lord Alderaan Posted February 3, 2009 Author Report Share Posted February 3, 2009 "Not a valid Torrent File" means that the Bencode class was unable to read the torrent file properly or was unable to find the info dictionary or the name field in the torrent file.It might have to do with where your web server tries to save uploaded (by form) files. Link to comment Share on other sites More sharing options...
splinter98 Posted February 3, 2009 Report Share Posted February 3, 2009 seems that the shell uploads to the settings dir, which has full write perms however the temp.torrent it creates is only 5 bytes and not some KB so its not retrieving it properly, and hence when it imports it into utorrent it's invalid - don't understand why that is the case :S Link to comment Share on other sites More sharing options...
Lord Alderaan Posted February 3, 2009 Author Report Share Posted February 3, 2009 Open the temp.torrent with a text editor see if it has any readable text and past it here or mail it to me. Link to comment Share on other sites More sharing options...
splinter98 Posted February 3, 2009 Report Share Posted February 3, 2009 it says: uhoh! Link to comment Share on other sites More sharing options...
Lord Alderaan Posted February 4, 2009 Author Report Share Posted February 4, 2009 That isn't the Shell. Try a different url from a different tracker. Link to comment Share on other sites More sharing options...
splinter98 Posted February 6, 2009 Report Share Posted February 6, 2009 Doesn't explain however if I use the same url without the Shell it works fine but with it errors. But yeah other torrents seem to work :S Link to comment Share on other sites More sharing options...
andrest Posted February 6, 2009 Report Share Posted February 6, 2009 I been trying for about 6 hours to get this working but I stil have one problem that I am not geting fix.I cant add torrents what so ever. If I try I get thisTorrent File = WEBUI: Error <== Seems always doing this.And query gives this = shell_file=&action=add-fileTorrent URL = Adding this torrent failed. The file could not be retrieved from the url. <== Most of the time but not alwaysAnd query gives this = shell_file=&token=clWrR7kjZ7CBnADxvDBaU-98w9KudRYy-KVbfHcPtIuyZkuknVKQsz_si0k=&action=add-url&s=http%3A//isohunt.com/download/51013622/knight+rider.torrent&t=1233907266194And the torrents that have workt with "URL" stil dont work with "File"Also if I get a file in utorrent all users can see, delete and change it.I hope you can help me out I been looking and reading your install guid over and over again, but I dont see the problem. Link to comment Share on other sites More sharing options...
Lord Alderaan Posted February 6, 2009 Author Report Share Posted February 6, 2009 I just released 0.4.2 fixing a bug with improper URLs when adding torrents using add-url.To update download the new package. Extract the webui.php file in the inc/user folder and overwrite the original on your webserver with the new one.This should fix your problem andrest. Please let me know if it worked.@splinter98: I just meant that it the webui shell wouldn't generate a file with only uhoh! in it. It can still be a problem the webui shell can solve. Maybe it's doing something wrong with getting the torrent file which only results in problems with certain trackers. I'd need to know if the problem is universal or just with some trackers. And then I'd need to know which tracker, you could mail me (through my profile) the url of the torrent in question and I could investigate when I get the time. Link to comment Share on other sites More sharing options...
andrest Posted February 6, 2009 Report Share Posted February 6, 2009 Well add by url work great now but the rest still stand.Any solution for that? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.