Mysql Error

paulos - October 13, 2005 - 21:27
Project:Mass Mailer
Version:4.6.x-1.x-dev
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I've followed all the instructions for the install word for word. Everything is ok until I go to send message. On the screen this is what pops up.

p = processqueue
c = ../../config.php
d = /index.php
h = www.xxxxxxx.ca

p = processqueue
c = ../../config.php
d = /index.php
h = www.xxxxxxx.ca
Fatal Error: Mysql is not supported in your PHP, recompile and try again.

I've done a huge search all over and nothing on this error. Please help
Paul

#1

killes@www.drop.org - October 13, 2005 - 21:31
Priority:critical» normal
Status:active» fixed

Apparently the command line version of php that is installed on your computer lacks support for mysql. Please contact your system administrator and ask him to include it when rebuilding the php command line application.

#2

paulos - October 17, 2005 - 03:51

I\ve been getting this error on my site. I was tring to install a mailing list module for Drupal. I tried support from Drupal.org and this is what I got for a reply. Is this possible?
Would this fix the problem by recompiling my PHP? Would I have to reinstall my site?
Paul

\Fatal Error: Mysql is not
killes@www.drop.org - October 14, 2005 - 19:03

\Fatal Error: Mysql is not supported in your PHP, recompile and try again.\

Your php command line executable does not support MySQL. This is bad because you will need it. Ask your system administrator to recompile.
--
Drupal services
My Drupal services

I am really sorry but this is impossible. Our servers are finally setuped and it is not possible to recompile the php on them.

Best Regards,
Viktor
I emailed support and that was their answer any other ideas?

Rhanks pausur

This might be impossible. I might just have to take it off.

#3

killes@www.drop.org - October 17, 2005 - 04:13

The anwer is not going to become more favourable by asking multiple times. :p

#4

killes@www.drop.org - October 17, 2005 - 04:31

Let me explain that a bit: The php command line executable is needed for exeuting a shell script. The script needs to access the mysql db so php needs to support that, If your hoster does not support that, you will either have to change hosters, or not use massmailer. You could look at simplenews for similar functionality.

#5

paulos - October 17, 2005 - 15:38

Sorry,
Should have known better than to ask the same question twice. Thanks for the answer though. I will take a look at simple news.
Thanks again
Paulos

#6

LUTi - October 18, 2005 - 23:02

I got the same result on the brand new FC4 server. As I prefer not to change defaults if anyhow possible, I decided to go different way - I've installed the complete massmailer (latest one) instead of just a part requested my this module - so that the both installations are seamlessly overlapping on disk. Some minor adjustments were needed (I don't remember exactly what, sorry), but it seems to work now... I can not send messages now through drupal, but I have the original application (adapted a bit to work well with UTF-8) and test mails I've sent to myself were just fine. I have to test everything more befor announcing a success, of course.

Just as a possible solution... ;-)

#7

killes@www.drop.org - October 19, 2005 - 08:36

LUTi: I think your problem might have been different from the original poster's problem. However, trying the cvs version instead the 4.6 version is a good idea.

#8

LUTi - October 21, 2005 - 16:46

My problem seems to be exactly the same, as I get those messages as well...

According to your advice, I've installed the CVS version (together with latest 2.10.1 version of phplist, as the one required is not available on their web anymore...). I've had to add a column public and now the list specification and users part work, but the messages part not again. When I try to create a new message, I get only a blank page (as it happened before with the previous version).

But I've noticed the complete phplist 2.10.1 works as it should - I presume it is not using the command-line mode to send messages. Therfore I've tried to resolve the problem as mentioned before - after, I've still not been able to send messages from drupal, but at least I could do it from phplist admin interface... And visitors can subscribe through drupal system. Not a perfect solution, but at least it seems to work. And, I don't want to mess with custom builds at Fedora 4 as there are new versions quite often (as it happens with the latest versions which are always the most developing ones...) and I simply don't have time to do it all over again and again.

In any case, i hope the new 4.7 version of drupal will provide us a fully working version sooner or later (speaking about some other modules as well...).

By the way, what makes you think it is not the same problem, killes? And, more important, what might be a problem with me? Or, what shall I (try to) do to resolve it?

#9

LUTi - October 21, 2005 - 22:01

By the way, with the latest CVS version + latest CVS phplist.mysql (there is the wrong / old one in the archive!) + event.module (this has been a reason for a blank page when creating a new message before) I am getting exactly as above again (p = processqueue, c = ../../config.php, d = /index.php, h = ... - everything 2 times displayed on screen and no mail sent...). I'm sure it is the same problem!

Is there really no way to submit this message as a normal (non-shell) php??? Since phplist is doing it somehow else, as I've tested it...

#10

Anonymous - November 4, 2005 - 22:20
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.