Results 1 to 5 of 5

Thread: Problem w/ installation "Fatal error: Could not load class"

  1. #1
    New user
    Join Date
    01-11-11.
    Posts
    3

    Default Problem w/ installation "Fatal error: Could not load class"

    Hi guys, I wanted to try out contao, yet I keep getting stuck on this:
    Code:
    Fatal error: Could not load class Config in /home/studio-urody/ftp/contao/system/functions.php on line 76
    
    #0 [internal function]: __error(256, 'Could not load ...', '/home/studio-ur...', 76, Array)
    #1 /home/studio-urody/ftp/contao/system/functions.php(76): trigger_error('Could not load ...', 256)
    #2 /home/studio-urody/ftp/contao/system/initialize.php(74): __autoload('Config')
    #3 /home/studio-urody/ftp/contao/contao/install.php(36): require_once('/home/studio-ur...')
    #4 {main}
    could someone please tell me what is wrong? Do I need to use the main public folder? because I would prefer to have this in a sub folder of it... like:
    http://www.studio-urody.net.pl/contao/c ... nstall.php
    and not like:
    http://www.studio-urody.net.pl/contao/install.php

    Another thing is I used the contao-check.php and it revealed a certain problem with letters case changing from caps to small letters in every file name while uploading to server, which makes them invisible to contao-check.php even while they're still there...

  2. #2
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: Problem w/ installation "Fatal error: Could not load cla

    Thats fine to use a subfolder, but if you do make sure your .htaccess file includes
    RewriteBase /theNameOftheFolder/
    In your case
    RewriteEngine On
    RewriteBase /contao/
    it revealed a certain problem with letters case changing from caps to small letters in every file name while uploading to server, which makes the invisible to contao-check.php even while they're still there...
    No idea what you mean sorry, something to do with mbstring maybe????
    check here http://www.contao.org/configuring-th...l#requirements

  3. #3
    New user
    Join Date
    01-11-11.
    Posts
    3

    Default Re: Problem w/ installation "Fatal error: Could not load cla

    Hi,

    I changed the .htaccess.default file following your instruction, yet it didn't help... about the requirements, well I checked them with contao-check.php (the latest version) and all is green (except for the names of some of the files).
    Are those files required to be named exactly as in original package? i. e. "tinyMCE" has been changed to "tinymce" and so on...

  4. #4
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: Problem w/ installation "Fatal error: Could not load cla

    .htaccess.default
    You must rename it on the server to .htaccess

    Don't know about the case, but I would expect they need to be the same.
    What type of server are you on?

  5. #5
    New user
    Join Date
    01-11-11.
    Posts
    3

    Default Re: Problem w/ installation "Fatal error: Could not load cla

    Quote Originally Posted by ramjet
    Don't know about the case, but I would expect they need to be the same.
    Is there someone who knows?
    Quote Originally Posted by ramjet
    What type of server are you on?
    What exactly do you mean by type?

    In specs I found that:
    * PHP 5.2.13,
    * MySQL 5.0.90,
    * PostgreSQL 7.4.26 and 8.3.8,
    * Apache 2.0.63.

    If there's an actual need to know more about specs even that the contao-check.php shows everything is fine, then I will have to e-mail my hosting provider with questions about it...

    Oh, and btw renaming .htaccess didn't help either...

    [EDIT 13:17 GMT+1, 13-01-2011]
    I got it, the change in casing was the issue, I used TotalCommander which changes the case, and since in Windows it doesn't matter I thought it won't matter on server. But the server is Unix based, and Unix does distinguish cases of letters. I changed the preferences to send files without any changes in names and it works fine.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •