Cant login: access denied, hard to fix

Hi everybody hope someone could help me.
i moved a drupal site to another server to work on.

Site can connect correctly to database, base_url and cookie_domain are set to the right root.

in .htaccess there was a RedirectMatch variable set to the old urls and i edit it to the new ones.

i try to login as administrator and failed.

I disallowed by database clean url, but when i try to login by "?q=user" , after submitting ID and PW it gives me "access denied" error.

Unable to build solr query for proper facet count with filtering

Hello,

I am trying to solve exactly this http://drupal.org/node/1446824#comment-7038662, but in D6.26.

Taking a specific query as a hard-coded example, I am able to get filtered results with proper facet count with the following query to the search engine:

http://localhost:8983/solr/select?q=desk&fq={!tag=dt}ss_MT:Other&facet=on&facet.field={!ex=dt}ss_MT

hook_views_query_alter and exposed filters

Im am trying to add additional WHERE-clauses to a view with the following lines in my implementation of hook_views_query_alter:

$query->where[0][clauses][] = "(mytable.field_mycontenttype_myfield_value) = ('%s')";
$query->where[0][args][] = "myconditionvalue";

Works fine so far.

Email encode in text input using

I want to encode an email id in a text box of drupal admin backend in user edit form. I want to display user email in text input and when i see the email id in page source then the email id should be encoded. How to do this ?

Calling a view from search_views_query_alter function

Hey guys, I am a bit of a newbie in terms of coding drupal modules so be as expicitly detailed as you can :) I have a search_views_query_alter functioning that I am using to override a certain view by writing my own SQL query. The problem I'm getting is that my data is the only thing displayed on the page running the view. As an alternative I thought calling another view from within my function might enable me to get a properly formatted page. Is this possible? If so, how would I do this?

Fatal error: Call to undefined function profile_view_profile()

I was using profile module on drupal six but upgrading to drupal 7 i get the below error... i've been searching for answers in vain....

Fatal error: Call to undefined function profile_view_profile() in xxxxx\sites\all\modules\ctools\plugins\content_types\user_context\profile_fields.inc on line 36

thanks in advance

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x