Results 1 to 4 of 4

Blank admin page & other wierd problems

This is a discussion on Blank admin page & other wierd problems within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; I just fired up osCMAX for the first time the other day. I've used osC for a number of years, ...

      
  1. #1
    Lurker
    Join Date
    Nov 2002
    Posts
    2
    Rep Power
    0


    Default Blank admin page & other wierd problems

    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?

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default RE: Blank admin page & other wierd problems

    The default admin password has always been and will always be:

    email: admin@localhost.com
    pw: admin

    This is explained in the README file included in the download. The default administrator account has full privileges, and if you login using it, there is not an issue.

    Regarding the short open tag, no reason for this other than the original coders of the mods in question used them. We have not done a lot of housecleaning in the code yet, but it is on the list of things to do. osCMax 2 is still a RC release, so there are a few issues like this that will be fixed when it is out of RC.

    The other reason (I know not a good one, but I am being honest) is that nobody else in the several years of osCMax being available has ever once posted about it. I bet that it has caused more than one headache though.

    I did a quick search through the codebase, and found 43 instances of the short open tag in 13 of osCMax's files. A good text editor can replace all of them in a few seconds, if you don't want to wait for the next release of osCMax.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    Lurker
    Join Date
    Nov 2002
    Posts
    2
    Rep Power
    0


    Default Re: RE: Blank admin page & other wierd problems

    Quote Originally Posted by msasek
    The default admin password has always been and will always be:

    email: admin@localhost.com
    pw: admin

    This is explained in the README file included in the download. The default administrator account has full privileges, and if you login using it, there is not an issue.
    I found it, eventually. I did read the README, just not the README_osCMAX_2_0.txt. I'm suggesting that it be added to the text on the last installation page and to the installation online manual. From what I can tell, it's a *very* common request. If it's that common, it must mean that the methods currently in use to inform people aren't working. Instead of getting upset at people for not finding it, why not make it easier for them to find? (Yes, I know the README's there for a reason, but my point is still valid.)

    Quote Originally Posted by msasek
    Regarding the short open tag, no reason for this other than the original coders of the mods in question used them. We have not done a lot of housecleaning in the code yet, but it is on the list of things to do. osCMax 2 is still a RC release, so there are a few issues like this that will be fixed when it is out of RC.

    The other reason (I know not a good one, but I am being honest) is that nobody else in the several years of osCMax being available has ever once posted about it. I bet that it has caused more than one headache though.
    That's surprising. Since the default install of php4+ doesn't enable that option, I'm amazed more people haven't complained. That's one of the reasons why I posted - hopefully to save people the hours it took me to isolate the problem.

    Quote Originally Posted by msasek
    I did a quick search through the codebase, and found 43 instances of the short open tag in 13 of osCMax's files. A good text editor can replace all of them in a few seconds, if you don't want to wait for the next release of osCMax.
    It's a tad easier to turn on the flag in php.ini and restart httpd, but I agree - it'd be a rather simple fix with sed/perl/whatever.

  4. #4
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default RE: Re: RE: Blank admin page & other wierd problems

    We could also use OSC/OSC MAX coders and people to post errors and fixes.... Login into the BUGTRACKER. BULK changes can be submit to Micheal or myself.
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

Similar Threads

  1. Blank Admin Pages
    By zemond in forum osCmax v2 Installation issues
    Replies: 2
    Last Post: 12-22-2006, 12:06 PM
  2. Help! Admin page is blank (but store is showing up...)
    By vonvonnie in forum osCmax v2 Installation issues
    Replies: 2
    Last Post: 08-04-2006, 09:44 AM
  3. Blank admin page
    By posword in forum osCommerce 2.2 Installation Help
    Replies: 4
    Last Post: 07-06-2004, 06:01 PM
  4. Blank admin
    By webworks in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 12-23-2003, 07:36 AM
  5. blank cart page
    By Anonymous in forum osCommerce 2.2 Installation Help
    Replies: 4
    Last Post: 01-13-2003, 10:39 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •