Trouble installing concrete5 in subdomain
Permalink
I am trying to make a separate concrete5 installation in a new subdomain of my website. I uploaded the concrete5 installation files to the subdomain folder then extracted the files and moved them out of the concrete5.7.5.3 folder. I created a new SQL database and attached a new user with full permissions to it. When I navigate to the webpage, I fill out the installation form and then receive the following error:
I have tried multiple times, but I can't get passed this
{"error":true,"message":"There are already 60 tables in this database. concrete5 must be installed in an empty database.. Trace: #0 [internal function]: Concrete\\Core\\Package\\StartingPointPackage->install_database()\n#1 \/home\/jonboinc\/public_html\/axeson\/concrete\/controllers\/install.php(275): call_user_func(Array)\n#2 [internal function]: Concrete\\Controller\\Install->run_routine('elemental_full', 'install_databas...')\n#3 \/home\/jonboinc\/public_html\/axeson\/concrete\/src\/Controller\/AbstractController.php(156): call_user_func_array(Array, Array)\n#4 \/home\/jonboinc\/public_html\/axeson\/concrete\/src\/Routing\/ControllerRouteCallback.php(25): Concrete\\Core\\Controller\\AbstractController->runAction('run_routine', Array)\n#5 \/home\/jonboinc\/public_html\/axeson\/concrete\/src\/Routing\/Router.php(115): Concrete\\Core\\Routing\\ControllerRouteCallback->execute(Object(Concrete\\Core\\Http\\Request), Object(Concrete\\Core\\Routing\\Route), Array)\n#6 \/home\/jonboinc\/public_html\/axeson\/concrete\/src\/Support\/Facade\/Facade.php(119): Concrete\\Core\\Routing\\Router->execute(Object(Concrete\\Core\\Routing\\Route), Array)\n#7 \/home\/jonboinc\/public_html\/axeson\/concrete\/src\/Application\/Application.php(392): Concrete\\Core\\Support\\Facade\\Facade::__callStatic('execute', Array)\n#8 \/home\/jonboinc\/public_html\/axeson\/concrete\/src\/Application\/Application.php(392): Concrete\\Core\\Support\\Facade\\Route::execute(Object(Concrete\\Core\\Routing\\Route), Array)\n#9 \/home\/jonboinc\/public_html\/axeson\/concrete\/bootstrap\/start.php(256): Concrete\\Core\\Application\\Application->dispatch(Object(Concrete\\Core\\Http\\Request))\n#10 \/home\/jonboinc\/public_html\/axeson\/concrete\/dispatcher.php(36): require('\/home\/jonboinc\/...')\n#11 \/home\/jonboinc\/public_html\/axeson\/index.php(2): require('\/home\/jonboinc\/...')\n#12 {main}"}
I have tried multiple times, but I can't get passed this
This has nothing to do with it being in a subdomain according to the error message. You need to make sure the database is completely empty i.e. new, before you attempt to install again. So either drop the database and recreate it, or go into it (in phpMyAdmin or whatever tool you can use) and drop everything in it (all data and tables).
As I said in my initial post, I created a new empty database.
Did you add user to database before set up?
That will throw the error.
That will throw the error.
I tried creating a new database and not attaching the user will all permissions, as stated in the concrete5 installation instructions, and I received a different error:
SQLSTATE[HY000] [1044] Access denied for user 'username'@'localhost' to database 'databasename'
We can only go by the info you're giving, namely the error messages. It seems fairly apparent your issue is all about the database. You do need to assign a user with permissions or you will get this access denied error. And you will get the previous error if the database is not empty.
That is what I figured based on the messages. Could there be some conflict with the existing concrete5 installation in the public_html directory? I am setting up the subdomain in a subdirectory and attaching it to a different database. Please let me know what information you need, so that I can provide it.
There shouldn't be any conflict. I set up numerous different installations regularly, including in subdomains, subfolders, different domains in the same hosting account, etc.
Who is your hosting company? For the installation in the public_html folder, did you use a "1-click install" script (like Softaculous) that most hosts include in the cPanel or whatever Admin panel they give, or did you install it "normally"?
Also, you may want to try their tech support to make sure there's no database issue (again, based on the error messages).
Who is your hosting company? For the installation in the public_html folder, did you use a "1-click install" script (like Softaculous) that most hosts include in the cPanel or whatever Admin panel they give, or did you install it "normally"?
Also, you may want to try their tech support to make sure there's no database issue (again, based on the error messages).
My website is hosted by BitronicTech, and I performed a normal install. I will contact their support.