Select odd and even values from database

function log_status_left_device_json($patient) {
  $table = 'mm_log_insole';
  $log_q = db_select($table, 'log');
  $log_q->fields('log');
  $log_q->condition('patient_id', $patient->patient_id);

$log_q->condition('device_id',

  $log_q->orderBy('timestamp', 'DESC');
  $patient->log = $log_q->execute()->fetch();

Notice: Undefined offset: 14 in user_node_load() (line 3720 of V:\vHost\esc2.main\drupal7\modules\user\user.module).

i found this, but i need some clarification

https://www.drupal.org/forum/support/post-installation/2013-01-10/undefi...

so are they saying to log in to my linux/MySql server, find the user table for the site i'm trying to remove these pesky errors on, and manually ADD an additional user 0? or maybe to add a generic user through config, and THEN go to linux/MySql servers, find the database table and switch that users # to 0?   

URL Redirect

hello ,

We are using Drupal 7.89.

I have enabled Redirect for ... alumni.uoguelph.ca/aad- training.I want all the pages under aad-training to redirect to a new website's login page.- and this is working fine.

But, ...alumni.uoguelph.ca/aad-training/check is going to a DRUPAL 7 existing page.

 

do we have an option for that ? I am confused. Pls, let me know.

I overwrote index.php file

Hi

I have a subdirectory that is an appendix to the main site where I mistakenly overwrote the index.php file.

I replaced the index.php with the index.php of the main site, I put this:

define('DRUPAL_ROOT', getcwd());

require_once DRUPAL_ROOT . '/includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
menu_execute_active_handler();

but it is wrong:

the struture of my subdirectory site is:

Unable to create multiple nodes from XML import using Feeds

I have a D7 site using Feeds and Feeds XPath Parser and I have recently had to change an import from another site. The new format of the XML is as follows:

Migrating Drupal 7 to Drupal 9

I would like to migrate a Drupal 7 site to a Drupal 9 site. I am an amateur user.
I have created an empty Drupal 9 site on a local server. Until then everything was going ok.
Now I have imported both the old and the new database in phpMyAdmin into localhost.
When accessing the source database I always get the error: SQLSTATE[HY000] [1045] Access denied for user...
The source database is the original one in Drupal 7, right? I took the name and password data from the old database. (There is an underscore in this name but that can't be a problem I guess)

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x