Install fails: Fatal error: Class 'Area' not found

Permalink
Fatal error: Class 'Area' not found in /home/test/public_html/concrete/models/global_area.php on line 5

It's been a while since I've worked with web development. I've forgotten far too much. I'm trying to install C5, but I'm unable to get to the install script to run it. I've ftp'd C5 files to my root dir, changed permissions as per thread:http://www.concrete5.org/index.php?cID=320810&editmode=...

Added RewriteEngine On to my .htaccess file to enable mod_rewrite.

I'm not sure what the problem is. Any ideas?

webnut
 
jero replied on at Permalink Reply
jero
You shouldn't need to "get to the install script" - it should just spot that your config/site.php is not present, and that should trigger the install screen to come up when the index.php that you should have in your root folder is run.

If you're trying to install from a working, installed size copy, you will want to remove config/site.php, and I would suggest you remove everything under files except the index.html page. Better yet, get a clean download and start with that.

You don't need mod_rewrite enabled on a default install - that comes later when you enable pretty URLs in the dashboard.
webnut replied on at Permalink Reply
webnut
Alright, I'll give this a shot. ty :-)
webnut replied on at Permalink Reply
webnut
Well I didn't have a site.php file.
My /Files folder was empty, nothing in it.

This is fresh copy, I d/l it yesterday.
FTPd it to the server, and left it until today.

Wherein I set permissions.

???
webnut replied on at Permalink Reply
webnut
I'm using siteground as my webhost, I hope it's not a server issue.
webnut replied on at Permalink Reply
webnut
I'm going to scrap everything and start over.
Going off to bed now.

I will keep this thread updated.

Thx
jero replied on at Permalink Reply
jero
If it's a fresh install, then all you should need to do is go to the URL that corresponds to your C5 install. If that doesn't work then try adding "/index.php" to the end.
webnut replied on at Permalink Reply
webnut
I tried that last night, many times before removing all the files from the server and uploading again.

Today I am getting a diff error:
[code]Fatal error: require() [function.require]: Failed opening required '/home/test/public_html/concrete/startup/timezone.php' (include_path='/home/test/public_html/libraries/3rdparty:/home/test/public_html/concrete/config/../libraries/3rdparty:.:/usr/local/php53/pear') in /home/test/public_html/concrete/dispatcher.php on line 92
[/code

Once again, set permissions as per url in my first post.

Can someone break down the install process, point form, so that I can compare. Thanks.
jero replied on at Permalink Reply
jero
1) Create a MySQL Database
2) Clear everything, including .htaccess from your install folder.
3) Upload a fresh zip file of C5 and unzip it into your install folder. You probably need to move all the files out of concrete5.5.2.1 into the install folder then delete concrete5.5.2.1
4) Point your browser at your webserver
5) Fill in the form and hit submit.
webnut replied on at Permalink Reply
webnut
my install folder is my root dir, public_html, could that be the problem?
jasteele12 replied on at Permalink Reply
jasteele12
Not if you get the install form...
jero replied on at Permalink Reply
jero
No, that's where I'd expect it to be. Can you confirm that concrete/startup/timezone.php does exist? What are it's file permissions and file ownership?
webnut replied on at Permalink Reply
webnut
that was weird, it was missing.
I'll add it right now, see what happens!

Thx!
jasteele12 replied on at Permalink Reply
jasteele12
Sounds like jero's step 3) above didn't happen all the way.
webnut replied on at Permalink Reply
webnut
Well I was trusting fireftp to transfer everything over properly. Might have been a hiccup on the server or some other glitch.. idk :P

It did work though! thanks!
I have the install script running now, entering in the requested info and so forth. I hope to have it up shortly.

I'm excited. 8)
webnut replied on at Permalink Reply
webnut
I got this, how serious is it?

Sample Content
Fatal error: Class 'StartingPointPackage' not found in /home/test/public_html/concrete/single_pages/install.php on line 210
jasteele12 replied on at Permalink Reply
jasteele12
Sounds like you *still* are not getting a complete upload.

If you have shell access I'd follow step 3) above, which is *not* unzip the archive and try and upload all of the files repeatedly, but upload the archive and unzip it on the host.

The archive will tell you if it has been corrupted (i.e. incomplete upload).

Make sure you start with a fresh database.
webnut replied on at Permalink Reply
webnut
I'm trying to use putty for an ssh connection, but sadly I'm failing at that too LOL..sheesh.

I'll keep on it though. At least this is progress! >:D
jero replied on at Permalink Reply
jero
I'd recommend you try using filezilla instead - works for me every time.
webnut replied on at Permalink Reply
webnut
Thanks for the recommendation, I'll try it out too.
webnut replied on at Permalink Reply
webnut
well it's installed and running.
Had to have been my ftp program.
Guess I won't be using it anymore..
disappointing. Filezilla however worked well.

I couldn't SSH, server restrictions
and all that.

Thank you very much guys for sticking it
out with me. This community seems pretty decent. :0)

Now I go and play. X)
jasteele12 replied on at Permalink Reply
jasteele12
Glad you finally got it all uploaded :)