#1 2010-08-26 22:46:17

prijic87
Member
Registered: 2010-08-26
Posts: 8

Ionize not working on Windows

Hi guys. I am new here, and I am glad that i joined such a great community. I recently installed ionize, and i must say that i am impressed how fast CI is. When i installed ionize, it is not working, since i got this message:


An Error Was Encountered

TagManager : Please use the attribute "path" when using the tag partial

Admin area is working ok. I guess that this is an Ionize problem, since the message is from CodeIgniter, not from php engine.

P.S I didn't read the doc, since the app is not working as it should. I am sorry if there is a solution to my problem.

Configuration:
Windows XP SP3
WAMP  2.0
PHP 5.3.0
Apache 2.2.11
MySQL 5.1.36

Offline

#2 2010-08-26 22:54:05

Michel-Ange
Ionize Core Team
From: Paris, France
Registered: 2010-03-22
Posts: 754
Website

Re: Ionize not working on Windows

Hello and welcome to Ionize !

Did you try to use the attribute "path" when using the tag partial ?

More info perhaps :
- Which theme do you use ?
- Do you install the default data or not ?
- Is your .htaccess empty or not ?

Such info can help us to help you...


Inspiration & Innovation : Websites by Partikule, Agence Web Paris

Offline

#3 2010-08-26 22:57:03

prijic87
Member
Registered: 2010-08-26
Posts: 8

Re: Ionize not working on Windows

Thank you for the ultra-fast reply Michel. Since i am new, i just installed ionize, and when i went to the website (using the link provided after install this is what i got). I didn't published any articles yet, but i checked to populate database with some test data.

Offline

#4 2010-08-27 09:03:44

Guardian
Ion Tester
From: Mragowo, Poland
Registered: 2010-08-02
Posts: 133
Website

Re: Ionize not working on Windows

I could be wrong but this seems like one of the theme files is missing or got corrupted during the upload.
The error message seems to indicated one of the theme files is calling a 'partial' view file but the path to that file is missing.
Re-upload the themes directory and see if the problem is still there. If it is, then answering Michel's questions might help to narrow it down. e.i. which theme have you set as the default theme, is the .htaccess file visible on the server and does it have anything in it.
.htaccess files are treated as 'system' files and some FTP programs have default settings to 'ignore' them and treat them as invisible.

Offline

#5 2010-08-27 11:52:45

prijic87
Member
Registered: 2010-08-26
Posts: 8

Re: Ionize not working on Windows

I am on windows machine, using a local server, so i don't use any ftp program to upload files, just using windows to copy files to www directory. I tried downloading again source, and copying the themes directory, but the problem persists. I also checked .htaccess file, and this is the content of it:

RewriteEngine On
# RewriteBase /

RewriteCond $1 !^(index\.php|themes|install|files|modules|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]

Later on, i will try a completely new installation, and will tell you the results.

Offline

#6 2010-08-27 12:50:16

toopixel
Ionize Core Team
From: Geneva
Registered: 2010-04-20
Posts: 272
Website

Re: Ionize not working on Windows

Hi,

Can you activate logs in /application/config/config.php, then run your site once and send us the content of the file which was created in /system/logs/


Too Pixel is a web agency located in Geneva, Switzerland

Offline

#7 2010-08-27 13:46:40

prijic87
Member
Registered: 2010-08-26
Posts: 8

Re: Ionize not working on Windows

Hi toopixel, i enabled logs, set to 4 (all messages) and run the site once. This is what i get :

<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>

