Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with cart functions after installing Bulgarian


garnet

Recommended Posts

Hi all,

I have installed bulgarian language to my store and now I have a problem manipulatin the cart contents.

If I add something to cart I git the following error message.

Warning: Cannot modify header information - headers already sent by (output started at /home/kupuvaln/public_html/includes/languages/bulgarian.php:2) in /home/kupuvaln/public_html/includes/functions/general.php on line 33

I have to browse back, refresh and the cart is updated.

This doesnd do that in other languagesm, nor it does it on my other test store with the same bulgarian language pack.

OSC beginner

Link to comment
Share on other sites

Headers Already Sent

 

Click the link above for an explanation.

 

The problem is in /includes/languages/bulgarian.php (line 2)

 

You must have some blank lines or "whitespaces" preceding the opening PHP tag:

 

<?php

The above code MUST be at the very first of the file.

 

No blank lines or spaces are permitted before it.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Headers Already Sent

 

Click the link above for an explanation.

 

The problem is in /includes/languages/bulgarian.php (line 2)

 

You must have some blank lines or "whitespaces" preceding the opening PHP tag:

 

<?php

The above code MUST be at the very first of the file.

 

No blank lines or spaces are permitted before it.

 

hi

that seems to solve the cart problem.

But afer altering the bulgarian.php to have no blanks before or after <?php code, the admin logon fails: Error is:

 

[b]Warning: require(includes/languages/bulgarian.php) [function.require]: failed to open stream: No such file or directory in /home/kupuvaln/public_html/admin/includes/application_top.php on line 157

Warning: require(includes/languages/bulgarian.php) [function.require]: failed to open stream: No such file or directory in /home/kupuvaln/public_html/admin/includes/application_top.php on line 157

Fatal error: require() [function.require]: Failed opening required 'includes/languages/bulgarian.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/kupuvaln/public_html/admin/includes/application_top.php on line 157[/b]

 

Help please.

OSC beginner

Link to comment
Share on other sites

The error seems to say the file /admin/includes/languages/bulgarian.php isn't on the server.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...