I have been working on the new 1.8 version of the forum for almost 2 months, simply because version 1.7 was completely broken. It used PHP 5.3 constants which didn't work on 99% of the users machines. This problem has now been corrected in the new 1.8 version, but that's not all that changed. All topics, forums and forum categories now use the sluggable behavior for pretty URLs. Furthermore, the Installer has been rewritten completely for faster and easier usage. The main purpose of this post is to direct you in the 1.8 upgrade process as there are many things you need to do. Continue reading...
Auto Login v1.6
A CakePHP Component that will automatically login the Auth session for a duration if the user requested to (saves data to cookies).
Recent Thoughts
- Twitter feed is currently unavailable. View my Twitter
Latest Blog Entries
Topics
- CakePHP (40)
- Entertainment (2)
- Gaming (4)
- HTML & CSS (1)
- Javascript (6)
- jQuery (6)
- Other (8)
- Personal (10)
- PHP & MySQL (18)
- Plugins (3)
- Programming (8)
- Resources (13)
- Reviews (1)
- Scripts (14)
- Tutorials (40)
This post will primarily be about the process I had to go through to get cron jobs and shells working on Dreamhost. The main problem I kept running into was that the shells would simply not work at all through a cron job; yet they worked when I manually did it through SSH. The weird thing was the source of the console/cake file was being printed in my logs, instead of executed. Continue reading...
Feb
5
5
Converting a SimpleXML object to an array
Topics: Programming, PHP & MySQL // 7 comments, 358 views
If you have been following my Twitter, you would of heard me complaining about converting a SimpleXML object into an array. I am still having that problem, so if you can get it working correctly (my test so far below), I would be greatly appreciative. If you have never used the SimpleXML object, it can be quite awesome when actually reading an XML document - but once it comes to converting it to something else, it comes straight from the darkest depths of hell. Continue reading...
Before PHP 5.3 was released, many programmers would suffix their classnames with the package and or module that it pertains to. For example, SessionHelper, UsersController, CommentModel, so on and so forth. But with the recent upgrade to namespaces, are these types of suffixes still required? Continue reading...
For the past week I have been working on a DataSource for the WeGame API. Everything was working fine until I added some logic to cache the results. From there I ran into a few problems, here is how I resolved it. Continue reading...
Popular Entries
Recent Comments
- Frederick D. on 03/03/10 in Setting up cron jobs with Cake shells
- Miles Johnson on 03/03/10 in Setting up cron jobs with Cake shells
- Frederick D. on 03/03/10 in Setting up cron jobs with Cake shells
- kvz on 02/23/10 in PHP Pro Tip: Don't close your PHP documents with ?>
- Brendon Kozlowski on 02/18/10 in Setting up cron jobs with Cake shells