Drupal is up and running but how do I ...?

Possible to use drupal content on another site?

Not sure which forum to pust this in, but if I have a regular html page, and a drupal site, is there a way to use the drupal content, to automatically update on the html page. For instance if every time there's a new news story on a certain page in drupal, then I would be able to have that newsstory automatically put on my other site.

Thanks in advance, I hope my question makes sense...

Running Drupal with PHP5 on ISP

I am planning to include some PHP5 funtions in my Drupal PHP snippets (SimpleXML, SOAP, etc.) My ISP (goDaddy.com) runs my Drupal installation under PHP 4.3.11. In order to activate PHP5, the file extension must be .php5. I tried to change index.php to index.php5. The home page loads if I run mysite.com/index.php5 but everything else fails.

How can I activate PHP5 in this situation? Do I change every php extension to php5 or is there a better solution?

Thanks,
Laszlo

osherl.com

flexinode

Flexinode downloaded from http://drupal.org/project/Modules/4.7 doesn't work.
The problem is that I can't add field type.

Even the one taken from http://drupal.org/project/Modules/cvs doesn't work.
With this one I'm catching errors regarding form_textfield.

Where can I find the right module? I know that probably someone has it.

Showing new profile field in a block...

Hi there!!

I´ve created a new profile field called profile_debt (it is hidden), and I want to show it in a block. Just the content of that field.
I don´t want users to be able to see it in their profiles, but only when I put it in the block...

I want it to show the users -depending on the user looged in- something like:
Your debt is $ ........

After a veeeery looong search at the forums I´ve thought in something like this:

Missing field grant_create in node_access?

I've just seen the following error in the logfile:

Unknown column 'grant_create' in 'where clause' query: SELECT COUNT(*) FROM node_access WHERE (nid = 0 OR nid = 6540) AND CONCAT(realm, gid) IN ('all0') AND grant_create = 1 in /var/www/sites/www.******.com/htdocs/includes/database.mysql.inc on line 66.

I'm unsure what the user was actually doing to make this error appear.

Looking at things a bit closer, I've found that the grant_create column is indeed not present in the node_access.

Now, I've looked at the database/database.mysql file and the node_access table is created like this:

CREATE TABLE node_access (
nid int(10) unsigned NOT NULL default '0',
gid int(10) unsigned NOT NULL default '0',
realm varchar(255) NOT NULL default '',
grant_view tinyint(1) unsigned NOT NULL default '0',
grant_update tinyint(1) unsigned NOT NULL default '0',
grant_delete tinyint(1) unsigned NOT NULL default '0',
PRIMARY KEY (nid,gid,realm)
) TYPE=MyISAM;

No grant_create column.

I've also looked at the latest version of database.mysql in CVS, and there's no mention of grant_create in there, so where does this column come from?

Should be easy enough to fix; just an
update table node_access add column grant_create tinyint(1) unsigned not null default '0'
looks like it should do the job, but I'm more curious about whether this will have any other undesired effects on things, and how my

So my Drupal site crashed...

And I really don't know why. I was getting some SQL errors, but they were repaired quite easily. Then it just crashed:

Parse error: parse error, unexpected T_STRING in /home/kato/public_html/modules/filter.module on line 473

Probably doesn't help much that I don't know any php really, but I asked for any help here on the forums and I didn't get any response from anyone. If anyone can help with that, that would be great. Or at least help shed some light on a few things and help me make a few decisions.

1) The error that I am getting and the SQL database errors I was getting...do you think Drupal CMS crashed or was it the database that went out on me? If you want to see my thread with no answers about my SQL errors, it is here: http://drupal.org/node/52413

2) If it was just Drupal crashing out, how hard is it to reinstall Drupal and use that database again? The site is only a few months old, but it would be nice to not lose any of that information.

3) If the site is just toast (which I have a feeling it is), would you suggest keeping with 4.6.5 or moving up to 4.7 and starting over? I really don't like to do many updates/upgrades as once the site is working, I really don't want to break it. Bad thing about this crash I just suffered last week though is that I didn't do any upgrades or changes at all. It just happened. Which is better? I only installed a few modules on their own and the rest of the site was just the basic Drupal installation.

Pages

Subscribe with RSS Subscribe to RSS - Post installation