Last Instinct

Tag: One.com

PHP 5.3.1 update problems

by on Jan.26, 2010, under CMS

One.com just upgraded their systems to PHP version 5.3.1 from 5.2.1. I think it’s great that they keep their systems updated, but it would be really nice if the could inform about these updates somewhere. On the other hand, their chat support was proved to be excellent once again, giving me the answers I needed in a couple of minutes or so.

The problem with the update was however with the new introduction of a very old syntax, used in Basic (and Visual Basic) back in the days when MC Hammer ruled the charts and AJAX was a household cleaner liquid or possibly a soccer team. The syntax is the goto command, used like this:

I would not recommend to use this syntax at all, since it mostly only makes things complicated!

1
2
3
4
5
6
7
<?php
goto a;
echo 'Foo';
 
a:
echo 'Bar';
?>

The above example will output: Bar

However, this little command caused a lot of trouble on Linn’s site, where all the scripts included a function called goto(). The timing for all this misshappening was really bad, since Linn have a big fashion show coming up and I was in London at the time the site went down. The function is used for redirecting the user to other URL:s with some nice informative graphics in between. With the new command introduced, the function now caused a fatal error on every page, meaning the whole site was down. The problem was easily solved, but I really cannot understand why they would want to introduce that command?

PHP.net has put together a guide with more info about migrating from PHP 5.2.x to PHP 5.3.x.

Comments Off :, , , , , more...

Putting up my old CMS

by on Feb.04, 2009, under CMS

This will be the beginning of a hopefully long journey and I’m gonna start it by putting up my old Content Management System. It’s a rather flexible system built on PHP and MySQL. I used to make a little money on it until I got my web developer job at Basilicon. Now I’m gonna put it up on the web for free just for fun, so enjoy!

The first thing I will have to do is rename it. It was called Shout, but I discovered that there was another CMS called Shout, so I have to think of another name. Any suggestions? I think I have to do some fine tuning to get it to work properly on my hosting at one.com, but then it should probably work anywhere.

It is actually powering these two sites, check them out.

› MEM Arkitekter
› Olof Molander

Comments Off :, , , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...