Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Please Help!


bobalouie

Recommended Posts

Posted

Here is my problem, I am installing OsCommerce remotely on a host at Globat.com

I had it working fine on my computer

 

http://65.23.28.142/tilt_amusements/catalog/

 

then I simply tried to make it work on the remote host

 

http://www.tiltamusements.com/catalog/

 

Almost everything worked except for when I try to go to the account page, or when I add something to the cart, I just get blank pages.

 

Well, then I got the phpinfo from the remote server and saw that they had their display_errors setting OFF.

so I added this to the 'application_top.php' file to simply be able to display errors on these blank pages because after extensive trouble shooting I thought this was the only thing left.

this is what I added

 

set_ini('display_error', 1);

 

by the way I am running php 4.3.2 on my computer, and my host is running 4.3.4 if that has anything to do with it.

also the phpinfo of my remote host is at

 

http://65.23.28.142/tilt_amusements/phpinfo.php

 

if you want to check the incomparison to my own which are loacted at

 

http://65.23.28.142/phpinfo.php

 

 

Before you may do any of this. Here are the errors that are displayed now that I can see them.

Could anyone please help?! :'(

 

 

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /usr/local/psa/home/vhosts/tiltamusements.com/httpdocs/catalog/includes/configure.php:1) in /usr/local/psa/home/vhosts/tiltamusements.com/httpdocs/catalog/includes/functions/sessions.php on line 67

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /usr/local/psa/home/vhosts/tiltamusements.com/httpdocs/catalog/includes/configure.php:1) in /usr/local/psa/home/vhosts/tiltamusements.com/httpdocs/catalog/includes/functions/sessions.php on line 67

 

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/psa/home/vhosts/tiltamusements.com/httpdocs/catalog/includes/configure.php:1) in /usr/local/psa/home/vhosts/tiltamusements.com/httpdocs/catalog/includes/functions/general.php on line 29

 

thanks ;)

Posted

I may be way off track here but one of the most common causes of a headers already sent error is having blank space at the top of your php file!

 

Make sure that the file has the <? php tag right at the top with no spaces or line breaks!

 

e.g.

 

<?php
/*
 $Id: checkout_payment.php,v 1.113 2003/06/29 23:03:27 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

 

NOT

 

<?php
/*
 $Id: checkout_payment.php,v 1.113 2003/06/29 23:03:27 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

 

Let us know if this sorts it!

Posted

Oh my!!!!!

A week's worth of troubleshooting and this is what was wrong! >_<

 

ONE SPACE IN FRONT OF THE OPEING <?php

 

just in the configure.php file

 

Wow! I don't know what to say :D

 

Thanks a lot.

 

I guess I wouldn't have been able to get your help if I had not done all the other stuff with the phpinfo and the error displays and such, so it wasn't all lost time.

 

But thanks again. B)

Posted

Download an editor. It will discolor if you add a funky space and you won't have these woes again. Many editors allow you to connect to your ftp on the left, and edit code on the right. TSW isn't bad but it gives me error on boot. Probably something on my end... more annoyign that loss of function.

 

S

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...