Problems with Installing Contao 2.9.4
Hello. I got following problem while installing Contao.
I unpacked all files from core and copied them on my server.
When I enter URL mydomain/contao/install.php
I got following error:
Quote:
An error occurred while executing this script!
If you are a Contao user, contact the administrator of your website.
Open file system/logs/error.log and search for a corresponding entry.
Open file system/config/localconfig.php and add the following line:
$GLOBALS['TL_CONFIG']['displayErrors'] = true;
Read the Contao FAQs or visit the Contao support page.
When I check error.log there is written following massage:
Quote:
PHP Fatal error: Could not load class Config in /home1/easy2128/domains/mindlab.pl/public_html/games/system/functions.php on line 76
Any1 can tell what's going on? I tried this installation on 2 different servers and with different urls and still got same and dunno what to do.
Thx for help
Re: Problems with Installing Contao 2.9.4
You can use the System Check to test the installation of Contao
See this link
http://www.contao.org/configuring-th...tem-check-tool
Re: Problems with Installing Contao 2.9.4
Ok thx.
I found it server provider had bad configuration which was causing Contao to not even run installation.
Re: Problems with Installing Contao 2.9.4
Hmm - I turned off safe mode. System check says everything is ok and I should be able to run Contao without problem - but I still got same error while executing this script.
Re: Problems with Installing Contao 2.9.4
you can write the singles problem?
Re: Problems with Installing Contao 2.9.4
What u mean singles problem?
Re: Problems with Installing Contao 2.9.4
Quote:
Originally Posted by Shr3ku
What u mean singles problem?
This is still the problem?
Code:
PHP Fatal error: Could not load class Config in /home1/easy2128/domains/mindlab.pl/public_html/games/system/functions.php on line 76
Re: Problems with Installing Contao 2.9.4
Ye - it's still same problem.
I just tried older version (which is already installed in this server but in different location) 2.9.1 but same error.
And got no more idea what can be problem - since system check says everything is fine.
Re: Problems with Installing Contao 2.9.4
Do you get ANY red lines for files or folders in the system check tool?
Maybe an existing .htaccess file that is interfering?
Re: Problems with Installing Contao 2.9.4
Hmm. Strange
I unpacked files straight from download from website.
Then upload directly to server.
Run system-check.
On PHP-Configuration and File Permission I got everything green.
On file list check, I got contao/install.php on red with something like that
http://www.shr3ku.pl/images/contao.jpg
Plus I also got lots of other files missing or so, but most of them are part of plugins. There is also some from modules.
And when I check on server files - those files that are said are missing exist on server.
Why it says that file is corrupt while it hasn't been touched even after unpacking from website core file?
Re: Problems with Installing Contao 2.9.4
I just reupload files and those files I listed above aren't corrupted anymore - and are ok.
But still I got lots of files listed as missing - even tho they are physicaly on server - and all are set to full right to edit/save/read.
Re: Problems with Installing Contao 2.9.4
It could be a problem with your FTP client uploading the text files (like .js, .php etc) in binary mode rather than ascii mode.
What sort of files are listed as missing? Any folders?
Re: Problems with Installing Contao 2.9.4
Usually there are some folders missing.
1 folder is missing and then every file in that folder also.
I'm using Total Commander for uploading files.
Re: Problems with Installing Contao 2.9.4
OMG!!
Ok - I finally solved the problem.
Truth was that problem was with uploading files on server. Total Commander was screwing that up :/
I changed program to WinSCP now and everything works.
Thx for help guys and especially u RamJet :)
Re: Problems with Installing Contao 2.9.4