Having problems installing Drupal? See the Installation Guide for more information.

different columns for each path

Hi, any ideas about how do I set a different column count for a path?

For instance, I want admin pages to have 2 columns and every other page to have 3 columns. How do I do this in xtemplate?

Thanks.

cron.php?

how am I supposed to run cron.php from a command-line (which is the same as when I run it as a cronjob)? I did "php4 cron.php" and it fails with some error message. It works when I visit it in my browser, but it can't be thats I'm supposed to do that every hour, so how are you supposed to do it?

Filestore: problem with tables prefix

It's me once again with another problem with filestore. As i said earlier I have drupal 4.3.1 and filestore 4.3.0 I also have prefix for all my tables (including tables of filestore): "drupal_" which also specified in conf.php by the instruction "$db_prefix = "drupal_";"

And now i have the problem with this prefix. Uploading the files works pretty smooth, but when i try to edit (administer) files above the editing page i get the following message:

user error: Table 'dbid.fstore_upload' doesn't exist
query: DELETE FROM fstore_upload WHERE timestamp < '1072249496' in /home/dbid/my.site.com/www/includes/database.mysql.inc on line 90.

user error: Table 'dbid.fstore_upload' doesn't exist
query: INSERT INTO fstore_upload (timestamp, filename, filetype, filedata, filesize) VALUES ('1072335896', 'vp_fo_zad_1_0.zip', 'application/x-zip-compressed', here comes a very long string of meaningles characters in /home/dbid/my.site.com/www/includes/database.mysql.inc on line 90.

user error: Table dbid.fstore_upload' doesn't exist
query: SELECT upid FROM fstore_upload WHERE timestamp = '1072335896' ORDER BY upid DESC LIMIT 1 in /home/dbid/my.site.com/www/includes/database.mysql.inc on line 90.

So as i can see the script is trying to work with fstore_upload table instead of drupal_fstore_upload table which i have actually. And the fact that the prefix is stated at the conf.php doesn't help!

A error:

Fatal error: You have an error in your SQL syntax near '\', \'' at line 1 query: INSERT INTO drupal_watchdog (uid, type, message, link, location, hostname, timestamp) VALUES (1, 'error', 'user error: You have an error in your SQL syntax near \'href=\\\"http://www.ee-studio.com/drupal/node/view/3\\\" >view post\', \'/drupal/n\' at line 1 query: INSERT INTO drupal_watchdog (uid, type, message, link, location, hostname, timestamp) VALUES (1, \'special\', \'story: added \\\'本站将在近期开通\\\'\', \'<a href=\\"

image tag ruins text formatting

Current setup is drupal 4.2.0 , but using the image.module 1.51.2.5 from drupal 4.3.0.

Basically, whenever I call an image thumb using the [image:number] tag, all text formatting on the page is lost.

For example, if I have a page that should look like this:

------
First Line
Second Line
Third Line
(image here)
------

It comes out like this:

------
First LineSecondLineThirdLine(image here)
------

Installing Drupal on my host.

I don't have a linux box or anything, and I am tryign to install Drupal to my host. I got the database and tables made with "drup_" befor them. I just need to to access the database. It says "cant acct database." What do I need to put for that url?
It needs to be:
$db_url = "mssql://user:password@hostname/database";
I have:
$db_url = "mssql://bcp_PMSF:password@localhost/bcp_PMSF";
What do I need to put so that it wil access my database?

Pages

Subscribe with RSS Subscribe to RSS - Installing Drupal