page not found errors when niftycube.js calls niftyCorners.css
Christefano - December 27, 2006 - 02:08
| Project: | Nifty Drupal |
| Version: | 4.7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
To prevent dozens of page not found errors from appearing in my logs, I changed line 37 in niftycube.js so that niftyCorners.css is found at an absolute path. This is a workaround to a minor but particularly annoying bug in Nifty Drupal, in my opinion, especially if the wiki404 or search404 modules are being used.
Aside from this, I love this theme. Thanks!

#1
I am having this same issue, but sadly I am not as savvy as you.
Would you be so kind and let me know exactly what file you modified and what to look for?
Absolute path would be http://www.domainname/... etc. is that correct?
Thanks!
-charles
#2
Hi Charles,
I changed line 37 of the niftycube.js file from:
l.setAttribute("href","niftyCorners.css");to the following:
l.setAttribute("href","/themes/nifty_drupal/NiftyCube/niftyCorners.css");This assumes that your nifty_drupal theme is in Drupal's "themes" folder, and not somewhere in the "sites" folder.