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

site problems, is it host, modules or me!

installed and been running Drupal 4.7 on a small site for about 2 weeks, no problems apart from usual newbie teething stuff ;)

however yesterday was setting a new view (views module) and site just "hung" when I tried to access the new view. I already have 4 custom views which have been running successfully and this new one was just a copy of another but with a slightly different filter

I've sat for hours in discussion with host by phone and email, first they said it was PHP that was the problem.. seems they upgraded to 5 at some point yesterday and then they said a MySQL connection problem? Anyway by evening the site was not hanging but instead was throwing loads of function errors (5000+ in watchdog table this morning!)

note: I also saw that yesterday the host put some PHP files in the cgi-bin which I don't remember seeing before and they had changed the php.ini

This morning I did some searching here and I thought I'd narrowed the "new problem" to the php.ini file and the include path to these new files, so I amended the include path in the php ini file to '.:/' and viola I could access the site again.

BUT then I tried to reset up the view (I had deleted it via phpmyadmin) though I probably should've tried to do something different. Now the same has happened again. i.e. site is "hanging", I can't get into anything and I can no longer access database through phpmyadmin or host CP, in fact I can't connect to MySQL.

Subscription: Channel disappears?

Hi there,

Something really strange is happening with my site (Drupal 4.6.6). I've got the subscription-module installed. I created a "simple mailer" channel to send the subscription messages. And it's doing what I want it to.

But then ... once in a while the channel disappears just like that and with it all the subscriptions (no channel... no subscriptions possible). The first time it happened I thought I screwed something up. But now it's happened 3 times... within about 3 months.

Does anyone know if there's some setting that I should (not) enable?

Add fields to a Node

Hope this one was not posted before...

I'm really new in drupal so i am quite lost right now. I dont need to be spoonfed I just need a few directions so i can be on my way.

Currently the default when we submit a story is we see two fields

Title:
Body:

I am trying to make a referral site so i need to add at least a few more fields so i can have

Title:
Body: somewhat of a teaser
Link : link from another site:
Author:

How to allow PHP script access to Drupal objects/functions

I am quite new to Drupal, in fact CMS's in general. I am quite familiar with PHP development, including with application frameworks (currently using CakePHP).

I have a PHP script in a plugin for FCKEditor, and I want to display a list of Drupal nodes. My questions is:

How can I get this PHP script (which is called independantly by FCKEditor) access to the global Drupal functions (ie all the functions listed in the Drupal API)? I have require'd the "bootstrap.inc" file (which seems to be the launch point), after setting the appropriate include_path, but I am getting a number of other filesystem problems, as the script running is actually at "drupal-4.6.8\modules\fckeditor\lib\editor\dialog". Errors are things like this (database.inc lines 113 onwards)

$handler = "includes/database.$db_type.inc";

if (is_file($handler)) {
    include_once($handler);
}
else {
    die('Unsupported database type: ' . $db_type);
}

Of course, running in this fckeditor\lib\editor\dialog folder means relative file paths like this do not exist, no matter what the include_path is set to. The die command prints "Unsupported database type: mysql" , and drupal-4.6.8\includes\database.mysql.inc does exist.
So, rather than modify the core Drupal files, I must be approaching this from the wrong angle. Can anyone point out how I should do this?

Oh, the include path I set using:

HELP! My SQL Error #1064

When i try to place my database into phpmyadmin on my host site, I get the following message:

Error

SQL query:

CREATE TABLE IF NOT EXISTS `access` (
`aid` tinyint( 10 ) NOT NULL AUTO_INCREMENT ,
`mask` varchar( 255 ) COLLATE latin1_general_ci NOT NULL default '',
`type` varchar( 255 ) COLLATE latin1_general_ci NOT NULL default '',
`status` tinyint( 2 ) NOT NULL default '0',
PRIMARY KEY ( `aid` )
) ENGINE = MYISAM DEFAULT CHARSET = latin1 COLLATE = latin1_general_ci AUTO_INCREMENT =1;

Problem with menu..

Hi,..

Im using drupal site driven. and my problem is that my navigaion bar, or menu is lost.. everything in my left and side bars are gone.. i don't know what happen.. after my clients login and they press home link.. its gone.. now i cant login..

my site..
http://www.addublueknights.com

I experience this kind of problem twice, i fix it by uploading new database..

now i cant upload new database coz all the records of my clients will be deleted..

help me guys..

Pages

Subscribe with RSS Subscribe to RSS - Post installation