Installation error after step 1

Questions related to installing Zuluru 1: Locked now, all new installations should use Zuluru 3
Locked
hjirms
Posts: 9
Joined: Fri Jul 18, 2014 3:11 pm

Installation error after step 1

Post by hjirms »

Hello,

I am trying to install zuluru . While I have been installing zuluru, I faced an error after step one (giving the domain). Note: I am using cakephp 1.3.6 and php 5.3.28 and have a good understanding of php but I am totally new to cakephp. I am pretty sure that I have put all the files in place and permissions are also well defined. Here is the error that I get after step 1 of the installation

Warning (2): include_once(/Users/hussainalsalem/Documents/workspace/dev/cake/zuluru/config/database.php) [function.include-once]: failed to open stream: No such file or directory [CORE/cake/libs/model/connection_manager.php, line 23]
Warning (2): include_once() [function.include]: Failed opening '/Users/hussainalsalem/Documents/workspace/dev/cake/zuluru/config/database.php' for inclusion (include_path='/Users/hussainalsalem/Documents/workspace/dev/cake:/Users/hussainalsalem/Documents/workspace/dev/cake/zuluru/:.:') [CORE/cake/libs/model/connection_manager.php, line 23]
( ! ) Fatal error: Class name must be a valid object or a string in /Users/hussainalsalem/Documents/workspace/dev/cake/cake/libs/class_registry.php on line 141
Call Stack
# Time Memory Function Location
1 0.0003 672248 {main}( ) ../index.php:0
2 0.0339 6533720 Dispatcher->dispatch( ) ../index.php:83
3 0.0387 7853504 Dispatcher->_invoke( ) ../dispatcher.php:171
4 0.0402 8282840 Object->cakeError( ) ../dispatcher.php:202
5 0.0411 8535168 ErrorHandler->__construct( ) ../object.php:201
6 0.0415 8645280 CakeErrorController->__construct( ) ../error.php:90
7 0.0418 8652808 Controller->constructClasses( ) ../error.php:52
8 0.0451 9607064 Controller->loadModel( ) ../controller.php:506
9 0.0451 9608632 ClassRegistry->init( ) ../controller.php:641
10 0.0589 11929152 Person->__construct( ) ../class_registry.php:141
11 0.0589 11930592 ClassRegistry->init( ) ../person.php:327


Please help
Thanks in advanced
GregS
Site Admin
Posts: 240
Joined: Thu Jan 06, 2011 4:58 pm

Re: Installation error after step 1

Post by GregS »

Strange, haven't run into that one before. Can you check whether /Users/hussainalsalem/Documents/workspace/dev/cake/zuluru/config/install.php has been created with your correct domain name in it? Also, what is the URL that's giving you the problem (don't need to include the domain name if you don't want to)?
hjirms
Posts: 9
Joined: Fri Jul 18, 2014 3:11 pm

Re: Installation error after step 1

Post by hjirms »

Thank you for the fast reply.
There is no install.php created in zuluru/config/
But there is the install.php.default file
I am using a local URL that I added in the virtual hosts file hussainalsalem2.local
The URL that is producing the problem is:
http://hussainalsalem2.local/index.php/ ... l/settings
GregS
Site Admin
Posts: 240
Joined: Thu Jan 06, 2011 4:58 pm

Re: Installation error after step 1

Post by GregS »

Well, that URL is very wrong! It should have only two "install"s, not four. The index.php part shouldn't be required either. Do you have the .htaccess file in place? Is this Apache or some other server? Is URL rewriting enabled in the server? You should be able to start from http://hussainalsalem2.local/install/install, and from there it should proceed to http://hussainalsalem2.local/install/install/settings and so on.
hjirms
Posts: 9
Joined: Fri Jul 18, 2014 3:11 pm

Re: Installation error after step 1

Post by hjirms »

Thank you so much. I really appreciate it
I was as you said using the wrong URL. It should have been without index.php
Everything worked fine and now I am in step 3 where I need to edit the local settings.
hjirms
Posts: 9
Joined: Fri Jul 18, 2014 3:11 pm

Re: Installation error after step 3

Post by hjirms »

After finishing step 3 and defining the countries, provinces and regions I was faced by the following error.
Fatal error: Maximum function nesting level of '100' reached, aborting! in /Users/hussainalsalem/Documents/workspace/dev/cake/cake/libs/folder.php on line 742
hjirms
Posts: 9
Joined: Fri Jul 18, 2014 3:11 pm

Re: Installation error after step 1

Post by hjirms »

I deactivated the xdebug and now the website works perfectly
Thanks again
GregS
Site Admin
Posts: 240
Joined: Thu Jan 06, 2011 4:58 pm

Re: Installation error after step 1

Post by GregS »

Excellent! You can also increase the nesting limit in the xdebug config if you want to keep it on.
Locked