I found an error when i activate this modul:
"Fatal error: Call-time pass-by-reference has been removed in D:\xampp\htdocs\mysite\modules\Droogle\droogle.module on line 504"
How to fix it?

Comments

barnettech’s picture

That line probably doesn't need an ampersand anymore in your php version from what I just googled but it doesn't occur on my setup so I cannot reproduce it. See if removing the ampersand fixes it. If it does I will test if it doesn't break anything on my servers and I'll put in the patch.

Thanks

barnettech’s picture

Looks like I'm going to have to keep up with Google bugs / changes as they come in more than I have.

Here is the xml of a spreadsheet they are spitting back from their api:

Array
(
[title] => Approved Back links
[uri] => https://docs.google.com/spreadsheet/ccc?key=0Am8jOGsSmCCSdFZ6M2tjcnpPMDh
[doc_id] => https://docs.google.com/spreadsheet/ccc?key=0Am8jOGsSmCCSdFZ6M2tjcnpPMDh...
[type] => text/html
)

Ok so they show it has text/html which is wrong, and they used to show the uri as https://docs.google.com/spreadsheets/ccc?key=0Am8jOGsSmCCSdFZ6M2tjcnpPMDh with spreadsheets being plural, so my program can't grep for "spreadsheets" any more since it is singular now I will grep for "spreadsheet"

Little things like this all the time. Also the uri now links to the doc for viewing whereas before it was unusable and just pointed to the download url, so now I can stop parsing out the url for viewing and can just use [doc_id]

Anyhow I'm going to catch up with Google's bugs/fixes this week to get Droogle working better once again.

Google drive is exciting new stuff but unfortunately the api is in flux looks like.