DEBUG - 2010-08-27 11:59:38 --> Config Class Initialized
DEBUG - 2010-08-27 11:59:38 --> Hooks Class Initialized
DEBUG - 2010-08-27 11:59:38 --> URI Class Initialized
DEBUG - 2010-08-27 11:59:38 --> Config file loaded: config/language.php
DEBUG - 2010-08-27 11:59:38 --> Config file loaded: config/ionize.php
DEBUG - 2010-08-27 11:59:38 --> Router: The key "page" was not a valid language key.
DEBUG - 2010-08-27 11:59:38 --> Input Class Initialized
DEBUG - 2010-08-27 11:59:38 --> XSS Filtering completed
DEBUG - 2010-08-27 11:59:38 --> XSS Filtering completed
DEBUG - 2010-08-27 11:59:38 --> Global POST and COOKIE data sanitized
DEBUG - 2010-08-27 11:59:38 --> Router: Applying the language key "en".
DEBUG - 2010-08-27 11:59:38 --> Router Class Initialized
DEBUG - 2010-08-27 11:59:38 --> Output Class Initialized
DEBUG - 2010-08-27 11:59:38 --> Language Class Initialized
DEBUG - 2010-08-27 11:59:38 --> Loader Class Initialized
DEBUG - 2010-08-27 11:59:38 --> Helper loaded: url_helper
DEBUG - 2010-08-27 11:59:38 --> Helper loaded: form_helper
DEBUG - 2010-08-27 11:59:38 --> Helper loaded: dump_variable_helper
DEBUG - 2010-08-27 11:59:38 --> Helper loaded: language_helper
DEBUG - 2010-08-27 11:59:38 --> Helper loaded: date_helper
DEBUG - 2010-08-27 11:59:38 --> Controller Class Initialized
DEBUG - 2010-08-27 11:59:38 --> Database Driver Class Initialized
DEBUG - 2010-08-27 11:59:38 --> Model Class Initialized
DEBUG - 2010-08-27 11:59:38 --> Session Class Initialized
DEBUG - 2010-08-27 11:59:38 --> Helper loaded: string_helper
DEBUG - 2010-08-27 11:59:38 --> Encrypt Class Initialized
DEBUG - 2010-08-27 11:59:38 --> Session routines successfully run
DEBUG - 2010-08-27 11:59:38 --> Helper loaded: cookie_helper
DEBUG - 2010-08-27 11:59:38 --> Database Driver Class Initialized
DEBUG - 2010-08-27 11:59:38 --> Model Class Initialized
DEBUG - 2010-08-27 11:59:38 --> Database Driver Class Initialized
DEBUG - 2010-08-27 11:59:38 --> Helper loaded: file_helper
DEBUG - 2010-08-27 11:59:38 --> Helper loaded: trace_helper
DEBUG - 2010-08-27 11:59:38 --> Model Class Initialized
DEBUG - 2010-08-27 11:59:38 --> Database Driver Class Initialized
DEBUG - 2010-08-27 11:59:38 --> Model Class Initialized
DEBUG - 2010-08-27 11:59:38 --> Model Class Initialized
DEBUG - 2010-08-27 11:59:38 --> Helper loaded: text_helper

Offline

#8 2010-08-28 15:13:35

prijic87
Member
Registered: 2010-08-26
Posts: 8

Re: Ionize not working on Windows

Just want to add , i reinstalled the app, and the problem persist. I even created a new db, but still the same. Can you see where the problem is? Thanks in advance!

Offline

#9 2010-08-28 18:46:04

toopixel
Ionize Core Team
From: Geneva
Registered: 2010-04-20
Posts: 272
Website

Re: Ionize not working on Windows

That's the problem, we can't spot what the problem can be. Maybe is because you use php 5.3 ?


Too Pixel is a web agency located in Geneva, Switzerland

Offline

#10 2010-08-28 19:11:00

Michel-Ange
Ionize Core Team
From: Paris, France
Registered: 2010-03-22
Posts: 754
Website

Re: Ionize not working on Windows

Good way... try perhaps with PHP 5.2.
If the problem comes from the PHP version, we will have a look.


Inspiration & Innovation : Websites by Partikule, Agence Web Paris

Offline

#11 2010-08-28 20:15:15

porga
Ion Tester
From: Croatia
Registered: 2010-07-16
Posts: 164

Re: Ionize not working on Windows

Try with php 5.3.1 for wamp (add) . Also, disable antivirus during install just in case. Check mod rewrite is on

Offline

#12 2010-08-28 20:30:11

Guardian
Ion Tester
From: Mragowo, Poland
Registered: 2010-08-02
Posts: 133
Website

Re: Ionize not working on Windows

I'm using PHP 5.3.2 here with no problems.
It doesn't appear to be an Ionize problem though, it must be *something* that is server specific.

Offline

#13 2010-08-28 20:42:57

prijic87
Member
Registered: 2010-08-26
Posts: 8

Re: Ionize not working on Windows

Hi , i switched to PHP 5.2.11 and it is partially working, since i get the front page, but can't access admin area, since there is no mcrypt library. I will try to post the results when upgrade to 5.3.2. Thank you for the support.

