Closed (fixed)
Project:
OpenPublic
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Mar 2011 at 04:00 UTC
Updated:
5 Apr 2011 at 16:31 UTC
Jump to comment: Most recent file
I change the logo on the default theme &the site breaks with 500 error, i take the logo off & it works again.
I am also getting these errors when making changes.
Notice: Undefined index: favicon_path in system_theme_settings_validate() (line 630 of /var/aegir/platforms/dev1/openpublic-1.0-beta1/modules/system/system.admin.inc).
Notice: Undefined index: favicon_upload in system_theme_settings_submit() (line 679 of /var/aegir/platforms/dev1/openpublic-1.0-beta1/modules/system/system.admin.inc).
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 108733.patch | 1.28 KB | e2thex |
Comments
Comment #1
resveld commentedThat's because in the original theme the following is hardcoded in template.php:
Change your file to logo.png and it should be ok
-Ronald
Comment #2
lloydpearsoniv commentedyou dont see that as a problem? Why would you guys hardcode the logo into the template?
Comment #3
resveld commentedI'm not saying it's not a problem!
Also, i'm not a developer for OpenPublic, nearly a fanatic :)
Comment #4
e2thex commentedSo the logo is not hard code, what we were trying to do is use image styles on the logo (so that a smaller version would appear in the footer) but image styles only work if the file is in the files dir. So if we did not have an upload image we were just using two different images in the theme. The problem you ran into is there was bug in the code when an image was uploaded.
This will be in the next version and I have attach a patch of the change.
Thanks for the catch!