This forum is for questions about upgrading an existing Drupal site. Don't forget to read the UPGRADE.txt file that comes with every Drupal download.

Unable to use Date module in Drupal 7 [SOLVED]

Hi All,
I had used the date module in Drupal 6 for my custom module.But in Drupal 7, i am getting this error
Fatal error: Call to undefined function date_popup_load() in C:\xampp\htdocs\widgetcorp\sites\all\modules\freeway\freeway.admin.inc on line 164
This is the form iam using it in is as follows

<?php

function create_freeway_project (){
$node = node_load(arg(1));
$form = array();
//i am making the popup_load call here and this is the line 164 .
date_popup_load();

$form['title'] = array(
'#type' => 'textfield',
'#title' => t('Project Description'),
'#size' => 60,
'#maxlength' => 128,
'#required' => TRUE,
);

$form['custRef'] = array(
'#type' => 'textfield',
'#title' => t('Customer Reference'),
'#size' => 60,
'#maxlength' => 128,
'#required' => TRUE,
);

$form['poRef'] = array(
'#type' => 'textfield',
'#title' => t('PO Reference'),
'#size' => 60,
'#maxlength' => 128,
'#required' => TRUE,
);

$form['splinst'] = array(
'#type' => 'textarea',
'#title' => t('Special Instructions'),
'#size' => 60,
'#maxlength' => 128,
'#required' => TRUE,
);

$form['strtdate'] = array(
'#type' => 'date_popup',
'#title' => t('Delivery Date'),
'#size' => 60,
'#maxlength' => 128,
'#required' => TRUE,
);

$form['enddate'] = array(

Module 'Front' won't install, Rochen is the host

Forgive me, I'm new at this...

I want to install the Front module,
http://drupal.org/project/front

but I get a couple error messages.

[SOLVED] Upgrade from 7.10 to 7.12 gives a "FATAL ERROR: Cannot instantiate abstract class DatabaseSchema..."

Just upgraded Drupal core from 7.10 to 7.12. I followed the UPGRADE.txt information, and all modules were up to date prior to the upgrade.

My homepage is working correctly, but I can't navigate to any admin page. When I try, I get this error message:
Fatal error: Cannot instantiate abstract class DatabaseSchema in /homepages/28/d394521835/htdocs/includes/database/database.inc on line 890

Media module bug (7017-7018-7019-7020)

Hi everyone,

i ran a big update on my site (core 7.0 -> 7.12), and updated all the menu, following the update.txt procedure. Everythink was OK, but i got these problems on Review Update in the update.php

update.php failing on windows test box due to different path conventions

I have a live site on a remote linux box.
Its using drupal 6.2 and I want to upgrade to version 7.x.
I am testing the upgrade on a windows pc using xampp.
When I run update.php I am getting the following php error:
"[04-Mar-2012 11:54:06] PHP Fatal error: require_once() [function.require]: Failed opening required 'C:\xampp\htdocs\shirlie7/includes/database/mysqli/database.inc' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\shirlie7\includes\database\database.inc on line 1669
"
So it is mixing windows and linux path conventions.

How do I work around this?

Details (in case required)
I have changed settings.php db setup info on my pc from:
$db_url = 'mysqli://root@localhost/shirliedb';
to
$databases['default']['default'] = array(
'driver' => 'mysqli',
'database' => 'shirliedb',
'username' => 'root',
'host' => 'localhost',
);

I have also added following to httpd-vhost.conf on my pc:
NameVirtualHost 127.0.0.1:80


DocumentRoot C:/xampp/htdocs/
ServerName localhost


DocumentRoot "C:\xampp\htdocs\shirlie7"
ServerName shirlie7.local

CustomLog "C:\xampp\htdocs\shirlie7\logs\shirlie7.local.access.log" combined
ErrorLog "C:\xampp\htdocs\shirlie7\logs\shirlie7.local.error.log"

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal