Author Topic: Installing on Hosting Account  (Read 8220 times)

cshowe80

  • Guest
Installing on Hosting Account
« on: October 16, 2009, 04:37:36 PM »
I am trying to install roundcube on a hosting account and it does not allow me to log into the Linux server and create new databases. I have to add tables to the already existing MySQL database but I can not find any information anywhere on how to do this. I'd like to use a prefix like rc_ for all the required roundcube tables. I am new to installing PHP applications but generally savvy with Hosting/PC operations.
« Last Edit: October 16, 2009, 04:39:38 PM by cshowe80 »

Offline tekone

  • Jr. Member
  • **
  • Posts: 27
Installing on Hosting Account
« Reply #1 on: October 20, 2009, 04:46:37 PM »
are you able to run sql queries?

there should be a .sql file for mysql that you would run

cshowe80

  • Guest
Installing on Hosting Account
« Reply #2 on: October 21, 2009, 06:23:25 PM »
I do have a tool to run queries but I got an error when I ran this following code. I changed the variables in red to my DB specifics and it was unsuccessful. Is there something I am missing here?

CREATE DATABASE roundcubemail;
GRANT ALL PRIVILEGES ON roundcubemail.* TO username@localhost IDENTIFIED BY 'password;


Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Installing on Hosting Account
« Reply #3 on: October 21, 2009, 08:16:57 PM »
A lot of shared servers don't allow users to create databases that way, if you only have the one database just run the [RC root]/SQL/mysql.initial.sql file that will create the database tables.

cshowe80

  • Guest
Installing on Hosting Account
« Reply #4 on: October 23, 2009, 03:24:58 PM »
So I thought this would be so simple when I started and now due to pure stubbornness I refuse to give up easily. The DB tables have been created but when I go to the roundcube/installer url I don't get the installer still. Should there be any special permissions for that folder? I have full 777 on temp and log folders.

Thanks for the help BTW. I would be lost without all your help.



Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Installing on Hosting Account
« Reply #5 on: October 23, 2009, 11:17:15 PM »
Try deleting the .htaccess file in the root directory.

cshowe80

  • Guest
Installing on Hosting Account
« Reply #6 on: October 24, 2009, 11:49:37 AM »
Removed .htaccess in the main folder of roundcube. I then got a message it couldnt find 2 files. I checked the config folder and renamed db.inc.php.dist and main.inc.php.dist to not include the.dist. Today I am going to go through the files and have a peek at the contents variable etc but when i did all this I got this error.


Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Installing on Hosting Account
« Reply #7 on: October 24, 2009, 07:41:41 PM »
Just taking the .dist off just gives it the default configuration witch doesn't have your database information, you need to set it up by going to http://url-to-roundcube/installer/.

fartman

  • Guest
Installing on Hosting Account
« Reply #8 on: October 25, 2009, 05:11:02 PM »
Quote from: skaero;22482
Try deleting the .htaccess file in the root directory.


had the same problem, i need to modify .htaccess as well

cshowe80

  • Guest
Installing on Hosting Account
« Reply #9 on: October 28, 2009, 04:13:23 PM »
I think I am one step from finally getting this completed. I got the installer to open and I played around with the main.inc.php & db.inc.php files and I got this far.

Now it seems like the only issue is in the DB Schema at this point. I am thinking either the db tables did not get added properly or something of the sort. Again any help will be greatly appreciated.


Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Installing on Hosting Account
« Reply #10 on: October 29, 2009, 02:36:40 AM »
Does it gives you the login screen? If it doesn't check that your database configuration is correct, if that still doesn't work then delete the RoundCube tables form the database and run the installer again.

cshowe80

  • Guest
Installing on Hosting Account
« Reply #11 on: October 30, 2009, 12:01:56 PM »
I only get the second screen of the installer. Here is what I have on the 2 screens




Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Installing on Hosting Account
« Reply #12 on: October 31, 2009, 12:33:13 AM »
Try removing the RoundCube database tables and use the installer again.

cshowe80

  • Guest
Installing on Hosting Account
« Reply #13 on: November 06, 2009, 02:32:33 PM »
I removed them and used the mysql.initial.sql file again to create them. Maybe it is a better idea to try and let the installer create the tables?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Installing on Hosting Account
« Reply #14 on: November 07, 2009, 03:22:20 AM »
I would see if that works.