trying to dev new c5 site in subdir of existing c5 site possible?

Permalink
I've been developing a new version of our C5 website on my local machine, but the time has come to finalise the development on the web host before fully replacing the existing c5 website.

I have uploaded all the files to a root/concrete5 directory, the existing site is in root. I have readhttp://www.concrete5.org/community/forums/customizing_c5/want-to-bu... so I have checked my .htaccess files, cleaned cache, pretty url's are actually off.

Before uploading the new site, I ran a backup, created a new database on the web host with all the correct permissions, imported from the backup. I have edited site.php for the new site to point to the new database and with the correct paths. I have run chmod 755 recursively on the whole new site.

However when I browse tohttp://www.mysite.com/concrete5 I get this error
mysql error: [1146: Table 'mydatabase_new.Config' doesn't exist] in EXECUTE("select * from Config where uID = 0 order by cfKey asc")


Is what I'm trying to do possible, and if so, what am I missing?

Just for clarity, existing c5 site is installed in root/
New c5 site is installed in root/concrete5/

BTW I looked at the new database (mydatabase_new) and there is a table in there called "config".

Have to admit I'm lost on this one.
Richard

stretchrt
 
Erik74 replied on at Permalink Reply
Is your new database called "mydatabase_new"?

Mysql cant find that database with the table config.
stretchrt replied on at Permalink Reply
stretchrt
yes that's the new database. why can't mysql find it?
stretchrt replied on at Permalink Reply
stretchrt
Is the database not being found, or a table within the database?
adrianbienias replied on at Permalink Reply
I have the same problem

databese exist for 100%
I added to index.php php code for database connection and it works well

only concrete 5 after migration don't see the table...

please help
Mnkras replied on at Permalink Best Answer Reply
Mnkras
You are on a case sensitive filesystem, therefore config is not the same as Config, you need to rename the tables to be camelcased or re-install c5
stretchrt replied on at Permalink Reply
stretchrt
ahh, so having created the database initially in a windows environment is the issue ...
stretchrt replied on at Permalink Reply
stretchrt