Subdomain concrete5 demo
Permalink
Hi,
Please help me to fix this issue.
My client given me all "root" credentials to setup Subdomain concrete5 demo,
define('DEMO_CREATOR_DB_USER','root');
define('DEMO_CREATOR_DB_PASS','given-password');
define('DEMO_CREATOR_DB_SERVER','localhost');
I configured all files as explained in PDF,
But when i try to create new Demo.
I am getting an error saying "Unable to connect to database." "A database error occurred while processing this request."
New demo user is getting created and files are copying from shared location, everything is working fine, but only DB creation is the problem.
Please help me to fix this.
Thanks
Saha
Please help me to fix this issue.
My client given me all "root" credentials to setup Subdomain concrete5 demo,
define('DEMO_CREATOR_DB_USER','root');
define('DEMO_CREATOR_DB_PASS','given-password');
define('DEMO_CREATOR_DB_SERVER','localhost');
I configured all files as explained in PDF,
But when i try to create new Demo.
I am getting an error saying "Unable to connect to database." "A database error occurred while processing this request."
New demo user is getting created and files are copying from shared location, everything is working fine, but only DB creation is the problem.
Please help me to fix this.
Thanks
Saha
Try replacing the word localhost with 127.0.0.1 and see if that works.
Thank you jmonroe, tried your suggestion, but that does not work.
If you're reading this:
http://www.concrete5.org/documentation/how-tos/developers/setup-a-s...
There it states that you should also define DEMO_CREATOR_DB_DATABASE (an empty database in the db server):
http://www.concrete5.org/documentation/how-tos/developers/setup-a-s...
There it states that you should also define DEMO_CREATOR_DB_DATABASE (an empty database in the db server):
The DEMO_CREATOR_DB_DATABASE is not used - but our database abstraction library requires a valid database when instantiating the database object. Typically, you can create an empty database (e.g. “tempdb”) and populate that here. No tables or information will be written to it - it is simply connected to initially.
Hi Mainio,
Even though i have not pasted complete code in forum, i did created a temp DB like what you explained.
Do i have to pass temp DB username and password as well?
Now i got new problem, everything working fine, Shared files are copying to new demo folder, new DB is getting created, success message about New demo site creation is delivering to demo requester, everything is working fine,
But DB is not installing, when i checked, DB has been created but it is empty, no tables were created.
What could be the problem.
Thanks
KIran
Even though i have not pasted complete code in forum, i did created a temp DB like what you explained.
Do i have to pass temp DB username and password as well?
Now i got new problem, everything working fine, Shared files are copying to new demo folder, new DB is getting created, success message about New demo site creation is delivering to demo requester, everything is working fine,
But DB is not installing, when i checked, DB has been created but it is empty, no tables were created.
What could be the problem.
Thanks
KIran
Which version of concrete5 are you trying to install using this code?
I think that this code base is for version 5.4.0.5 (but I'd guess it works up until 5.4.2.2 which I believe has the same installation structure).
Antti
I think that this code base is for version 5.4.0.5 (but I'd guess it works up until 5.4.2.2 which I believe has the same installation structure).
Antti
Hi Mainio,
Yeha that could be the problem.
I am trying this on latest 5.5.2.
Will try and let you know.
Thanks
Yeha that could be the problem.
I am trying this on latest 5.5.2.
Will try and let you know.
Thanks
did you ever find a way to install on 5.5 or above?