Welcome Guest, Not a member yet? Register   Sign In
Ionize - Free & Open Source creative CMS
#11

[eluser]andrewtheandroid[/eluser]
hi michel-ange

When installing from ubuntu9.10 on my laptop I have encountered two erros when installing. They both occur at step 3 when setting up the account. I have managed to fix the first error but not the second.

Code:
Fatal error: Call to undefined function mcrypt_encrypt() in ../install/class/installer.php on line 638
Reason: You require the mcrpyt library in php
Solution: Install and configure the php mcrypt package. Details can be found at
PHP Manual - Mcrypt setup

for ubuntu
sudo apt-get install php5-mcrypt
and add the line "extension=php_mcrypt.so" to /etc/php5/apache2/php.ini

Maybe a check for the Mcrypt library can be included at the requirements page at the start?

Code:
Fatal error: Call to a member function item() on a non-object in
../application/libraries/MY_Language.php on line 38
// --- refers to the following line of code
$deft_lang = $CI->config->item('language_abbr');
I'm confused with this one since it says that is a non-object when clearly there is an instance of CI loaded.
#12

[eluser]Michel-Ange[/eluser]
@andrewtheandroid : The check of the Mcrypt package will be added to the install check and also to the requirements list.

Concerning the second error :
As the installer loads the CI DB class - but without instantiating a CI object - this error can only comes from one CI translated error message.
I'm confused about this error, does it appears when you try to save your user account ?
#13

[eluser]andrewtheandroid[/eluser]
Quote:I'm confused about this error, does it appears when you try to save your user account ?

Yes it appears exactly after i try to click "save and go to next step" in step 3/4.
#14

[eluser]Michel-Ange[/eluser]
@andrewtheandroid : the problem comes perhaps from writing database config file : PHP has perhaps not privileges to write in /application/config.

To be sure everything is OK after the database setup (step 2), check the file :
/application/config/database.php

Are all the required config items present : hostname, username, database, password ?
#15

[eluser]BlueRabbit[/eluser]
Installing went ok (local using WampServer on windows), just one problem know.

The demo website works, the login doesn't work here. When I go to admin and fill in the user name and password and press login, nothing happens. The page seems to reload but no login, loginpage with username and password (****) stays visible.

Any suggestions?
--------------------------
It is working know!
#16

[eluser]Michel-Ange[/eluser]
@BlueRabbit : Restart an install and create an account with :
- username : 4 chars minimum
- password : 4 chars minimum, 40 chars max.

Will add these checks to the installer.
#17

[eluser]andrewtheandroid[/eluser]
[quote author="Michel-Ange" date="1258315224"]@andrewtheandroid : the problem comes perhaps from writing database config file : PHP has perhaps not privileges to write in /application/config.

To be sure everything is OK after the database setup (step 2), check the file :
/application/config/database.php

Are all the required config items present : hostname, username, database, password ?[/quote]

the settings weren't being written and so I reconfigured the permissions and tried again and it worked! thanks!
#18

[eluser]Michel-Ange[/eluser]
@andrewtheandroid : Got it !
The installer checks the folders permissions but not the permissions on config/database.php when writing settings.
Corrected.

Note : All these "starting up" little corrections are taken in account in the online package.
#19

[eluser]cahva[/eluser]
Hi,

Looking very good when using the demo. Im installing it on my local WAMP setup which has PHP 5.3. Ok that didnt work as the CI system is version 1.7.1. So I thought that I just replace CI 1.7.2 system folder to the system folder in ionize. That gotten me so far that I could complete the install but then it gives me this error when going to site or admin section:

Quote:Fatal error: Call to undefined method CI_Router::fetch_directory() in D:\web\ionize\public_html\system\codeigniter\CodeIgniter.php on line 153

I think I read somewhere that you havent touched the CI base system dir in any way but found the addition in the CodeIgniter.php by Martin Wernstahl (Purpose: Enable Controller cascading) Smile

I added the addition to new CI system but the app is still not yet PHP 5.3 ready as it gives these deprecated notices in various places:
Quote:Assigning the return value of new by reference is deprecated

So I think I have to just suck it up and switch to PHP 5.2.* version Wink Any plans on updating the code so its compatible with PHP 5.3 and works with more recent version of CI?

I didnt dig any deeper as I wanted to test this myself so I dont know how big is the task.

But big thumbs up! I already like the administration part a lot and the code structure seems very clear. Actually I have been doing my own CMS for couple of weeks now and man, what a mess it is compared to this Big Grin
#20

[eluser]m4rw3r[/eluser]
About that PHP 5.3 Compatibility, most of those "Assigning the return value of new by reference" are caused by unchanged core files. The same goes for calls to ereg() calls.

In PHP 5+ there is no need to use =& with new, so I never use =& new unless it should be PHP 4 compliant (which Ionize isn't).




Theme © iAndrew 2016 - Forum software by © MyBB