Does anyone know what this means after submitting a scoop:

* warning: Invalid argument supplied for foreach() in D:\xampp\htdocs\drupal\modules\node\node.module on line 521.
* warning: implode() [function.implode]: Invalid arguments passed in D:\xampp\htdocs\drupal\modules\node\node.module on line 525.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 query: SELECT n.nid, n.vid, n.type, n.status, n.created, n.changed, n.comment, n.promote, n.sticky, r.timestamp AS revision_timestamp, r.title, r.body, r.teaser, r.log, r.format, u.uid, u.name, u.picture, u.data FROM main_node n INNER JOIN main_users u ON u.uid = n.uid INNER JOIN main_node_revisions r ON r.vid = n.vid WHERE in D:\xampp\htdocs\drupal\includes\database.mysql.inc on line 172.
* warning: Invalid argument supplied for foreach() in D:\xampp\htdocs\drupal\modules\node\node.module on line 521.
* warning: implode() [function.implode]: Invalid arguments passed in D:\xampp\htdocs\drupal\modules\node\node.module on line 525.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 query: SELECT n.nid, n.vid, n.type, n.status, n.created, n.changed, n.comment, n.promote, n.sticky, r.timestamp AS revision_timestamp, r.title, r.body, r.teaser, r.log, r.format, u.uid, u.name, u.picture, u.data FROM main_node n INNER JOIN main_users u ON u.uid = n.uid INNER JOIN main_node_revisions r ON r.vid = n.vid WHERE in D:\xampp\htdocs\drupal\includes\database.mysql.inc on line 172.

And many others. Thanks

Comments

mercmobily’s picture

Hi,

* How did you install Drigg? DId you downloadteh "pre-coocked" package? Or did you install it by hand?

* If you installed it by hand, did you follow _religiously_ the instructions in:

http://www.drigg-code.org/pages/download_and_install

...?

* Which other modules are you using? I am asking because this doesn't actually look like a Drigg problem.

* Are things added properly to the "node" and the "node_revisions" tables?

Thanks,

Mrc.

gausarts’s picture

Thanks.

I installed drigg as instructed manually, only to realise later that I left over some other karma plugins, but the main one. I posted the first test scoop under free tags even before I realized the missed part. It was ok. The post was great on the page. Then when I posted another under the fixed category, that thing happened.

I emptied browser and drupal cache to no help. I went back to modules admin to see if any problem there. Yes, I saw that some other karma plugins was left over. Perhaps that caused it. But why I had no problem on the first post. They also only appeared when submitting a scoop and not when a blog entry.

I tried to post another under fixed category, now I have this:

warning: Illegal offset type in D:\xampp\htdocs\drupal\sites\...\modules\drigg\drigg\drigg.module on line 963.

Perhaps I should try to install a clean test site just in case it related to other modules. Thanks

gausarts’s picture

I deleted all the posts, then I posted a brand new one within the same old installation. It is ok now, no more ugly warnings, only that Illegal offset type warning remains after submitting. It soon disappeared anyway when I moved to other url.

I suspect those ugly warnings derived from what I had done with changing "Settings about having URLs in forms".

I tested each one of the three, and posted scoops on each since the second option "URL field is in the form, but it can be left empty" never allows me to actually leave it empty! It still insisted to have the value filled.

I optioned the third since then, deleted all previous scoops, created 3 others under different categories, then it turns out all ok, save for that harmless Illegal offset type warning. I'll see through other post just in case there is a solution to this. Since it is another problem, I'd better close this issue.

Hope that throws some light to those who have experienced the same thing as well, just in case.

gausarts’s picture

Status: Active » Closed (fixed)

closed, thanks.

mercmobily’s picture

Status: Closed (fixed) » Fixed

Hi,

I couldn't reproduce the issue... I could submit in drigg.org without an URL without any trouble!

OK, closing this issue :-D

Merc.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.