aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: [solved] Unslung and Webinterface Problems  (Read 2290 times)

Bigcheese

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
[solved] Unslung and Webinterface Problems
« on: October 26, 2006, 01:42:09 PM »

Hi,
i just played around with the webinterface of amule...
It runs on my NSLU2 with Unslung and i had some problems....

The filesize was not showed correctly, either 1024 MB or 0 KB or similar...
And the filename is to short to compare some search results, because it is truncated...

so for everyone who is interested in the solution:

location of my php files for the webinterface on the NSLU2:
/opt/share/amule/webserver/php-default

files affected:
amuleweb-main-dload.php
amuleweb-main-search.php
amuleweb-main-shared.php

solution for filesize: just look for the function CastToXBytes() and in there, delete the ".0" behind the calculation operations
Occurence in file *dload.php is 2 times, the other 2 files only one time...

solution for filename truncated:
look for the lines:
echo "", $file->short_name, "";
and delete the "short_" so it looks like:
echo "", $file->name, "";

thats it :)
bye,
Bigcheese
Logged