aMule Forum

English => aMule Help => Topic started by: Kamir on February 01, 2010, 03:52:28 PM

Title: a valid template has not been found
Post by: Kamir on February 01, 2010, 03:52:28 PM
I've installed amule on my fonera 2.0n by a precompiled package, but once I go on my webserver page ( http://fonera:4711/ ), an error was shown:
Code: [Select]
You are seeing this page instead of aMuleWeb login page because a valid template has not been found.

This probably means that there's a problem with your aMule installation

Before installing new versions, please ensure that you uninstalled older versions of aMule.
If you are installing by compiling from source, check configuration and run "make" and "make install" again
If you are installing by using a precompiled package, you may need to contact the package maintainer
For more information please visit

aMule main site or aMule forums

I've also tryed to start amuleweb by command line using -t option but I've got that error :
Code: [Select]
./amuleweb -t /tmp/shared/amule/usr
/share/amule/webserver/php-default/
Template /tmp/shared/amule/usr/share/amule/webserver/php-default/ not found, reverting to default

FATAL ERROR: Cannot find template: /tmp/shared/amule/usr/share/amule/webserver/php-default/

In php-default folder I've the template that I want to load :

Code: [Select]
/tmp/shared/amule/usr/share/amule/webserver/php-default# ls
amuleweb-main-dload.php           toolbutton-download-pressed.jpeg
amuleweb-main-kad.php             toolbutton-download.jpeg
amuleweb-main-prefs.php           toolbutton-filter.jpeg
amuleweb-main-search.php          toolbutton-kad-pressed.jpeg
amuleweb-main-servers.php         toolbutton-kad.jpeg
amuleweb-main-shared.php          toolbutton-logout-pressed.jpeg
amuleweb-main-stats.php           toolbutton-logout.jpeg
apply.jpeg                        toolbutton-reload.jpeg
arrow-r.png                       toolbutton-search-pressed.jpeg
cancel.gif                        toolbutton-search.jpeg
connect.gif                       toolbutton-servers-pressed.jpeg
delete.jpeg                       toolbutton-servers.jpeg
down.jpeg                         toolbutton-settings-pressed.jpeg
favicon.ico                       toolbutton-settings.jpeg
footer.php                        toolbutton-shared-pressed.jpeg
index.html                        toolbutton-shared.jpeg
login.php                         toolbutton-stats-pressed.jpeg
pause.jpeg                        toolbutton-stats.jpeg
phpamule.png                      top.html
resume.jpeg                       tree-closed.gif
stats.php                         tree-leaf.gif
stats_tree.php                    tree-open.gif
toolbutton-connect.jpeg           up.jpeg

Why this template could not be load??
Thanks in advance
Regards
Title: Re: a valid template has not been found
Post by: GonoszTopi on February 01, 2010, 05:35:27 PM
The -t option of amuleweb expects only the template name, not a path to a template. The named template must exist either under /usr/share/amule/webserver or under ~/.aMule/webserver.
Title: Re: a valid template has not been found
Post by: Kamir on February 01, 2010, 08:06:01 PM
Same error:

Code: [Select]
root@Fonera:~/run/mountd/sdb2/amule/usr/bin# ./amuleweb -t php-default
FATAL ERROR: Cannot find template: php-default
This is amuleweb 2.2.6

My template folder is /tmp/shared/amule/usr/share/amule/webserver/ ... that shoud be right as you say ... I have no idea of what is that error...
Title: Re: a valid template has not been found
Post by: GonoszTopi on February 01, 2010, 10:30:14 PM
Just try
Code: [Select]
$ amuleweb -v to see where it searches for the template.
Title: Re: a valid template has not been found
Post by: Kamir on February 02, 2010, 12:20:01 PM
thanks for you reply. amuleweb loads template from /root/.aMule , i made a symbolic link in /root and now it works.