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

preg_match ???

So I get everything working, and config'd (at least that's what I think). Mysql, php, apache, etc all working. When I try to go to http://server/drupal/index.php, I get this weird error that points to a unicode.inc file.

The error is "Fatal error: Call to undefined function preg_match() in /usr/local/www/data-dist/drupal/includes/unicode.inc on line 32".

I vi the file and find that the function says:

30 // Check for outdated PCRE library
31 // Note: we check if U+E2 is in the range U+E0 - U+E1. This test returns TRUE on old PCRE versions.
32 if (preg_match('/[\xc3\xa0-\xc3\xa1]/u', '\xc3\xa2')) {
33 if ($errors) {
34 form_set_error('unicode', t('The PCRE library in your PHP installation is outdated. This will cause problems whe
n handling Unicode text. If you are running PHP 4.3.3 or higher, make sure you are using the PCRE library supplied by PHP. Ple
ase refer to the PHP PCRE documentation for more information.', array('%url' => 'http://www.php.net/pcre'))
);
35 }
36 return UNICODE_ERROR;
37 }

The error is actually coming from the "if(preg_match)..." line of code. The comments say to upgrade my PCRE, but it doesn't even look like it's getting to that error message. It seems like it's erring before the code can be run. Anybody have a clue what might be going on here?

Cron errors since server change

I recently switched servers AND upgraded my drupal dist. from 4.6.4 to 4.6.5 nearly simultaneously. Since then, I've been getting CRON error messages like the ones below sent to me nearly every hour (how often crontab is set for).

<pre>user error: Duplicate entry &#039;ping_cron_last&#039; for key 1
query: INSERT INTO variable (name, value) VALUES (&#039;ping_cron_last&#039;, &#039;i:1135359845;&#039;) in /home/toddalbe/public_html/includes/database.mysql.inc on line 66.</pre>
<pre>user error: Duplicate entry &#039;cron_busy&#039; for key 1
query: INSERT INTO variable (name, value) VALUES (&#039;cron_busy&#039;, &#039;b:1;&#039;) in /home/toddalbe/public_html/includes/database.mysql.inc on line 66.</pre>
<pre>user error: Duplicate entry &#039;ping_cron_last&#039; for key 1
query: INSERT INTO variable (name, value) VALUES (&#039;ping_cron_last&#039;, &#039;i:1135327442;&#039;) in /home/toddalbe/public_html/includes/database.mysql.inc on line 66.</pre><pre>user error: Duplicate entry &#039;cron_busy&#039; for key 1
query: INSERT INTO variable (name, value) VALUES (&#039;cron_busy&#039;, &#039;b:0;&#039;) in /home/toddalbe/public_html/includes/database.mysql.inc on line 66.</pre>

I am wondering if this is some conflict with the new distro and some module I have installed, or if it might be that the cron job is running on both servers still. I cannot shut cron off on the old server (yet) since I no longer have cpanel access, yet I cannot yet remove the site from the server, either.

Mysql problem

I am trying to install Drupal using the handbook. When i'm trying to upload the database.mysql file (using the phpmyadmin) i get this error:

#1364 - Field 'pages' doesn't have a default value

for this SQL query:

REPLACE blocks
SET module = 'user',
delta = '0',
STATUS = '1';

What i am doing wrong?

Module does not display nothing

Hi and sorry for my band english.

I have installed Drupal 4.6.x, but I have a problem with Modules directory/section. When I log via administrator, and click on
Administer -> module I get only a white page. Nothing into it. I can register new user, add themes and change default theme, but I have no possibility to see module section.

Tnx in advance for all.

Character settings problem

Hi
im new with drupal.I ve installed drupal with general myqsl character setting (was english uft8,swedish latin1) and we are using hungarian latin2 utf8 settings. Everything is working fine on the site only problem when i try to use rss and i put my news on some1 else site that site doesnt see the accentuated letters and gives me some arabic character:) but on the site i have accentuated letters.The question is how can i fix that without loose mqsql database?
Or if i reinstall it might help or not hmmm dunno.Or if i reinstall what character setting should i use?

install: mySQL authentication protocol warning

hello,
so i *believe* i finished the drupal installation locally, but when i tried to view the drupal folder in my browser using my local host i get the following error:

Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in e:\wamp\www\drupal-4.6.5\includes\database.mysql.inc on line 31
Client does not support authentication protocol requested by server; consider upgrading MySQL client

Pages

Subscribe with RSS Subscribe to RSS - Installing Drupal