See the Mailing lists or Drupal Issue queue. There are also various working groups on groups.drupal.org

SQL syntax error when trying to create content

2004-19-09@12.00
I've downloaded the cvs 4-5 times the past couple of days and always get this error when trying to create content (doesn't matter what kind of content). You should know that I also installed quite a few non-core cvs modules. I use pHp 4.3.8, Apache 2.0.51 and MySQL 4.0.20. My Drupal 4.4 also has a lot of non-core modules but works like a charm.

CVS instructions

How do I connect to cvs? Is anonymous access allowed? I've tried connecting to cvs.drupal.org anonymously but was refused.

Do I have to request write access? There are probably pages that once explained this but they seem to have gone missing. The contribute page has dead links.

HEAD doesn't pick up phptemplate themes

Hello,
had a problem since yesterday evening...it was all working fine until I cvs updated yesterday.
I've now confirmed this happens with a completly fresh install of drupal cvs head, new database and phptemplate cvs head.

The latest versions of cvs head don't pick up phptemplate themes. They just don't appear in the theme selection list at admin/themes.

I've installed devel module, and it seems the phptemplate.engine is still recognised, but phptemplate themes don't get added to the system table. Here is the output from devel.module when visiting admin/themes:
0.61
1
SELECT * FROM url_alias

1.19
1
SELECT name, filename, throttle, bootstrap FROM system WHERE type = 'module' AND status = 1

110.88
1
SELECT * FROM system WHERE type = 'theme' ORDER BY name

2.75
1
SELECT data, created, headers FROM cache WHERE cid = 'menu:1'

134.95
1
DELETE FROM system WHERE type = 'theme_engine'

0.69
1
INSERT INTO system (name, type, filename, status, throttle, bootstrap) VALUES ('phptemplate', 'theme_engine', 'themes/engines/phptemplate/phptemplate.engine', 1, 0, 0)

0.52
1
INSERT INTO system (name, type, filename, status, throttle, bootstrap) VALUES ('xtemplate', 'theme_engine', 'themes/engines/xtemplate/xtemplate.engine', 1, 0, 0)

68.77
1
DELETE FROM variable WHERE name = 'phptemplate_extra_templates'

0.46
1
INSERT INTO variable (name, value) VALUES ('phptemplate_extra_templates', 'a:0:{}')

Module Configuration

I installed the latest version from CVS and its very impressive.
One thing I've noticed is that there doesnt seem to be a way to
configure modules anymore. Is this just something which is 'on
the way', or have I done something wrong. (I'm trying to get
mailhandler working again)

I'm pretty new at Drupal so forgive me if this isnt the place to ask
such a question.

cheers,
John.

Splitting Cron Tasks

I'm writing an email newsletter module which adds quite lengthy tasks to the cron run (send emails, collect and process bounced back email, delete messages from inbox). This got me thinking that there is a danger of the cron run timing out if we give it too much to do - not just with my module.

Is there a solution for this already?

I'm wondering if different cron runs can be set to run different tasks.

For instance, set up 3 separate cron to run every hour, each one calls the cron.php page including a number variable which runs a certain set of tasks.

How would I go about restricting the content that a user can see to that which s/he has created?

I would like (in certain cases) to be able to limit the content that gets displayed to that which was created by a certain user. I know how I can fetch all content by a certain user, but that's not what I want. I'd like everything in the site that wasn't created by the current user to simply not appear. Any suggestions?

cheers,
Robert

-----------
visit me at http://www.robshouse.net!

Pages

Subscribe with RSS Subscribe to RSS - Deprecated - Drupal core