How to Detect Your Modem

Linux

Simply run wvdialconf

root@proxmox-111:/# wvdialconf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S1   S2   S3
WvModem<*1>: Cannot get information for serial port.
ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB0<*1>: ATQ0 V1 E1 --
ttyUSB0<*1>: failed with 9600 baud, next try: 115200 baud
ttyUSB0<*1>: ATQ0 V1 E1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB0<*1>: Modem Identifier: ATI -- WAVECOM MODEM
ttyUSB0<*1>: Speed 230400: AT -- x[18]
ttyUSB0<*1>: Speed 230400: AT -- xø
ttyUSB0<*1>: Speed 230400: AT -- xø
ttyUSB0<*1>: Max speed is 115200; that should be safe.
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found a modem on /dev/ttyUSB0.
Modem configuration written to /etc/wvdial.conf.
ttyUSB0<Info>: Speed 115200; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
root@proxmox-111:/#

Based on above results, here is our modem:

Login redirection error

Hi

First post to the forum. We are quite new in the Drupal environment.

We are using a scientific-related Drupal installation, called Mica and we are having a couple of problems with login redirection: we just updated Mica modules and we had before users being redirected to a setup page. After the update users are being redirected to their profile page. We have no modules installed or active that do anything with login, and we are looking to where the problem might be. We have tried everything that we know possible, any help is appreciated.

Thanks in advance

Different database on dev and production?

I run a small website, for mountain biking, not a real business (only drives ~1000 visitors a day, not really a volume site). Anyway, it is built on late 90's technology ASP (pre-.net) and I want to update it to a site with a CMS behind it. We will probably be using Drupal for my work site, so I thought this could be a good opportunity to actually learn the new system by converting my site over first.

My hoster is 1&1 and I have a windows hosting package, I am very technical but not a DB admin, way over my head in that area. The DB is MS SQLserver which is fine, but I expect that I will be doing a lot of editing of the site on planes because I spend a huge amount of time on international flights (nothing like 12 hours to get caught up on creating new content.)

Here's the challenge: I have Drupal set up on a local machine and everything seems to be working, I can create content. But, that was set up with SQLlite because I don't have MS SQL server on my home system. I tried to FTP my working files over to the hosted server, just to see if I could actually read the PHP, but when I do that I get:

HTTP Error 500.19 - Internal Server Error

The requested page cannot be accessed because the related configuration data for the page is invalid.

taxonomy

Is it wise to keep all the data in one table taxonomy ' taxonomy_term_data" .if each of the dictionaries is 100 mb, why should they be in the same table? Why not create a taxonomy table in the database for each dictionary?
the current state of this module, makes use separate tables not associated with taxonomy that discards the data from circulation of Drupal system.

From ajax error (Undefined index)

Hi all,

I'm currently working on a form that included some ajax calls. Therfore I'm using the form functions. But there is an error I can't get fixed. Hope you guys have some idea. I've already checked pages on the web, and looked at instruction videos.. But can't find the answer.
I've also tried it on another form, and got the same error..

Notice: Undefined index: values in show_settings()

//hook_menu
$items['test/version/%/settings'] = array(
	'title' => t('Settings'),
	'page callback' => 'drupal_get_form',
	'page arguments' => array('show_settings', 2),
	'type' => MENU_CALLBACK,
	'file' => 'version/settings.inc',
);
//the form
function show_settings($form, &$form_state, $version_id){
	$form['map'] = array(
		'#type' => 'checkbox',
		'#title' => 'Map', 
		'#default_value' => 0,
		'#ajax' => array(
			'callback' => 'map_upload_ajax_callback',
			'wrapper' => 'map_upload_wrapper',
			'effect' => 'fade',
		),
	);
	$form['map_upload'] = array(
		'#type' => 'markup',
		'#prefix' => '
', '#suffix' => '
', ); if($form_state['values']['map'] == 1){ //error $form['map_upload']['#type'] = 'media'; //media module $form['map_upload']['#title'] = t('Map upload'); $form['map_upload']['#required'] = TRUE; } return $form; }

<?php
//callback

after having AWSSDK version is 5.4 still getting Please make sure the AWSSDK library installed is 1.5.4 or greater

I have successfully upgrade awssdk 4.8 to awssdk5.4. by following steps:-

1) download and unzip latest version from http://drupal.org/project/awssdk.
2) at .....\Desktop\demo_octopus\sites\all\modules this location i didn't have any folder of older version of awssdk, so i placed the folder of new version of awssdk at this location.

then i was getting Fatal error: Class 'CFCredentials' not found in ..........\Desktop\demo_octopus\sites\all\modules\awssdk\awssdk.module on line 153

then using git bash i made clone of latest awssdk from https://github.com/amazonwebservices/aws-sdk-for-php
and replace the awssdk folder located at .......\Desktop\demo_octopus\profiles\octopus_video\libraries\

finally i am facing a contradiction:- in "module" option awssdk version is 5.4 still "status report" option showing message
"Please make sure the AWSSDK library installed is 1.5.4 or greater."

view from status report:-
AWSSDK 1.4.8 [compatibility test]
Please make sure the AWSSDK library installed is 1.5.4 or greater.

view from module :-

AWS SDK for PHP
7.x-5.4 The AWS SDK for PHP provides a library, code samples, and documentation for developers.
Requires: Libraries (enabled)
Required by: Amazon S3 (enabled), AWS SDK for PHP UI (enabled)

AWS SDK for PHP UI
7.x-5.4 The AWS SDK for PHP configuration UI.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x