osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Almost ready to go live

This is a discussion on Almost ready to go live within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi everybody, I'm not sure if this is the area to post this, so I am sorry if it is ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 05-30-2003, 10:39 AM
Active Member
 
Join Date: May 2003
Posts: 130
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0
judoka
Default Almost ready to go live

Hi everybody, I'm not sure if this is the area to post this, so I am sorry if it is not, but I am also ready to go live and I am in the process of testing before going live, however I am running into a few errors messages and I'm hoping that someone can me help with the following errors:

1) When trying to log-in or setup a new account I get:
Warning: Cannot add header information - headers already sent by (output started at c:\program files\easyphp\www\catalog\includes\application_top .php:204 in c:\program files\easyphp\www\catalog\login.php on line 43

Warning: Cannot add header information - headers already sent by (output started at c:\program files\easyphp\www\catalog\includes\application_top .php:204 in c:\program files\easyphp\www\catalog\includes\functions\gener al.php on line 23
however if I hit my back buttom on my browser, I'm login, go figure

2) When logging off I get the follow error:
Warning: Cannot add header information - headers already sent by (output started at c:\program files\easyphp\www\catalog\includes\application_top .php:204 in c:\program files\easyphp\www\catalog\includes\functions\gener al.php on line 23
however if I hit my back buttom on my browser, I'm log-off.

3) When I am log-on and I try editting the account info I get the following error:
Parse error: parse error, unexpected $ in c:\program files\easyphp\www\catalog\account_edit_process.php on line 310

4) During the checkout process I get this error:
Warning: Cannot add header information - headers already sent by (output started at c:\program files\easyphp\www\catalog\includes\application_top .php:204 in c:\program files\easyphp\www\catalog\includes\functions\gener al.php on line 23

I believe that the problem is somewhere between the general.php and the application_top.php but I am not that familar with PHP to be able to figure out which one or what to look for. I am working on my local machine using winXP before going live and I am not sure if that is the problem. Thanks in advise for any and all help. Thank You.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 05-30-2003, 01:14 PM
Lurker
 
Join Date: May 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
cruiten
Default

Regarding items 1,2 and 4:
It has been my experience that this type of problem is caused when the application is attempting to redirect the browser, via a header redirection, to another page AFTER output has already been sent to the browser.

The bottom line is that you can not do a redirect via a header redirection if content has already been streamed to the browser.

Looking at your error messages I would guess that you have made some modifications to application_top.php that resulted in some output being sent to the browser prior to application_top.php processing an action directive like logging in, or adding/removing items from the shopping cart. To double-check this theory you can rename your existing application_top.php file to application_top.php.bak and restore the original application_top.php file from the archive you used to install. If it works with the original version, then figure out the differences between the files and fix the problem.

It does not surprise me that you are actually logged in even though you encountered this problem... The code to log you in set up everything in the session, it was just unable to forward you to the appropriate page.

Regarding item 3:
Edit the account_edit_process.php file and look on or around line 310 for a stray '$' character...

Hope this helps.

Cor
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 05-30-2003, 05:52 PM
Active Member
 
Join Date: May 2003
Posts: 130
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0
judoka
Default

Hi Cruiten,
Thanks for your reply, I was able to get all item fix with some help from freerangemum we found that what was causing the problem was some spaces after the last > in the account_edit_process.php file. I remove the spaces and that took care of those problem. However I still have a problem with the checkout process. During the checkout process when I click on checkout I can get to the first step of the process which is the Delivery Information, however in the shipping method field I see the following message

"This is currently the only shipping method available to use on this order."

but I don't not see any of the shipping methods that I have enable in the admin. I have UPS and FedEX enable but they don't show up here. Also when I click on continue, rather than going to the next step which is the payment information screen, it just loops back to the delivery information screen. Would you know what is causing these problems?
Thanks for your help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 05-31-2003, 09:07 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,548
Thanks: 76
Thanked 335 Times in 314 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

Some things to check:

Make sure your product has a weight. This could be causing the problem. Next, make sure you have a display order setup in the admin. This also causes problems sometimes... Those are the 2 easiest possible solutions. Try them and see if that fixes it...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • 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. Default multi server configuration for exceptional performance!

  • 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!
  #5  
Old 05-31-2003, 12:46 PM
Active Member
 
Join Date: May 2003
Posts: 130
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0
judoka
Default

Thanks Msasek that did the trick, I was missing the weight information for the item I was testing. One question I do have, for some items I don't know the shipping weight of the item, what would be the best way to handle this?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 06-02-2003, 02:44 AM
Member
 
Join Date: Dec 2002
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
doug
Default

I always put in a weight of 1.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 06-02-2003, 05:41 AM
Active Member
 
Join Date: May 2003
Posts: 130
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0
judoka
Default

Thanks Doug
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
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
Ready to go live but a couple of hang ups! Please Help! n2advnture osCommerce 2.2 Modification Help 0 11-19-2005 08:03 AM
Is OSCMAX v2.0 Ready for Prime Time? driwashsolutions osCMax v2 Installation issues 2 11-08-2005 10:03 AM
AABox osC MS2-MAX 1.0 released and ready for download! michael_s osCMax v1.7 Discussion 61 09-06-2003 12:22 PM


All times are GMT -8. The time now is 12:16 PM.


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