Offline

#14 2010-08-28 20:56:26

toopixel
Ionize Core Team
From: Geneva
Registered: 2010-04-20
Posts: 272
Website

Re: Ionize not working on Windows

Under Wamp to activate mcrypt it's just one click.


Too Pixel is a web agency located in Geneva, Switzerland

Offline

#15 2010-08-28 21:37:40

prijic87
Member
Registered: 2010-08-26
Posts: 8

Re: Ionize not working on Windows

Yes i know, i activated Mcrypt, and i was able to access the admin area. Also i should inform you, that I didn't installed sample data into database at the second installation of the ionize, and i got this error when i visit the first page:

A PHP Error was encountered

Severity: Notice

Message: Undefined index: name

Filename: Tagmanager/Page.php

Line Number: 1234

Probably this error was causing the crash of application under PHP 5.3.x . I am not a expert at this, so this is just a hint...

Offline

#16 2010-08-29 07:43:35

Michel-Ange
Ionize Core Team
From: Paris, France
Registered: 2010-03-22
Posts: 754
Website

Re: Ionize not working on Windows

Create one page and one article after a blank install...

We will correct this to display nothing or a 404 page when the website is empty.


Inspiration & Innovation : Websites by Partikule, Agence Web Paris

Offline

#17 2010-08-29 12:34:16

prijic87
Member
Registered: 2010-08-26
Posts: 8

Re: Ionize not working on Windows

I have created, and seems that everything is working ok. Thank you for the great support! smile

Sincerely prijic87

Offline

#18 2010-08-29 23:14:36

Michel-Ange
Ionize Core Team
From: Paris, France
Registered: 2010-03-22
Posts: 754
Website

Re: Ionize not working on Windows

We are happy if you're happy ! smile

We noticed we have to test more deeply Ionize on PHP 5.3...


Inspiration & Innovation : Websites by Partikule, Agence Web Paris

Offline

#19 2010-10-18 03:58:12

codepyro
Member
Registered: 2010-10-18
Posts: 1

Re: Ionize not working on Windows

My windows issue involves creating/editing any pages in the nav. It will show a new page that i add but it will not save it to the db, every time i refresh the admin the new page disappears.  Also new/edit pages throws the error {"message_type":"error","message":"#ionize_message_article_not_exist","update":[],"callback":null}

Also i cant get the front side of the website to load it just throws a redirect timeout.

winxp, apache 2.2.14, php 5.2.14

oh also I can view and edit and change articles from the example data, just cant create new ones

error log says

ERROR - 2010-10-17 20:04:36 --> Severity: Notice  --> Trying to get property of non-object        \application\models\base_model.php 1047

Last edited by codepyro (2010-10-18 04:06:08)

Offline

#20 2010-10-18 08:06:26

toopixel
Ionize Core Team
From: Geneva
Registered: 2010-04-20
Posts: 272
Website

Re: Ionize not working on Windows

Codepyro, on Twitter you said you finally got it working. Is the issue above solved then?


Too Pixel is a web agency located in Geneva, Switzerland

Offline

#21 2012-04-11 14:16:03

jurlan
Member
From: Belgium
Registered: 2012-04-11
Posts: 22
Website

Re: Ionize not working on Windows

I was wondering if there is a fix for this for php 5.3?
Because I'm getting the same problem:
My log file also says:
Router: The key "page" was not a valid language key.

Thanks for reply!

Offline

#22 2012-04-13 10:30:14

Kink
Ion Tester
From: France
Registered: 2010-06-04
Posts: 308

Re: Ionize not working on Windows

I'm also with
- Wamp 2.0
- Apache 2.2.11
- Php 5.30
- MySql 2.1.36

But under Windows Seven 64...
And all works fine.

List all of your activated apache modules and Php extensions... and compare with mine, perhaps help you ?!?

Offline

What's Ionize ?

Ionize is an Open Source Content Management System created by webdesigners for webdesigners.

Created and maintained by Partikule and Toopixel , Ionize wants to be the easiest and most powerful CMS.

Can I help ?

Because talent is nothing without involvement, we are looking for motivated coders and webdesigners to join the project team.

Resources

Website : www.ionizecms.com
Documentation : doc.ionizecms.com

Development : Ionize on GitHub
Translations : Translations on GitHub