Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#12 Solve CDR incorrect css file path

open
nobody
None
5
2006-03-19
2006-03-19
No

This patch solv the incorrect css file patch issue for
CDR module. This error was detected in Asterisk At Home
2.7 by Apache error_log as shown bellow

[Sun Mar 19 20:56:21 2006] [error] [client 10.1.1.3]
File does not exist: /var/www/html/css, referer:
http://10.1.1.10/admin/cdr/cdr.php?s=1&posted=1

[Sun Mar 19 21:00:29 2006] [error] [client 10.1.1.3]
File does not exist:
/var/www/html/admin/cdr/css/print.css, referer:
http://10.1.1.10/admin/cdr/cdr.php?s=1&posted=1

First of all, the "print.css" file must be put on the
right place, I found it in
/var/www/html/admin/cdr/images/print.css and then moved
it to /var/www/html/admin/cdr/css

After that, you need to patch cdr.php file so it
reflects the right css relative path. This was done by
removind a / from cssfile URL on line 51.

Patch attached

Discussion

  • Patch for CDR incorrect css file path

     
    Attachments