CORE VERSION 1.1 STABLE RELEASED

Latest news and announcements

CORE VERSION 1.1 STABLE RELEASED

Postby smiffy6969 » Wed Jun 16, 2010 8:35 pm

Hi,

Please all go download the upgrade, it is for version 1.1 of core, containing security and bug fixes, plus better 404 support (that actually works correctly).

As always please backup your site before upgrading, and let me know if you have any issues. I have tested this extensively and it has passed so far, but then I don't get access to every server.

This includes security fixes, for XSS attacks that are low risk, but fixed none the less.

The main thing you will notice is the 404 support, as standard, it will work fine, if you visit a page that does not exist, you will now get a defaukt 404 error, plus correct 404 headers to let the recipient know (spiders like googlebot). In addition to this, should you feel you want to personalise it a little more, simple create a page called 404-error-page and do not assign it to any category (doesn't matter if you do though). Put on this page whatever you like, the system will now sense the page exists and will use this instead of the default 404 response.

SHould you wish to take this one step further, and ensure you get the same error output when putting in an incorrect folder in the url,

ie www.yoursite.com/ghgjt

then simply add this to your .htaccess file

Code: Select all
ErrorDocument 404 http://www.yoursite.com/anysubdir/404-error-page.htm


ensure you alter the url to match where your 404 page resides, this will then also divert any bad dir's to the same error page whilst kicking back a 404 error to the spiders.

So to sum up, if you do nothing, the 404 will be active, outputting a 404 message and correct headers, if you want to add a custom page, create a page called 404-error-page if you want to catch dir's too add the htaccess code.

Should you want to use the extra sockets to manipulate any of this functionality I have added 3, and they are documented in the release notes of the core download.

thanks

smiffy
on a long enough time line, everyones survival rate drops to zero... [ed norton - fight club]
http://www.razorcms.co.uk
http://www.mis-limited.com
smiffy6969
Site Admin
 
Posts: 1372
Joined: Sat May 24, 2008 8:18 am
Location: Loughborough, UK

Re: CORE VERSION 1.1 STABLE RELEASED

Postby john » Thu Jun 17, 2010 5:14 am

I had some problems upgrading my site hosted on 110mb.com - hardly surprising with that host though and I think it was due to their setup rather than the upgrade pack.

Upgrade on local server version (Unbuntu 9.10 with LAMP setup) went smooth as = good work Smiffy!
john
 
Posts: 13
Joined: Tue May 18, 2010 1:34 am

Re: CORE VERSION 1.1 STABLE RELEASED

Postby smiffy6969 » Thu Jun 17, 2010 7:53 am

Yeah i have had issues with their servers too personally, I suppose you get what you pay for like anything these days.....

You could upgrade manually, depending on how the server is configured, you may be just able to use a file manager in the host back end, to upload the contents of the directory in the upgrade pack, to your server, overwriting the existing files, then you just need to edit the public config file in core, and change the version number to 1.1 instead of 1.0.

Of course this depends on how the server is set up, and if you have permissions or if the server is being run in an su_exec type mode or the likes.

What errors where you actually getting just out of interest...

smiffy
on a long enough time line, everyones survival rate drops to zero... [ed norton - fight club]
http://www.razorcms.co.uk
http://www.mis-limited.com
smiffy6969
Site Admin
 
Posts: 1372
Joined: Sat May 24, 2008 8:18 am
Location: Loughborough, UK

Re: CORE VERSION 1.1 STABLE RELEASED

Postby john » Thu Jun 17, 2010 1:09 pm

Sorry, I didn't think to note the error messages down. I'm a PHP numpty so they didn't mean much to me but I got the impression files or folders were failing to be copied/created or accessed then functions were failing to work, or something... did I mention I'm a PHP numpty?

Recovery Plan A was to install the new CMS version and upload the site backup but that failed as I couldn't (or didn't know how to) change the root folder permissions for the install to work, which makes me think the upgrade problem might have been a folder permissions issue and probably unsolvable on the 110mb server.

Site was fixed with Plan B - zipping up my local version, uploading and unzipping. Now I think about it I'm pretty sure that is how I got the site up there in the first place!
john
 
Posts: 13
Joined: Tue May 18, 2010 1:34 am

Re: CORE VERSION 1.1 STABLE RELEASED

Postby smiffy6969 » Thu Jun 17, 2010 3:17 pm

Hey numpty's welcomed here just as much as everyone else...

From your fix, I can tell you the issue is completely due to permissions, if you installed it this way last time, the files will be owned by the ftp user, that you loaded the files with, so the server would not have permission to overwrite the files as it does not own them.

In your ftp software can you not go up one dir above the place you installed it, then alter that to 777 permissions temporarily then change back after install to 644, or can you or get access above install root?.

Unfortunately if you are not running server in Su exec mode, and they do not allow setting install root dir just for install it is impossible to get enough writes for razor to install, its just how servers work I'm afraid, so plan b is only option.....

Smiffy
on a long enough time line, everyones survival rate drops to zero... [ed norton - fight club]
http://www.razorcms.co.uk
http://www.mis-limited.com
smiffy6969
Site Admin
 
Posts: 1372
Joined: Sat May 24, 2008 8:18 am
Location: Loughborough, UK

Re: CORE VERSION 1.1 STABLE RELEASED

Postby john » Thu Jun 17, 2010 4:13 pm

So I was doomed by uploading the files rather than the server installing them! ... if i uploaded them via the 110mb file manager would that have solved the problem? (rehtorical question, I'll ponder that one myself).

I did a quick check and found no access allowed above the root folder. Not sure about suexec status but 110mb lock down then make you pay for everything that is fun. I'd entertain the idea of installing the site into a subfolder and using htaccess to redirect but I think htaccess is a paid feature there too. Not to worry though, it's really just an experiment and play space for me - Thanks for the reply. I might go to bed a PHP numpty tonight but I've made some baby steps with apache file permissions.
john
 
Posts: 13
Joined: Tue May 18, 2010 1:34 am

Re: CORE VERSION 1.1 STABLE RELEASED

Postby smiffy6969 » Thu Jun 17, 2010 7:27 pm

yeah probably what did it, anyways, never mind, yeah if you cannot get above install root, a sub folder and htaccess redirect (done correctly with correct redirect type), that works a charm.

I can't believe they lock down htaccess, that just plain sucks dude, good job it's free or I would have kicked them into touch for that... ;) enjoy...........

smiffy
on a long enough time line, everyones survival rate drops to zero... [ed norton - fight club]
http://www.razorcms.co.uk
http://www.mis-limited.com
smiffy6969
Site Admin
 
Posts: 1372
Joined: Sat May 24, 2008 8:18 am
Location: Loughborough, UK

Re: CORE VERSION 1.1 STABLE RELEASED

Postby maiji » Sat Jul 03, 2010 4:54 pm

Just wanted to say, thanks so much for developing razorCMS and for continuing to provide quality updates, upgrades, and everybody making the blades and helping out newbies like me on the forums ... you guys are all doing an awesome job. I just finished up my site last night and was wondering if I could implement 404s and saw the 1.1 update - hooray! :D
maiji
 
Posts: 11
Joined: Mon May 24, 2010 3:34 pm


Return to Latest News

Who is online

Users browsing this forum: No registered users and 1 guest

cron