Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Major help needed... newbies have broken website


Guest

Recommended Posts

Posted

Hi

We are very new to the OsCommerce system with only basic html skills and we were trying to follow another post on the forum regarding removing required fields namely the phone number field. In the process of following these instr :angry: uctions we received a single error and decided that we had failed and that we would reload a back up of the site to hopefully correct and reverse the changes we made. However we loaded a broken backup and most of the files have come up as 0kb and now the sites deign has completely changed and we receive an error regarding the general file and session file which seem to be the only files that did get reverted properly.

These are the errors we are getting

 

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/hollywau/public_html/shop/includes/functions/general.php:1255) in /home/hollywau/public_html/shop/includes/functions/sessions.php on line 67

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/hollywau/public_html/shop/includes/functions/general.php:1255) in /home/hollywau/public_html/shop/includes/functions/sessions.php on line 67

 

(These can be very easily viewed by simplying going to our site here

Any help would be greatly appreciated as we have run out of ideas as we have very limited knowledge.

 

Thanks

L & L

Posted

Hi Rob, this is what is in the file already located in the cataloge file, should we just delete it all and add your quote or slip your quote somewhere?

 

 

# $Id: .htaccess,v 1.3 2003/06/12 10:53:20 hpdl Exp $

#

# This is used with Apache WebServers

#

# For this to work, you must include the parameter 'Options' to

# the AllowOverride configuration

#

# Example:

#

# <Directory "/usr/local/apache/htdocs">

# AllowOverride Options

# </Directory>

#

# 'All' with also work. (This configuration is in the

# apache/conf/httpd.conf file)

 

# The following makes adjustments to the SSL protocol for Internet

# Explorer browsers

 

<IfModule mod_setenvif.c>

<IfDefine SSL>

SetEnvIf User-Agent ".*MSIE.*" \

nokeepalive ssl-unclean-shutdown \

downgrade-1.0 force-response-1.0

</IfDefine>

</IfModule>

 

# Fix certain PHP values

# (commented out by default to prevent errors occuring on certain

# servers)

 

#<IfModule mod_php4.c>

# php_value session.use_trans_sid 0

# php_value register_globals 1

#</IfModule>

Posted

Thanks heaps for you help, but to no avail

Any other suggestions?

Posted

Trying adding this to the bottom of the .htaccess file in your catalog directory:

 

<IfModule mod_php4.c>
PHP_FLAG output_buffering on
</IfModule>

Posted

Sorry to be such a pain but its still broken. :(

Posted

Thanks that worked a treat :D (now to the problem of slowly geting the site to look the same as it first did)

 

Thanks heaps guys.

Posted

any thoughts on this error, it comes up when you add somthing to the cart.

Warning: Cannot modify header information - headers already sent by (output started at /home/hollywau/public_html/shop/includes/languages/english.php:338) in /home/hollywau/public_html/shop/includes/functions/general.php on line 29

 

Help appreciated guys :(

Posted

oops :lol: Same thing again more white space of death, sorry.

Posted

in the backup - prior to loading it are the files okay - i.e. bigger than 0kb ?

 

IF so try and load again as this can sometimes happenwhen ftp...ing.

Your online success is Paramount.

Posted

Try this:

 

Cannot Add Header Information

 

 

ERROR:

" Warning: Cannot add header information - headers already sent by

(output started at /home/username/public_html/osc/includes/languages/english.php:325)

in /home/username/public_html/osc/includes/functions/general.php on line 23"

 

FIX:

The problem is at the end or beginning of your php file there

are not allowed to be any blank spaces or lines. This usually occurs

in your english.php file in the languages file. Go to the end and see

if there is any blank characters after the ?>

Archived

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

×
×
  • Create New...