Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation error #3

Open
reckonsrahanuma opened this issue Jun 24, 2012 · 4 comments
Open

Installation error #3

reckonsrahanuma opened this issue Jun 24, 2012 · 4 comments

Comments

@reckonsrahanuma
Copy link

Hello

Note:while installation im getting an error as follows-

ErrorException [ Fatal Error ]: Class 'ORM' not found
MODPATH\notice\classes\notice.php [ 26 ]
21 }
22 return self::$_instance;
23 }
24
25 public function __construct() {
26 $noticesettings = ORM::factory('noticesetting')
27 ->where('institution_id' , ' = ', 1)
28 ->find();
29 $preferences = unserialize($noticesettings->preferences ? $noticesettings->preferences : serialize(array()));
30 $this->_preferences['email'] = array_keys(Arr::get($preferences, 'email', array()));
31 $this->_preferences['sms'] = array_keys(Arr::get($preferences, 'sms', array()));
{PHP internal call} » Kohana_Core::shutdown_handler()
Environment

@naiquevin
Copy link
Contributor

Hi,

Do you have the modules/orm directory empty ? If that's the case probably you downloaded the source as tar/zip or forgot to update the submodules after cloning. In case you downloaded the archive, there won't be any submodule files in the archive. The recommended way to do this is to first clone the repo using git and then run the submodule init and update commands as follows:

git clone https://github.com/kodeplay/kodelearn.git
cd kodelearn
git submodule init
git submodule update

@reckonsrahanuma
Copy link
Author

Thnks vinit
ill try the things n let u know...

On Tue, Jun 26, 2012 at 2:20 PM, Vineet Naik <
reply@reply.github.com

wrote:

Hi,

Do you have the modules/orm directory empty ? If that's the case
probably you downloaded the source as tar/zip or forgot to update the
submodules after cloning. In case you downloaded the archive, there won't
be any submodule files in the archive. The recommended way to do this is to
first clone the repo using git and then run the submodule init and update
commands as follows:

git clone https://github.com/kodeplay/kodelearn.git
cd kodelearn
git submodule init
git submodule update

Reply to this email directly or view it on GitHub:
#3 (comment)

Regards
Rahanuma

QRCode

@reckonsrahanuma
Copy link
Author

HI

vineet again the error after folowing ur method of cloning it is again
showing me bug

On Tue, Jun 26, 2012 at 9:24 PM, Rahanuma Mohseni <
reckons.rahanuma@gmail.com> wrote:

Thnks vinit
ill try the things n let u know...

On Tue, Jun 26, 2012 at 2:20 PM, Vineet Naik <
reply@reply.github.com

wrote:

Hi,

Do you have the modules/orm directory empty ? If that's the case
probably you downloaded the source as tar/zip or forgot to update the
submodules after cloning. In case you downloaded the archive, there won't
be any submodule files in the archive. The recommended way to do this is to
first clone the repo using git and then run the submodule init and update
commands as follows:

git clone https://github.com/kodeplay/kodelearn.git
cd kodelearn
git submodule init
git submodule update

Reply to this email directly or view it on GitHub:
#3 (comment)

Regards
Rahanuma

QRCode

Regards
Rahanuma

QRCode

@naiquevin
Copy link
Contributor

Can you please try downloading the source code from this link - http://kodelearn.com/kodelearn.tar.gz. Extract it at some location where the server can find it and then proceed with the setup instructions from this point - https://github.com/kodeplay/kodelearn#application-config

I packaged and uploaded it just now and it includes all the submodules so it should work. Please try and let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants