Closed (fixed)
Project:
Embed widgets
Version:
6.x-1.0-rc1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Aug 2008 at 16:49 UTC
Updated:
2 Feb 2009 at 23:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
jtsnow commentedI am unable to find this error. Line 1027 is:
function embed_widgets_ui_sort_weight(&$sources = array()) {.The entire function is as follows:
When the code is run, I don't get this error. I'm using Eclipse as an IDE and it doesn't find a syntax error either. And by looking at the code myself, I can't find any error. Can you provide more information?
Comment #2
xcorex commentedLook at the screenshot.
Embed Widgets on
Embed Widgets iFrame on
Embed Widgets UI on
Google Gadgets on
Color Scheme API (6.x-1.0-beta) on
Tabs (6.x-1.x-dev) on
Comment #3
jtsnow commentedPlease test the attached patch. Since I am unable to reproduce this error, it is difficult for me to test.
Comment #4
jtsnow commentedThe reason you are getting this error and I am not is because you are using PHP4. It is highly recommended that you upgrade to PHP5. PHP4 is no longer supported and is no longer receiving security updates.
Comment #5
nedjoJohn, see
hook_requirements(), http://api.drupal.org/api/function/hook_requirements/6, for how to require PHP 5.x.Comment #6
xcorex commentedThank you jtsnow, a lot.
5.2.5 now and working very well.
Congratz!
Comment #7
jtsnow commentedPHP 5 requirement is now specified in the .info file.