I just fired up osCMAX for the first time the other day. I've used osC for a number of years, even wrote one of the mods used in MAX (USPS Methods).
I was disappointed to say the least, when my brand new install seemed broken in all sorts of places. When logging in (why can't we put the default admin login info on the last step of the installation script?), my store asked me to "Choose an action...", but there were no actions to choose from.
Then I tried manually creating an account and got PHP errors. This seemed odd in a supposedly production-ready suite. I certainly hadn't had any of these problems with the stock osC. When I was troubleshooting the issue with create_account.php, I noticed parts of the script were using the short PHP open tag: '<?' instead of '<?PHP' to start a code block. I fixed those and the script worked.
I figured that if that page was published with the short open tag, then there's probably a ton of other pages with the same problem. I turned on short_open_tag in php.ini and everything works fine now.
short_open_tag is OFF by default in a standard php install. Why is osCMAX using them?



LinkBack URL
About LinkBacks











Bookmarks