This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Help Plz

Hi where i can get created page for edit in drupal,ie by default where it will be stored

Coder module

I just found the coder module as I was searching for ways to update my modules to 6.x and I'm impressed. I think every module maintainer should run all of their modules through this script. It took me 5 minutes to update my 5.x module to 6.x, and I fixed my coding standard along the way. Very cool.

Dave

Authentication via legacy site - error on success

Hi All,

I have an old phpnuke site with 2000+ members that im converting to drupal. I've created the drupal site and i'm just creating an auth module that checks the persons legacy site credentials against the old server and if successful copies their details across into the new users row in the db.

Everything actually works fine except that on the initial login I get the following error.



    * warning: array_keys() [function.array-keys]: The first argument should be an array in /home/mike/DIRECTORY/drupal/modules/user/user.module on line 368.
    * warning: implode() [function.implode]: Bad arguments. in /home/mike/DIRECTORY/drupal/modules/user/user.module on line 368.
    * user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 query: SELECT DISTINCT(p.perm) FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN () in /home/mike/DIRECTORY/drupal/includes/database.mysql.inc on line 172.

and after refreshing the page, the user has no error and the account works as normal.
The code on the line suggests to me that there is something with the roles.


// To reduce the number of SQL queries, we cache the user's permissions
// in a static variable.
if (!isset($perm[$account->uid])) {

specific roles's user can not login

Hi,

I have created so many roles (admin, general, business, social) in my system and user should have a role.

So my query is "general users can not login in system. Due to some reports, i need the general user in the system".

Please help me regard this how to prevent login for general users in the system.

Maintaining sessions between a drupal site and a non drupal site

Hey guys

I am a newbie to drupal and breaking my head for a small problem,so plz any help will be appreciated. the problem is as follows

I have a non drupal site and a drupal site on my server so now what i want to achieve is

post product in ebay

I want my ecommerce software package to get integrated with ebay api system so that i can post my product in any of the ebay category.Can anybody please help in getting this done.

Devika.

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions