Repair option in smpl interface not working

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
reni
Newbie
Newbie
Posts: 5
Joined: January 5th, 2012, 4:51 am

Repair option in smpl interface not working

Post by reni »

I recently put my sabnzbd behind an apache with ProxyPass.
Now my sabnzbd instance is reachable on port 80 on the url http://bla/sab

Using the smpl white theme, and today i noticed that the 'Repair' option in 'Status' points to the wrong url.

Most form actions are pointing to config/blabla but the repair one had ../config/repair as the action.

Fixed it with the following change:

sabnzbdplus/interfaces/smpl/templates
--- connection_info.tmpl.org 2012-01-05 10:47:50.829102535 +0100
+++ connection_info.tmpl 2012-01-05 10:48:01.265102533 +0100
@@ -86,6 +86,6 @@
<!--#end if#-->
$T('explain-Repair')<br/>
<form action="saveGeneral" method="post">
-<input type="submit" onclick="this.form.action='../config/repair?session=$session'; this.form.submit(); return false;" value="$T('button-repair')"/>
+<input type="submit" onclick="this.form.action='config/repair?session=$session'; this.form.submit(); return false;" value="$T('button-repair')"/>
</form>
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Repair option in smpl interface not working

Post by shypike »

Which version of SABnzbd is this about?
reni
Newbie
Newbie
Posts: 5
Joined: January 5th, 2012, 4:51 am

Re: Repair option in smpl interface not working

Post by reni »

shypike wrote:Which version of SABnzbd is this about?
Sorry forgot to mention but its 0.6.14-1.

Using the debian packages:

ii sabnzbdplus 0.6.14-1 web-based binary newsgrabber with nzb support
ii sabnzbdplus-theme-classic 0.6.14-1 classic interface templates for the SABnzbd+ binary newsgrabber
ii sabnzbdplus-theme-plush 0.6.14-1 plush interface templates for the SABnzbd+ binary newsgrabber
ii sabnzbdplus-theme-smpl 0.6.14-1 smpl interface templates for the SABnzbd+ binary newsgrabber
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Repair option in smpl interface not working

Post by shypike »

Will be fixed in the next minor or major release.
Thanks.
Post Reply