App doesn't run on server
Permalink 1 user found helpful
Hi,
I've created app on localhost (version 8.5.2) using wamp (Apache 2.4.41, PHP 7.4.0, MySQL 8.0.18) and everything's fine there. Then I created MySQL 8.0 instance on hosting server (websupport.sk) and migrated all data there and then I changed database.php in application\config as following
and again, app is working on localhost using hosting server database.
But when I copied all concrete5 code to hosting folder then app doesn't start. I see only the blank page (see attachment). I can't find out what the problem is...It seems to me like a problem on provider side if page run fine locally, right? I'm also using Apache 2.4 and PHP 7.4 on server so maybe some settings..Could you please help ?
I've created app on localhost (version 8.5.2) using wamp (Apache 2.4.41, PHP 7.4.0, MySQL 8.0.18) and everything's fine there. Then I created MySQL 8.0 instance on hosting server (websupport.sk) and migrated all data there and then I changed database.php in application\config as following
return [ 'default-connection' => 'concrete', 'connections' => [ 'concrete' => [ 'driver' => 'c5_pdo_mysql', 'server' => 'mysql80.websupport.sk', 'port' => '3314', 'database' => 'dbname', 'username' => 'dbusername>', 'password' => 'dbpassword', 'character_set' => 'utf8mb4', 'collation' => 'utf8mb4_unicode_ci', ], ], ];
and again, app is working on localhost using hosting server database.
But when I copied all concrete5 code to hosting folder then app doesn't start. I see only the blank page (see attachment). I can't find out what the problem is...It seems to me like a problem on provider side if page run fine locally, right? I'm also using Apache 2.4 and PHP 7.4 on server so maybe some settings..Could you please help ?
That error message seems to be indicating that the system is trying to find something on your local wamp server, so it may not be the host's fault.
Yes, you're right.. I just found out that exception is showing on localhost as well but it seems localhost ignore it and that's why I didn't notice it.. I'm going to try to solve it on localhost first.. Thank you.