Closed (fixed)
Project:
URL Icon
Version:
master
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
22 Jan 2010 at 14:24 UTC
Updated:
7 Feb 2010 at 17:30 UTC
Jump to comment: Most recent file
Man i didn't knew of this module, so i have to port it
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 692560-port_d7.patch | 8.42 KB | dawehner |
| #1 | 692560-port_d7.patch | 7.6 KB | dawehner |
| screenshot70.jpeg | 17.18 KB | dawehner |
Comments
Comment #1
dawehnerForgot the patch
Comment #2
kars-t commentedDid check out D7 HEAD and the D6 version of this module. I couldn't apply the changes to the .info and did this by hand. .module file worked fine.
I don't know D7 API that good but at first load of the module I don't get a default set and two errors on save pointing to this line. Maybe $defaults is not set?
* Notice: Undefined index: urlicon in urlicon_settings() (line 239 of urlicon.module).
* Notice: Undefined index: urlicon in urlicon_settings() (line 239 of urlicon.module).
IMHO $$variable aliasing is evil. Is there no way around this?
And the first time my system loads a new icon I get
* Notice: Undefined property: stdClass::$redirect_code in _urlicon_format_favicon() (line 190 of urlicon.module).
* Notice: Undefined property: stdClass::$data in _urlicon_format_favicon() (line 154 of urlicon.module).
* Notice: Undefined property: stdClass::$redirect_code in _urlicon_format_favicon() (line 190 of urlicon.module).
* Notice: Undefined index: Content-type in _urlicon_format_favicon() (line 194 of urlicon.module).
* The specified file temporary://file85Q6Lh could not be copied, because the destination sites/default/files/urlicon/www_karsihasi_de.ico is invalid. This is often caused by improper use of file_unmanaged_copy() or a missing stream wrapper.
After one reload this is gone. The icons always show correctly.
Powered by Dreditor.
Comment #3
dawehnerThansk for testing it out
I did the following to test it
And the patch applied.
Fixed with this version of the patch. Thanks!!
Do you really want to say that chx uses eval code :) http://drupal4hu.com/node/239
IMHO $$variable aliasing is evil. Is there no way around this?
Fixed it. Drupal-7 has some interesting stuff :)
Sadly coder module is very uncompleted
Comment #4
sanduhrsCommited to D7,HEAD
Thanks!
Comment #5
kars-t commentedSetting this to fixed than :)