added modules not found when looking in drupal modules map.

2 replies [Last post]
mindstorm
Offline
Last seen: 11 years 18 weeks ago
Joined: 2011-02-19

Looking at the videos on your site, in the section where you create
the "twominute" module under ~/sites/all/modules, I got stuck.
In my test.net local site I only see core modules map:

So no other maps, like the 2minutes map or other downloaded modules.

I ran the update script but only sun map "core" shows up.

Running drupal 7 on ubuntu 10.10

Any clue ?

Tx,

Nout.

nout@K50C:~$ cd /home/drupal7/sites/all/modules/
nout@K50C:/home/drupal7/sites/all/modules$ ls -la
total 36
drwxrwxr-- 9 nout nout 4096 2011-02-18 11:00 .
drwxr-xr-x 4 nout nout 4096 2011-01-05 07:25 ..
drwxr-xr-x 2 nout nout 4096 2011-02-18 11:09 2minutes
d------r-x 26 nout nout 4096 2011-02-17 12:47 examples
d------r-x 3 nout nout 4096 2011-02-17 11:12 globalredirect
d------r-x 3 nout nout 4096 2011-02-17 11:12 pathauto
d------r-x 3 nout nout 4096 2011-02-17 11:11 token
d------r-x 15 nout nout 4096 2011-02-17 13:54 views
d------r-x 5 nout nout 4096 2011-02-17 12:52 wysiwyg
nout@K50C:/home/drupal7/sites/all/modules$ ls -la 2minutes
total 12
drwxr-xr-x 2 nout nout 4096 2011-02-18 11:09 .
drwxrwxr-- 9 nout nout 4096 2011-02-18 11:00 ..
-rw-r--r-- 1 nout nout 144 2011-02-18 11:09 2minutes.info
-rw-r--r-- 1 nout nout 0 2011-02-18 11:01 2minutes.module
nout@K50C:/home/drupal7/sites/all/modules$ cat ./2minutes/2minutes.info
home = 2 Minute Module
description = "Demo of quick building single-page module."
package = Build a Module
core = 7.x
files[] = 2minutes.module
nout@K50C:/home/drupal7/sites/all/modules$ cat ./2minutes/2minutes.module
nout@K50C:/home/drupal7/sites/all/modules$

Chris Shattuck
Offline
Last seen: 10 weeks 3 days ago
Joined: 2009-08-16
Hello Nout, I can't think of

Hello Nout,

I can't think of anything that could be causing this except that the modules are maybe in the folder of a different Drupal site (that's happened to me before). Anything placed in sites/all/modules should display on the list. One quick way to test if you're in the right Drupal directory is to change the name of the settings.php file so you get an error message when the site loads, or add a die('This is my site') to the top of the index.php file. Something that make it very clear that you're in the right site.

Let me know what happens when you do that.

Thanks!
Chris

mindstorm
Offline
Last seen: 11 years 18 weeks ago
Joined: 2011-02-19
new modules not found under /sites/all/modules

I changed the permissions to wr for the world, and now it works.

Could be that the webadmin is lacking right permissions, have look into that later

Add to playlist

Add to , or

Add to new playlist:

Add to playlist
This is a member-only feature
But, it's easy to become a member

Add to cart:


Loading...
Contact us

Below are the supported keyboard shortcuts for our video player.

space
Start / stop video
shift
Go to next video
shift
Go to previous video
Increase or decrease player speed by 20%
Skip ahead or go back by 15 seconds
1...9
Jump to a percentage (2 is 20%, for example)
f
Toggle full screen
Videos Pricing More Search
BuildAModule Logo Icon BuildAModule Logo Icon
Become a member!
$29
1 month
$156
6 months
10% off
$276
12 months
20% off
All memberships come with the following:
24 / 7 access to the entire 1800+ video library
An innovative video player with a rolling transcript
Extensive Drupal and cross-platform training
A thorough and thoughtful training style
Progress tracking
Take notes on specific video sections
Intuitive multi-user management
How many users?
user
Go solo with a single user, or give multiple team members access through one account and get discounts by bundling multiple users into a single membership.