Closed (fixed)
Project:
css3pie
Version:
7.x-2.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Feb 2012 at 11:23 UTC
Updated:
11 Apr 2012 at 16:30 UTC
Jump to comment: Most recent file
Running the code on my localhost, and unable to get the CSS3PIE to load anything to the header; in fact there are Recent Log Messages describing a missing file of url '/css3pie/css3pie.js' -- it was looking in the root directory.
Examining the code of the module, and changing line 102 to be :
$path_to_css3pie_js_file = variable_get('file_public_path', conf_path() . '/files'). '/css3pie/css3pie.js';
then enables the module to work as expected. For some reason 'public://' doesn't translate on my system?
Hope this helps somebody!
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | css3pie.module.patch | 908 bytes | joelstein |
Comments
Comment #1
joelstein commentedActually, the problem lies in the fact that file_create_url() needs the scheme included in the file URI. The attached patch fixes the problem.
Comment #2
tuwebo commentedHi,
joelstein thanks.
Patch #1 is working for me.
Comment #3
iler commentedFixed in the latest version.