Blaze 0.91 Release
Here’s a new version of Blaze for you guys to get digging into.
The main upgrades with this version are the basic blog administration section.
There will be a 0.92 release in the next week which completes the Blog administration section, so there’s not such a big fuss over this release.
But the important thing is: The project is making progress!
I’m currently in the process of documenting Blaze in-time for the 1.0 release too, so for now just go with the flow and hold on ’till I can get this documentation finished.
There should also be a roadmap, task list, feature request and bug reporting next week too!
Download the latest version here
Elliot
If you enjoyed this post, make sure you subscribe to the RSS feed!
Thanks Elliot
Thanks! It looks excellent!
Keep up the good work!
Fantastic work. But am I the only one missing the CSS files and images??
None of the static resources are in the right spot. There are calls to static/admin/default/style/admin.css , but the resources are not there. I moved them there myself, but I shouldn’t have to do this, or should be told I have to in the install.txt.
Also, the links in the admin section are jacked up. A link to admin/blog/ fails because it should be blog/admin.
anon,
The links are correct, the .htaccess files rewrites them to the correct location.
Ensure that your RewriteBase is correct, and that your apache is using the .htaccess file (AllowOverride)
Elliot
Is the .htaccess created automatically? I’m running Apache 2.2 on WinXP. Is there somewhere where I can get a copy so I can just stick it in there?
Thanks.
I agree with anon - perhaps we have got the wrong htaccess, but I’m using one identical to that posted in your previous post. Has it changed since?
Verbatim:
RewriteEngine On
RewriteBase /blaze/
# Add Trailing Slash (Force it!) - It looks cool
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*)$ http://cms.dev/1/ [R=301,L]
# Admin ‘dashboard’
RewriteRule ^admin$ index.php/admin [L]
RewriteRule ^admin/$ index.php/admin/ [L]
# Admin functions within Admin module and controller
RewriteRule ^admin/(navigation|users|settings|login|logout)$ index.php/admin/$1 [L]
RewriteRule ^admin/(navigation|users|settings|login|logout)/(.*)$ index.php/admin/$1/$2 [L]
RewriteRule ^admin/nav_(.*)$ index.php/admin/nav_$1 [L]
# All others, push to the module in question
RewriteRule ^admin/([a-zA-Z]*)$ $1/admin [L]
RewriteRule ^admin/([a-zA-Z]*)/(.*)$ $1/admin/$2 [L]
# Any request were the file or directory doesn’t exist…
# Push to CI
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
I do wonder what the http://cms.dev is all about - do we need to change that?
Hi guys,
here is correct version of .htaccess:
RewriteEngine On
RewriteBase /
# Must do this before a trailing slash gets put on it
RewriteRule ^static/frontend/([a-zA-Z_-]*)/(.*)$ application/views/themes/$1/static/$2 [L]
RewriteRule ^static/admin/([a-zA-Z_-]*)/(.*)$ application/views/themes_admin/$1/static/$2 [L]
# Add Trailing Slash (Force it!) - It looks cool
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*)$ http://%{HTTP_HOST}/$1/ [R=301,L]
# Admin ‘dashboard’
RewriteRule ^admin$ index.php/admin [L]
RewriteRule ^admin/$ index.php/admin/ [L]
# Admin functions within Admin module and controller
RewriteRule ^admin/(navigation|users|settings|login|logout)$ index.php/admin/$1 [L]
RewriteRule ^admin/(navigation|users|settings|login|logout)/(.*)$ index.php/admin/$1/$2 [L]
RewriteRule ^admin/nav_(.*)$ index.php/admin/nav_$1 [L]
# All others, push to the module in question
RewriteRule ^admin/([a-zA-Z]*)$ $1/admin [L]
RewriteRule ^admin/([a-zA-Z]*)/(.*)$ $1/admin/$2 [L]
# Any request were the file or directory doesn’t exist…
# Push to CI
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
Or if you like you can get it from here: http://rapidshare.com/files/102823265/blaze_htaccess.html
Thankyou!
FYI, my download did not ship with an .htaccess file so I had to create one myself. I’m assuming this lead to the routing error I outlined above. There is still an issue with the static resources though.
Retract the end of my last comment. I overlooked the following rules:
# Must do this before a trailing slash gets put on it
RewriteRule ^static/frontend/([a-zA-Z_-]*)/(.*)$ application/views/themes/$1/static/$2 [L]
RewriteRule ^static/admin/([a-zA-Z_-]*)/(.*)$ application/views/themes_admin/$1/static/$2 [L]
This looks great. I’m gonna have proper poke around over the weekend. A modular CI CMS is something i’ve been putting off since forever… I hate writing CMSs. This could be the answer to my prayers.
I’ve download the latest version (0.91), execute the schema.sql, and modified the config/database.php
Tried to browse with http://localhost/blaze , I can see everything except images and the layout (css not working). Click the install or anything that is clickable -> Object not found (error 404).
Is blaze 0.91 shipped with empty install directory?
I copy the blaze.htaccess from Martin’s link and copy it to my localhost/blaze directory (dont have to say rename it to .htaccess). It came out the same.
I’m using the lastest XAMMP for windows, but haven’t tried this on my suse machine yet. My bamboo invoice is working perfectly, so i guess there is nothing’s wrong with my xampp.
Did I missed something here?
Thanks, but please make a working archive, I couldn’t run it localy, there is not .htaccess in archive.
I try to run it with .htaccess that Martin shared on rapidshare, I have xampp on windows and I enabled .htaccess . But it didn’t work, Can Someone share me a working copy?
Oh, It works, Great, I didn’t suppose such a beautiful view. Thanks Alot!
To get CSS etc working properly I had to comment out the following line in the base path settings of config.php:
#$config[’base_url’] .= str_replace(basename($_SERVER[’SCRIPT_NAME’]),”",$_SERVER[’SCRIPT_NAME’]);
It’s the third line of the three that automatically configure the base url.
I’m running php5 on litespeed.
hi Underware
use this file
http://rapidshare.com/files/102823265/blaze_htaccess.html
but if u have problem change this
row 4
RewriteBase /
with
RewriteBase /blaze/
regards
Great work, I ‘d installed lastest release to my localhost, with PHP5 and MYSQL 5 working without any hassle.
But multipaging navigation with category structure needs for Blaze
I mean ;
Section -> Category -> Page rather than only Page
I wanted to make another theme for blaze and I think there is a bug in code. when you change the theme in setting , and delete default theme, it gives error.
Ghassem do not delete “default” theme , just create new , and set this theme from admin section
Regards
Hey Elliot, if you want I can translate Blaze to Spanish, that way we’ll make the CMS available for more people (Blaze para todos).
Just answer here: wwebolivia@hotmail.com
Hi.
Just downloaded the 0.91 verison and uploaded it on my server. However, I’m getting a error message:
Parse error: parse error, unexpected ‘?’ in /home/digusnot/public_html/miraigames.com/application/libraries/MY_Loader.php on line 1
Could someone please tell me how to fix this?
Thanks.
Best regards
Sverre Palmstrøm
http://www.miraigames.com
Sverre ;
Try re-install. Because there is no problem on default installation.
Did you read install instructions ?
To install Blaze:
1. Create a database and execute schema.sql
2. Edit database settings in application/config/database.php
3. Check your RewriteBase is correct in .htaccess
4. Set the following files to writable (chmod -R 777):
application/logs
application/cache
5. Open your web browser and point it to your Blaze install.
6. Your ‘admin’ super-user will be created on first login.
Go to blaze.domain.com/admin/ and login for the first time with
whatever username and password you’d like to have as the admin.
Sverre,
I received the same error.
I had to modify the MY_Loader.php. for some reason the one I downloaded had all the line breaks removed.
I also had a terrible time downloading. I had to finally log on to my work machine before I got a copy that worked.
I had CodeIgniter already installed in another directory, deleted blaze CI, then uploaded blaze again. Now things seems to be working.
Hmm, and I still don’t know how to fix the CSS/images path problem…..O.O
Hi Eliot, when you will publish Version 1.0 of Blaze, I’m waiting for that
Sverre, double check .htaccess settings.
hai elliot..y ur download file corrupt…
waiting for ur 1.o released…
did i miss something. where must i put the blaze_htaccess file..
i’ve got plain html..and all the link was broken.. how can i solve this..
please..i need ur help elliot..
Hi to everyone! I have to say, that Blaze seems like realy lightweight CMS.
But when I “installed” Blaze, than I still have problem similar to Sverre. Page misses CSSs and other static things. My site for Blaze is: http://blaze.soulwasted.net/ and every link in <head> section is like: http://blaze.soulwasted.net/static/frontend/default/style/stylesheet.css.
I’m using this htaccess: http://rapidshare.com/files/102823265/blaze_htaccess.html
Anybody knows how to solve that? Thanks in advance ;).
Has anyone had blaze working on php4 & mysql 4 ?
Blue and default themes Images, JavaScript and stylesheet:
http://rapidshare.com/files/123723862/Blaze.0.91.static.zip.html
Hi all,
I still have the problem with CSS/Images/JS
Here is my .htaccess:
RewriteEngine On
RewriteBase /
RewriteRule ^static/frontend/([a-zA-Z_-]*)/(.*)$ application/views/themes/$1/static/$2 [L]
RewriteRule ^static/admin/([a-zA-Z_-]*)/(.*)$ application/views/themes_admin/$1/static/$2 [L]
# Add Trailing Slash (Force it!) - It looks cool
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*)$ http://%{HTTP_HOST}/$1/ [R=301,L]
# Admin ‘dashboard’
RewriteRule ^admin$ index.php/admin [L]
RewriteRule ^admin/$ index.php/admin/ [L]
# Admin functions within Admin module and controller
RewriteRule ^admin/(navigation|users|settings|login|logout)$ index.php/admin/$1 [L]
RewriteRule ^admin/(navigation|users|settings|login|logout)/(.*)$ index.php/admin/$1/$2 [L]
RewriteRule ^admin/nav_(.*)$ index.php/admin/nav_$1 [L]
# All others, push to the module in question
RewriteRule ^admin/([a-zA-Z]*)$ $1/admin [L]
RewriteRule ^admin/([a-zA-Z]*)/(.*)$ $1/admin/$2 [L]
# Any request were the file or directory doesn’t exist…
# Push to CI
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
it located in the same directory(site root directory) like with “system” folder and index.php file.
Please, advice
for people who still have problem,
define base_url manually, it will solve the problems
edit /application/config/config.php
comment all $config[’base_url’] lines and define it manually like bellow:
$config[’base_url’] = ‘http://yourdomain.com/’;
by the way you also need the provided .htaccess file, download it from the rapidshare link provided in comments
Thanks for this great application
SOLUTION FOUND FOR NOT SHOWING CORRECT PATHS (At least for me):
- - - - - - - - - - - - - -
It’s silly once you notice why wasn’t working:
1.- Use .htacces from the post ‘Martin on March 27th, 2008′
2.- CHANGE the ‘RewriteBase /’ if it is not in the root (Ex: ‘RewriteBase /blazetry/’)
3.- Open Apache httpd.conf and BE SURE ‘AllowOverride All’ IS SET IN THE 2 LOCATIONS.
4.- In the same httpd.conf (AND I’M SURE THIS IS THE KEY), QUIT the # on the line ‘LoadModule rewrite_module modules/mod_rewrite.so’ (Stupid isn’t it?)
5.- RESTART APACHE (if you don’t know, restart S.O.)
6.- ALL WORKING!!!
^_^
I can not find application/controllers folder in zip file? Where can I download it?
Can anyone explain why all the images I add via the Blaze CMS replace my absolute URLs with relative ones apon save?
Is this behavior intentional?
hello,
why
Not Found
The requested URL /blaze/admin/login/ was not found on this server.
RewriteEngine on
RewriteCond $1 !^(index\.php|application|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
thanks