By NotHappy on
I have tried 6 to 10 times with 2 different databases and still cannot get this thing to work. I have added the user to the DB and configured the settings.php. (see below) I want to use this and I am trying to get it working in /public_html/. Can someone please help me.
Here is my DB line (password omited)
$db_url = 'mysql://hiscafe_test:@localhost/hiscafe_drupal';
$db_prefix = '';
I have created 2 dbs and 3 users and none of them work. I am getting pretty mad at this but I like the possibilites that Drupal offers and want to use it, but cant. I have dumped the data out of the dbs and put it back in. I JUST DO not get it.
Please Help!
Comments
Add your user to the database
If your database and username are correct then add your user to the database.
-------
http://www.para.ro/en
I have.
I have. In the list of dBs, I have 2 there. One has 2 users and neither work, the other has 1 user. And in the user list, I have 3. So the dB has a user. This is not the first time I have installed this and I did everything EXACTLY the same. So I am a little pissed as to why this doesnt work.
I suppose that you verified the $base_url
I suppose that you verified the $base_url. Modify yur settings.php to echo $db_url, $db_prefix and $base_url.
-------
http://www.para.ro/en
Correct?
$db_url = 'mysql://hiscafe_test:123456@localhost/hiscafe_drupal';
$db_prefix = '';
$base_url = 'http://www.hiscafe.com';
Is this correct?
Yes, it is
I visited your site and you have a well directory structure. Try to replace localhost with hiscafe.com. You have no command line access to this site, right? If you have try to connect to mysql manually.
-------
http://www.para.ro/en
No go :'(
I am not sure about the command line thing. How would I go about trying?
But adding hiscafe.com instead of localhost did not work. *cry*
mysql hiscafe_drupal -u hiscafe_test -p
mysql hiscafe_drupal -u hiscafe_test -p
after that you must enter your password
-------
http://www.para.ro/en
Replacing the localhost
Replacing the localhost doesn't help. I just tried that.
This sucks
I just went into my main account (reseller) where I had installed Drupal, but deleted the DB, I recreated the db and populated the DB and it worked. WTH is this!!! I do not get this at all.
I even moved my drupal install on HisCafe to /cms and that did nothing.
Ok
Ok, probably a cachestuff did that.
-------
http://www.para.ro/en
How? How?
How do I make this work???
OH, I get all sorts of freakin errors on here when editing settings.
www.gfxed.com/cms
Why is this so difficult?
It is not.
It is not, you'll see. First create an account , you can see a link there, log in post something and that's all.
After reading a comment
After reading a comment elsewhere about having to add the mysql user through cpanel (actually, I didn't find a way to add, just selected the user and db in cpanel and granted all permissions), my site came up, but with all the drupal permissions gone (everyone seems to have access to editing nodes) and a bunch of errors at the top of every page:
warning: array_keys(): The first argument should be an array in /home/ciosaorg/public_html/includes/menu.inc on line 852.
warning: Wrong parameter count for min() in /home/mydomain/public_html/includes/menu.inc on line 852.
warning: array_key_exists(): The second argument should be either an array or an object in /home/mydomain/public_html/includes/menu.inc on line 856.
warning: array_key_exists(): The second argument should be either an array or an object in /home/mydomain/public_html/includes/menu.inc on line 889.
warning: Cannot modify header information - headers already sent by (output started at /home/mydomain/public_html/includes/common.inc:344) in /home/mydomain/public_html/includes/common.inc on line 167.
warning: array_key_exists(): The second argument should be either an array or an object in /home/mydomain/public_html/includes/menu.inc on line
Looks like I have to trash the site and begin all over again.
This is messed up
Now I am pretty ticked off.
I went to Cpanel, then to Fantastico, then Drupal and installed it into cms2. IT WORKS!!!!!!!!!!! WHY?????
Which version of drupal do you installed?
Which version of drupal have do you installed?
-------
http://www.para.ro/en
Latest.
Latest.
The Drupal 4.6.3 doesn't work ...
The Drupal 4.6.3 doesn't work well with php 5.0.4 and 5.0.5.
Interesting.
[profanity] this would be useful information to have in the upgrade & installation instructions.
You have company- I am
You have company- I am having the same problem, the only difference being that I am moving my working drupal site from another host.
WOOOOOOOOOOOOOOOTTTTTTTTTTT
My Database.mysql.inc had incorrect data in it. FIXED IT!!!!!! Sorry for the problems.
Can you share the error and
Can you share the error and the fixes? Might be helpful to me.
What I did
What I did when I downloaded and uploaded it was edit the database_mysql.inc file thinking this is where the info went. But I was wrong. So I replaced that file and it worked.
Sorry, not much of a fix, but hope it helps.