This thread has been closed. Please post replies as a new topic.

Comments

ax’s picture

[from http://www.drop.org/node.php?id=786#1897:]

i've got a question related to [updating a drupal installation from cvs with certain modules disabled]: when i disable a module by deleting it, how do disable it from being "recreated" by a "cvs update" of the whole drupal tree? i tried .cvsignore, but didn't really get it to work. i also tried deleting it's entry from CVS/Entries - but neither. i'm not that an cvs-expert (apart from committing windows files with unix-line-endings Only local images are allowed.), so i would appreciate any help on this.

by the way: thanks for reopening the forum! did you think about using the bbs.module (http://cvs.drupal.org/viewcvs.cgi/contributions/modules/bbs/?cvsroot=contrib) instead of the (old) forum.module?

Kjartan’s picture

We use a simple shell script on drop.org/drupal.org to do a cvs update and remove any modules not needed. Don't think there is another way Only local images are allowed.

--
Kjartan

j0e@www.drop.org’s picture

Well, I had to say it somewhere. Nice work on drupal.org and drop.org! I love the downloads link Only local images are allowed.

Cheers,
- Joe

Reading maketh a full man, conference a ready man, and writing an exact man. - Francis Bacon

polaar@www.drop.org’s picture

I notice feature request 61 (marking unread comments in tracker) is also done. Nice. It still is Active and Unassigned though... guess you were already planning to do it before I even posted that... Well, you can scrap it from the list now Only local images are allowed.

j0e@www.drop.org’s picture

I've been trying to post a moderately long message to drop.org. Unfortunately, when I click preview, I get a message saying the server closed the connection.

If I type a short message, it seems to work fine. I'm on a high speed internet connection and the problem has spanned several days.

What is the maximum post size? Are there other reasons why I might get this error.

Thanks in advance,
- joe

Reading maketh a full man, conference a ready man, and writing an exact man. - Francis Bacon

Kjartan’s picture

Could you mail me one of the texts you wrote that caused problems? I need to test a little before being able to give any reply on what the problem is.

--
Kjartan

greEd-1’s picture

I'm trying to install on of the new themes in the cvs and when i goto view the page some of it comes up then i get an error message of:

Call to undefined function: user() in /home/sites/site6/web/themes/panic/panic.theme on line 98

I located line 98 of the theme and found this:

<?php
global $PHP_SELF;
$this->user("left", $this);
theme_blocks("left", $this);

?>

But I have no idea how to fix this problem ... please help

Kobus’s picture

I have had a similar problem, and I can not explain completely how it was fixed, except that I downloaded a newer .theme file and overwritten my old one. It is however not going to be applicable in your case, as you already modified it a lot. I just modified the graphics of the one I changed Only local images are allowed.

Kobus Myburgh
www.rocknbull.co.za

ax’s picture

the user block is rendered by theme_blocks() (which calls user_block(), now. the simple fix is to just remove the call to $this->user("left", $this). note that for the user block to be shown, you may have to explicitely enable the user block from administration > blocks.

see also http://list.drupal.org/drupal-devel/2002-January/thread.html#6384.

kjartan: shouldnt the contrib-themes be patched to avoid this (and to use Theme_<theme-name>)?

greEd: would be nice if you would properly quote html special characters as < and > with &lt; and &gt; - your <? messes up this page quite badly.

Anonymous’s picture

Hello everyone,

I am currently maintaining a web page housed temporarily at http://66.197.152.205

This has been manually updated for a year, achieving at one point about 2000 visits per day (and climbing, but I had to put it off for a while for personal reasons).

However, it's now a chore to continue updating it manually, not to mention it doesn't have a lot of user interactivity, such as comments, nor can I give access to other users so they can update the page too(Since that means giving them admin access to my server).

I'd like to know if I can use Drupal to maintain it - it needs to be able to:

post 6 sections once a day: news, visual, aural, other, and "personal", with an optional "community service", or "PSA".

Every time I want to add a link and a description, it has to be added to the appropiate box - ie if I find an mp3 of Mozart, I just want to say - heres the description, here's the link address, it goes in the aural section.

Then it should add automatically a comment option and maybe a voting thingie.

So, can Drupal do all this? If not, can you suggest another tool?

If so, please respond or email me privately to opeth@cybercable.net.mx

polaar@www.drop.org’s picture

not really a drupal support question, but a problem I have on drop.org:
I changed my theme to zork-cool to see what it would look like, but what I got was "Fatal error: Cannot instantiate non-existent class: theme_zork-cool in /var/www/drop.org/includes/theme.inc on line 82"

This makes drop.org unusable as soon as I log in, with no way of undoing this Only local images are allowed.

I'd be happy if someone would reset my preferences, but of course, there's more to it than that...

ax’s picture

kjartan - could you please modify this (and probably other /cvs/) theme to use the new {class|function} theme_[theme-name] notation? note that the theme-name (from conf.php) must be a valid php-identifier, that is "Stone Age" has to become "Stone_Age", "zork-cool" "zork_cool" etc.

thanks a lot!

Kjartan’s picture

Will check out proper fixes.

--
Kjartan

polaar@www.drop.org’s picture

I can use drop.org again, thanks!

Anonymous’s picture

Rare enough if suddenly got this error message:

Fatal error: Call to undefined function: mysql_pconnect() in /home/export/www/drupal/includes/database.inc on line 4

Anyone an idea with I should do?
It came just the one day on the other...

Thanks for help.

Anonymous’s picture

I had the same problem but reinstalling PHP with mysql support seem to be the fix

jono

erikhopp’s picture

hi.

i am going to ask a couple of questions all in one post.

i recently installed drupal 3.0.2, configured, edited things, etc.

i am having some troubles and things i want to change. here is the list:
-i have found that my site has crashed a couple of browsers when using nescape 4.6 and a mac. does anyone know what is wrong?
-i have noticed that on ie 3.0 about half the css sheet does not show up so that the background is the wrong color and the text is the wrong font. does anyone know why?
-i can't seem to figure out how to change the titles of all the pages from drupal to my site name.
-is there an easy way to make a module where people can add links to an ongoing list and not separate boxes for each link (or file, or whatever)?
-is there a projects module somewhere in development where people could submit a project idea, and then others could refine the idea via a forum connected to the specific project?

the site is http://gcn.hampshire.edu.

any help would be great.

suresh’s picture

Hi,

With the CVS version I am unable to get editing of pages to work.
Preview of the edited page works. But 'submit' button does not.
The 'Create new revision' button is always set on 'disable'.

BTW, I am relatively new to Drupal and I think its great!!

Would it be possible to have all the code used in running
drupal.org as a separate download. This might save time
for some of us playing with various revisions.

Suresh Manandhar

Kjartan’s picture

This is a new problem to me so I will need a little more information. Are there any errors in the watchdog? Which type of content are you editing. I use the Drupal CVS version a lot and have had few problems with it.

(CVS version is the development version so I don't think we should make it too easy for people to get a hold of it as it require some knowledge and effort to keep updated and working. IMO at least, and I can be forced into setting something if I get flooded enough with requests Only local images are allowed.)

--
Kjartan

suresh’s picture

Thanks for the reply.

I am editing a site page. The following error is recorded in the
watchdog:

Unknown column 'static' in 'order clause' query: SELECT nid,
type FROM node WHERE promote = '1' AND status = '1' ORDER BY static DESC, created DESC LIMIT 15

It appears that static is undefined in the node table entry
( -- looking at database.mysql )

Any help greatly appreciated. Many thanks in advance.

Cheers,

Suresh

suresh’s picture

I added

static int(2) NOT NULL default '0'

to the node table.

It appears to work fine now.
Could some one tell me if that is correct.

Hedphuq’s picture

I just set up drupal on my win 98 machine it runs perfect only I can't register. Because this machine is not connected to the net (I am just testing drupal and configuring it for my webserver) drupal can't send me the password. I know there is a workarround for this but I can't find it anymore in the drupal handbook. Can anyone help me plz? Hedphuq

Kjartan’s picture

Edit modules/user.module to print the mail instead of mailing it. If you are running the 3.0.x versions you could also update the password in the database directly.

--
Kjartan

Anonymous’s picture

I have a permanent internetconnection, installed drupal to try it out an dfound out mail isn't sent.
Printed the lot like stated above, but would like toget things going through mail.
Could it be possible my firewall keeps me from sending mail.
I presume ( because I'm a newbie) that php is used to send mail.
I do not have to use a pwd to send mail...

This is what my php.ini says:

[mail function]
; For Win32 only.
SMTP = smtp.mailserver.nl

; For Win32 only.
sendmail_from = me@isp.nl

the output I get from the mailcommand e.g. when mailing a password to myself is:
warning: Failed to Connect in c:\drupal\account.php on line 305

that is the line with the mailcommand... I don't know what to do.
Unless...anybody here knows a free mailserver to install on my machine.

erikhopp’s picture

hello.

could someone post example tables of the collection overview and the metatag overview?

i can't seem to get them right.

basically i just want to have different topic sections connected to various modules.

a basic layout would be helpful. thanks. erik

Kobus’s picture

Hi... some ideas please?

Our Drupal site (ProjectX) keeps crashing all the time. Different errors - 502 gateway timeouts, refreshing problems, causing trouble that you have to close IE and reopen it all the time, updating doesn't work at times, and well, everything just sucks :\ I am not experiencing it on this site, or any other Drupal site I am visiting, so, I doubt it's Drupal engine, but possibly (an) outdated module(s) or something. I can't access CVS yet (no password and stuff yet) and I need to get the latest Drupal to upgrade, so that I can see if that is not what is causing our problems? Any ideas would be appreciated...

Kobus Myburgh
www.netgold.co.za
www.projectx.mx.dk

nethyperon’s picture

I got the most recent Drupal version from CVS and created a new database, but it does not seem to work. I get the error:

Fatal error: Table 'drupal.system' doesn't exist query: SELECT name, filename FROM system WHERE type = 'module' AND status = '1' ORDER BY name in includes/database.mysql.inc on line 56

The system table seems to be missing from the database script (database/database.script).

raist@www.drop.org’s picture

i installed drupal to a w2k machine with php installed..

on the machine postnuke runs with no problems but dropel gives this error:

Warning: open(/tmp\sess_b97566a405f675fe6bc3473609cd4db4, O_RDWR) failed: No such file or directory (2) in C:\mydrupal_path\includes\user.inc on line 29

warning: open(/tmp\sess_b97566a405f675fe6bc3473609cd4db4, O_RDWR) failed: No such file or directory (2) in Unknown on line 0.warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0.

how can i resolve this problems?

nethyperon’s picture

The php.ini file (in your windows dir) has a section called [session]. In this section there is a item 'session.save_path'. Default this item has the value '/tmp', but as you see this is a Unix pathname. Change this to something like 'c:/temp' (choose your own dir). The PHP engine will use this dir to store the server based session files.

Anonymous’s picture

I'm trying to translate drupal into polish, but I have a following problem: whenever I use a non-ASCII character, it shows up on a page in the form of: ż

How can I prevent that? It makes the translation pointless, when users instead of normal letters get numbers like that.

Thank you for your help

polaar@www.drop.org’s picture

actually, this is a comment on jOe's bug report #146 (moderation results box), but since there seems to be no way to add comments to a bug, I'll just post it here.
jOe writes

One question, should people be able to see what others have voted before submitting their own vote? This is not currently possible and I'm not sure if I have an opinion.

It seems that you can see this information, but only if you directly select a comment (from the 'view new comments' page). I guess this is a bug?

olivierv’s picture

Can somebody tell me jow to define a "Who's online" block. Need the PHP code !
Thanks

---------> Closed: solved by Myself "PHP is great"

dh3rm3’s picture

well i'd be thankful if you'd share your solution with me...
can't seem to find any existing module for that...
and I like the feature...

Steven’s picture

I'll give the URL and how to find it yourself Only local images are allowed.

http://cvs.drupal.org/

Contributions > tricks > whoisonline.txt > download

Here it is.

dh3rm3’s picture

Hello !
Well I just installed trip_image module on my website...
and I was wondering where I can find image magic that need to be installed for an automatic resize of pictures and creation of thumbs...

Well I edit to add another question....
let's group them Only local images are allowed.
When does the img src tag will de allowed in bbs posts ?
Or is it already possible to add it !?
Thanks in advance !

kika’s picture

ImageMagic
http://www.imagemagick.org/

If I were you, I'd better upgrade to Drupal 4.0 version and use excellent image.module. It offers all the features on trip_image and a lot of more.

It's not official, but trip_image will probably discontinued and I'd like to offer an upgrade option to trip_image.module to move onto image.module

To add allowed HTML tags, use admin > site configuration > filters

dh3rm3’s picture

thanks for your reply...
I installed drupal 4 RC1... and add the html tags I wanted...
works great...
Now I'm impatiently waiting for the final release.. !
Circa the end of the month I hope...

Anonymous’s picture

i try to create handbook, but i have big problems. i can create book pages, but the don't appear in the handbook section. how can i create a handbook like the drupal handbook? how can i build a structure?

bradnickel’s picture

Been awhile, but am excited to see the new release. Hope someone can give me a hand.

Trying to do a fresh install on a remote Cobalt RAQ4.

Red Hat Linux 7.1 I think
PHP 4.12
MySQL on the box

After creating the table called miamidr via PHPMyAdmin, I then used the Run SQL query/queries on database miamidr browse command and loaded the database.mysql file.

Here is the error:

Error
SQL-query:

Then the table builds and at the end:
INSERT INTO system VALUES (\'tracker.module\',\'tracker\',\'module\',\'\',1);
INSERT INTO system VALUES (\'weblogs.module\',\'weblogs\',\'module\',\'\',1);
REPLACE variable SET value = \'marvin\', name = \'theme_default\';
REPLACE blocks SET name = \'User information\', module = \'user\', delta = \'0\', status = \'1\';
REPLACE blocks SET name = \'Log in\', module = \'user\', delta = \'1\', status = \'1\';

MySQL said: Column 'lno' is used with UNIQUE or INDEX but is not defined as NOT NULL

By the way, any chance for a web install similar to PostNuke on the horizon? I admit I have not viewed roadmap, but will.

Thanks,
Brad

polaar@www.drop.org’s picture

from the mySQL manual, Problems with NULL:

Note that you can only add an index on a column that can have NULL values if you are using MySQL Version 3.23.2 or newer and are using the MyISAM or InnoDB table type. In earlier versions and with other table types, you must declare such columns NOT NULL. This also means you cannot then insert NULL into an indexed column.

Could it be that you are using an older version? (haven't had the problem myself)

Hope this helps.

Anonymous’s picture

I've got everything working perfect, execpt this one last thingy. I have a list of movies, already written in PHP. Do I need to make a own module to create a link to this?

Thanks in advance =)

highbrowse’s picture

Just installed drupal but when I try to login I get the following error.

Fatal error: Allowed memory size of 3145728 bytes exhausted (tried to allocate 11520 bytes) in /home/sites/site106/web/drupal/modules/node.module on line 117

Is this a mysql config issue or something I can fix in prupal?

Any help would be appreciated

bertboerland’s picture

hi

i installed rc1 couple of days ago and enabled xml-rpc to the root drupal server. however, looking at //drupal.org i see that my site and another site are refered to as 127.0.0.1/somedir, which might work from my box at home but will not work for you Only local images are allowed.

couldnt find an option within the settings to specify FQDN/URL. is it an host isue, apache thing or a feauture of drupal 4rc1?

--
groets
bert boerland

Dries’s picture

I uses the path_uri() function to resolve your hostname. Mind to debug it a little?

aldem’s picture

Hi there,

Just installed - works great with Apache 2.0.36 + PHP 4.2.1.

Postgres support is broken I guess, and there are some things which doesn't work correctly - in some places getenv("REMOTE_ADDR") while server variables are not passed through the environment.

Regards,
/Al

Anonymous’s picture

hi,
some of the themes don't work under Drupal 4.0. i talk about the themes from cvs. i found the bug: class Theme extends BaseTheme { ... .
this code you find in the Yarooned theme. I think, you have to change it to: class Theme_yarooned extends BaseTheme { ... then you can select this theme in the theme administration.

alex.

rector@www.drop.org’s picture

Is there any way to create an entry which is an article and a collaborative book entry at the same time?
It would be very useful to announce new entries of the book among news but it would be confusing to have to comment lists: for the book entry and for the corresponding announcement.

Can admin include images into posted blog entries?

Thanks a lot!

polaar@www.drop.org’s picture

There are two ways:
- first post a story or a blog, then administer the node. Use 'edit book outline', which allows you to add the node as a page in a book. Although the page appears in the book outline (table of contents), it will be viewed as a normal node, not as a book page. (it remains a node with the type 'story' or 'blog', you could update the record in the node table manually and set type to 'book' later)
- post a book page, administer the entry, and set it to 'promote to front page'. It will appear as a normal story on the front page, but when you view it, it will look like a book page (this is probably what you want)

Note:
- you have to have the rights to administer the node to do this
- there seems to be no way to make 'promote to front page' the default for book pages
(or change the default for any type for that matter)

rector@www.drop.org’s picture

Thank you! This works fine!

However, is it possible to organize all articles into a tree structure of topics as it is done in ezPublish (see demo). Organize so, that every article appears in the list of articles for the corresponding topic? It would be fine if the creator could mention the topic when posting the article.

This would make articles easier to find and help the discussions last longer.

Thanks!

polaar@www.drop.org’s picture

You can make a tree structure of topics ('vocabularies' and 'terms') using the taxonomy module. And you can attach one or more of these terms to a node.
But as far as I can see there is no page which displays a treeview of the taxonomy terms with their related nodes.
So, in essence it is possible I guess, there is just no way (yet?) to display it the way you want.

moshe weitzman’s picture

look in Contrib for taxonomy_html.module (or look here)

It outputs an overview of all vocabularies and terms, and a block for each vocabulary. you can use either or both mechanisms for displaying your categories.