Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webinterface does not work correct Ver. cups 1.1.18 -- 1.1.19rc3 #54

Closed
michaelrsweet opened this issue Apr 29, 2003 · 4 comments
Closed

Comments

@michaelrsweet
Copy link
Collaborator

Version: 1.1.19rc3
CUPS.org User: heikekoll.velodata

Webinterface does not work correct ( cups 1.1.18 -- 1.1.19rc3 )
when the system ( Browser ) runs set to German (de). The webinterface does not work correct. This functions do not work:
Function Error-Message ( in German )
Cancel Job Nicht unterstütze Operation "cancel-job";
Hold Job Nicht unterstütze Operation "hold-job";
Restart Job Nicht unterstütze Operation "restart-job";

German:
Auftrag löschen

The same system set to English (en) the functions above are working correctly.

English:
Cancel Job

The test Environment:
Linux machine with CUPS 1.1.18, 1.1.19rc2 and 1.1.19rc3
Browser:
From localhost (SuSE 7.2) ( Konqueror KDE and Mozilla 1.2.1 for Linux ) with the environment variable from Linux.
From a Windows XP machine with Mozilla 1.3 and the language setting from this Browser.

The behaviour is the same when the machine is set to English the functions work, set to German it does not work.

Log file:
error-log: German ----------------------------------
D [29/Apr/2003:14:08:03 +0200] AcceptClient() 8 from localhost:631.
D [29/Apr/2003:14:08:03 +0200] ReadClient() 8 GET /jobs?which_jobs=completed HTT
P/1.1
D [29/Apr/2003:14:08:03 +0200] CGI /usr/lib/cups/cgi-bin/jobs.cgi started - PID
= 2120
I [29/Apr/2003:14:08:03 +0200] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=212
0)
D [29/Apr/2003:14:08:03 +0200] SendCommand() 8 file=10
D [29/Apr/2003:14:08:03 +0200] AcceptClient() 9 from localhost:631.
D [29/Apr/2003:14:08:03 +0200] ReadClient() 9 POST / HTTP/1.1
D [29/Apr/2003:14:08:03 +0200] ProcessIPPRequest: 9 status_code=0
D [29/Apr/2003:14:08:03 +0200] CloseClient() 9
D [29/Apr/2003:14:08:03 +0200] AcceptClient() 9 from localhost:631.
D [29/Apr/2003:14:08:03 +0200] ReadClient() 9 GET /images/restart-job.gif HTTP/1
.1
D [29/Apr/2003:14:08:03 +0200] SendFile() 9 file=10
D [29/Apr/2003:14:08:03 +0200] AcceptClient() 10 from localhost:631.
D [29/Apr/2003:14:08:03 +0200] ReadClient() 10 GET /images/show-active.gif HTTP/
1.1
D [29/Apr/2003:14:08:03 +0200] SendFile() 10 file=11
D [29/Apr/2003:14:08:09 +0200] CloseClient() 6
D [29/Apr/2003:14:08:15 +0200] AcceptClient() 6 from localhost:631.
D [29/Apr/2003:14:08:15 +0200] ReadClient() 6 GET /admin/?op=restart-job&job_id=
1 HTTP/1.1
D [29/Apr/2003:14:08:15 +0200] CGI /usr/lib/cups/cgi-bin/admin.cgi started - PID
= 2122
I [29/Apr/2003:14:08:15 +0200] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=21
22)
D [29/Apr/2003:14:08:15 +0200] SendCommand() 6 file=12
D [29/Apr/2003:14:08:15 +0200] AcceptClient() 11 from localhost:631.
D [29/Apr/2003:14:08:15 +0200] CloseClient() 11

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Please verify that you have the current HTML templates in /usr/share/cups/templates; the location of the "cancel job" and other operations moved in 1.1.18 and you need the current templates to access them.

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: heikekoll.velodata

Have copy the templates of cups1.1.19rc3 to my /usr/share/cups/templates directory of cups1.1.19rc3 install. It don't help same reaction.

Same user / the same browser / same machine ..... language set to German the functions don't work ... language set to English functions works. I have only change the language setting.
A difference I found is that the post of the HTML Code is different when I set to English or German.

German:

Auftrag löschen

English:
Cancel Job

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

OK, this will be fixed in CVS soon; basically, the German template needs to be updated...

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Fixed in CVS now for 1.1.19rc4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant