Closed (fixed)
Project:
Google Programmable Search Engine
Version:
7.x-2.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Aug 2011 at 17:01 UTC
Updated:
4 Dec 2015 at 02:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dave reidAttached patch fixes the PHP notice.
Comment #2
cvining commentedYup. I can confirm this patch clears up notices I've been getting in my dblog.
Thx!
-- Cronin
Comment #3
BeaPower commentedworked for me too
Comment #4
heatherwoz commentedFixed for me too.
Comment #5
nehajn commentedIts working for me too..
Thanks
Comment #6
richardma commentedI am new in drupal and Linux , can anyone help ?
I have the same problem. But, I cannot use the patch "1257690-googlecse-php-notice.patch". I got the error message on the Linux server .
"
patching file google_cse.module
Hunk #1 falled at 174.
1 out of 1 hunk failed -- saving rejects to file google_cse.module.rej"
Thanks
Comment #7
VirtualNorman commentedI guess this patch hasn't made it into the latest 7.x-2.x-dev yet. Same correction, now applied to line 222 instead of 174. I re-rolled the patch and attached.
Comment #8
VirtualNorman commentedSorry #7 is probably not applying, as my git root is one directory higher than the drupal code root, so there is an extra directory level in my #7 patch that you probably don't have.
Here is the same patch with the paths adjusted. Hope this works.
Comment #9
heatherwoz commentedNeeds a new patch, it now applies to line 247.
Comment #10
flaviovs commented@heatherwoz, patch in #8 still apply to 7.x-2.x (patch/git will take care of the small line offset). But in case you insist (<grin>), here a re-rolled patch against current 7.x-2.x.
Comment #11
heatherwoz commentedSorry, I didn't realize git would take care of the offset. That's good to know.
Comment #12
malcomio commentedSetting to needs review so the bot can test the patch.
Comment #14
malcomio commentedApplied patch to 7.x-2.x-dev