osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

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, ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Installation issues

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 03-10-2006, 04:21 PM
Lurker
 
Join Date: Nov 2002
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
BradWaite
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 03-10-2006, 04:55 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 03-13-2006, 09:39 AM
Lurker
 
Join Date: Nov 2002
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
BradWaite
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 03-20-2006, 09:08 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Posts: 1,558
Thanks: 1
Thanked 84 Times in 71 Posts
Rep Power: 10
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
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
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Blank Admin Pages zemond osCMax v2 Installation issues 2 12-22-2006 12:06 PM
Help! Admin page is blank (but store is showing up...) vonvonnie osCMax v2 Installation issues 2 08-04-2006 08:44 AM
Blank admin page posword osCommerce 2.2 Installation Help 4 07-06-2004 05:01 PM
Blank admin webworks osCommerce 2.2 Installation Help 2 12-23-2003 07:36 AM
blank cart page Anonymous osCommerce 2.2 Installation Help 4 01-13-2003 10:39 PM


All times are GMT -8. The time now is 02:03 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax