Hi,

i like this modul very much. Now i wanted to work on the bios-part in the setting page but all i get is the message

warning: preg_match() expects parameter 2 to be string, array given in /is/htdocs/wp1020522_P4C5ID4YVW/koehl-media.de/products/includes/bootstrap.inc on line 723.

you can't submit your content.

Can anybody help me to get this thing going??

Thank you in advance

Hans

Comments

nancydru’s picture

This is a very common problem, but very hard to pin down. Can you narrow down the error at all?

hans59’s picture

Unfortunately not. The line at bootstrap.inc is like follows:

function drupal_validate_utf8($text) {
  if (strlen($text) == 0) {
    return TRUE;
  }
  return (preg_match('/^./us', $text ) == 1);
}

If i press the "Export"-Button i get the next message:

user warning: Unknown column 'q.author' in 'field list' query: SELECT nr.body, nr.title, q.author, q.citation FROM node n INNER JOIN node_revisions nr USING (vid) INNER JOIN quotes q USING (vid) WHERE n.status=1 AND n.type='quotes' ORDER BY author in /is/htdocs/wp1020522_P4C5ID4YVW/koehl-media.de/products/sites/all/modules/quotes-6.x-1.1-alpha5/quotes/quotes.admin.inc on line 170.

Sorry, but i don't know a way to come closer to the problem (logfile gives the same message like above etc.)

motivez’s picture

I have the same problem on my installation. I'm willing to help out any way I can, just let me know how.

I can't get any of my quotes to display in a block at all.

motivez’s picture

Priority: Normal » Critical

I also have these errors in my reports/dblog:

preg_match() expects parameter 2 to be string, array given in ../includes/bootstrap.inc on line 723.

Location admin/settings/quotes/bios
Referrer admin/settings/quotes/blocks

----

Unknown column 'DATABASE_NAME.q.aid' in 'on clause' query: SELECT a.aid AS quotes_aid, a.name AS quotes_author, a.bio AS quotes_bio, q.citation AS quotes_citation, q.promote AS quotes_promote FROM quotes q JOIN quotes_authors a USING (aid) WHERE q.vid = 11 in ../modules/quotes/quotes.module on line 277.

Referrer mysite.com/quotes
Referrer admin/user/permissions

Hope that helps some, I'd really like to get it working.

Changing priority to critical because quotes added do not show up in the block I created.

nancydru’s picture

Assigned: Unassigned » nancydru
Status: Postponed (maintainer needs more info) » Fixed

I have committed a fix for both problems.

hans59’s picture

just wanted to say thanks. the fix works fine and so does quotes!

motivez’s picture

Thanks a bunch :)

nancydru’s picture

Status: Fixed » Closed (fixed)