Object of class stdClass could not be converted to string in DatabaseStatementBase...

Full error is as follows.

Recoverable fatal error: Object of class stdClass could not be converted to string in DatabaseStatementBase->execute() (line 2095 of /home/myarabi1/public_html/includes/database/database.inc).
The website encountered an unexpected error. Please try again later.

Its been bugging me the whole night. Really tried. Happens when I try to upload a photo.

Please help. Thanks.

User specific display

Hi

Is there a way to make one particular page (only one instance of a content type such as Article) viewable to only one particular authenticated user and none of the other authenticated users?

The purpose is I'm creating a multi-company database and I have 'company' as a separate Content type where I have multiple data fields. Now I wish to create a user account for all the companies but only have their own specific page visible to them and none of the other companies' pages.

Something like linking perhaps.

Any suggestions would be greatly appreciated.

Changing Colors and Backgrounds using Marinelli Theme

Hello.

I am a huge fan of the Marinelli Theme. I have been using it forever and I think they got 90% of what I want in a theme built in.

What I am having issues with is an easy way to change the appearance (backgrounds, boarders, text, hover-over menu colors) things like that.

Is there something I am missing or does every noob find it frustrating using that blue background, blue boarder and orange menu hover over.

Thanks for your time.

S

Organic Groups Questions

Here's some functionality that I'm trying to get out of OG. I'd love to hear whether you folks think it's possible, how you'd go about it, etc.

  1. Non-member user can create a private node in a group and still access it. Non-member user can't see any other private nodes in the group, only the one that s/he created. Is there any elegant way to do this? (EDIT: I should note here also that I would like to preserve the option for non-members to post publicly in groups as well.)

Extending Bartik Theme

Hi.

I am developing a theme for a website, and would like to extend Bartik in certain ways to achieve this. Mostly this will simply be limited to the CSS, and perhaps adding some background images to certain sections of the page.

However I'm unsure of how this would affect the color module integration. Personally I have no interest in keeping color module compatibility in the current version. Perhaps once the site goes into production and I have the time, I'd be able to try and get things working with the color module so that I could contribute it back to d.o.

Collapsible text in views

Sorry in advance as I'm new to drupal. My problem is that I have a view displaying a list of fields and I need one of the fields to be collapsible for each entry.
I'm using this code I found online in a theme file I created and am storing in /themes/bartic/templates because that's the only place I could find that it worked. The code is not working as I feel that the included file is not being called early enough but I'm not sure. Thanks for the help.

 /**
  * This template is used to print a single field in a view. It is not
  * actually used in default Views, as this is registered as a theme
  * function which has better performance. For single overrides, the
  * template is perfectly okay.
  *
  * Variables available:
  * - $view: The view object
  * - $field: The field handler object that can process the input
  * - $row: The raw SQL result that can be used
  * - $output: The processed output that will normally be used.
  *
  * When fetching output from the $row, this construct should be used:
  * $data = $row->{$field->field_alias}
  *
  * The above will guarantee that you'll always get the correct data,
  * regardless of any changes in the aliasing that might happen if
  * the view is modified.
  */

drupal_add_js('misc/collapse.js', 'core');

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x