Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

PHP Config Error

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-09-2003, 11:36 AM
  proesner's Avatar 
proesner proesner is offline
 

Advanced Member
  
Join Date: Jan 2003
Location: Midwest
Posts: 45
 

Default PHP Config Error

Cart seemed to be running fine (new install) However, subbennly now I get errors when I try to modify a prodcut in admin. I cannot recall anyhting I may have dome to cause this??

Warning: Cannot add header information - headers already sent by (output started at /home/debra/public_html/x/config.php:381) in /home/debra/public_html/x/include/process_product.php on line 86


Also - thumbnails are not showing in the cart and I get the following error on top of the page:

Warning: Cannot add header information - headers already sent by (output started at /home/debra/public_html/x/config.php:381) in /home/debra/public_html/x/customer/referer.php on line 61

Warning: Cannot add header information - headers already sent by (output started at /home/debra/public_html/x/config.php:381) in /home/debra/public_html/x/include/get_language.php on line 43

Warning: Cannot add header information - headers already sent by (output started at /home/debra/public_html/x/config.php:381) in /home/debra/public_html/x/include/get_language.php on line 44

Help, Please - anyone who can give me any insight would be greatly appreciated!!
Reply With Quote
  #2  
Old 01-09-2003, 11:41 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

Are you receiving any errors before these, these errors are usually because a Header redirect is trying to occur but the headers are already written, so the header redirect's fail.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #3  
Old 01-09-2003, 11:48 AM
  proesner's Avatar 
proesner proesner is offline
 

Advanced Member
  
Join Date: Jan 2003
Location: Midwest
Posts: 45
 

Default

No - I did the following:

Set-up credit card and payment processing via the admin and tested - everything was OK - inlcuding test orders.

I went on to other unrelated tasks - then came back to work on my site (am having speed issues) - so i tried one recommendation from the forum #246:

*******

had a similar problem to this whereby the page seemed to stall when it got to the log in part of the page. If you view the html, you will see what is causing the issue.

The answer lies in the saving of sessions in mysql.

This is set in line 236 of your config.php is $store_sessions_in_mysql = false;

It worked for me.

********

So I changed the config.php to FALSE

at some point thereafter the problem started - so I changed it back to TRUE.

and problem is still there....
Reply With Quote
  #4  
Old 01-09-2003, 12:33 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

What version of x-cart are you using? Also if you can provide apache/mysql/php versions as well as what payment gateway or anything else you may have done up to this point may help determine the problem, your host may have also changed a php.ini setting you may check with them also, if not it maybe a bug.

hth.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #5  
Old 01-09-2003, 01:56 PM
  proesner's Avatar 
proesner proesner is offline
 

Advanced Member
  
Join Date: Jan 2003
Location: Midwest
Posts: 45
 

Default

I am using:

3[1].3.1 Gold
Cpanel Version/Build 5.3.0-STABLE Build 116
Operating System Linux
Apache Version 1.3.27 (Unix)
PHP Version 4.2.3
Mysql Version 3.23.54

I have submitted an inquiry to my hosting co. regarding the php.ini file - I will not get an answer on that question until late tonight or tomorrow AM.

The cart was working fine all day - I have been trying a few attempts to import images via the import function in admin (no success - I posted earlier today). Also, I tested loading an image to and existing item (same product code) via product import function - to see if it would update the existing product record in xcart. Instead of updating the record it created a new xcart product record (which was my expectation - just was trying anything I could as I was unable to get the image import fuction to work. I deleted the new (duplicate) product via xcart admin.

The payment gateway/processor is 2checkout.

Placed 2 orders through test mode earlier today and they were fine...

ThatБ─≥s about it. I have already re-installed xcart once due to several issues with no resolution (posted earlier this week) and I really do not want to go through another install...

I think is is a great product, however, with the issues I have been having and my "zero" knowledge of php - am am having my doubts.

I really want this to work! Any advise or thoughts you have would be greatly appreciated.
Reply With Quote
  #6  
Old 01-09-2003, 02:13 PM
  proesner's Avatar 
proesner proesner is offline
 

Advanced Member
  
Join Date: Jan 2003
Location: Midwest
Posts: 45
 

Default

Boomer:

I replaced the config.php file with the original version - changed the sql passcode and domain info etc.

and everything seems to be fine - I'm going to do more testing tonight.

what a day....

thanks for your help....
Reply With Quote
  #7  
Old 04-21-2003, 08:47 AM
 
ambermoon ambermoon is offline
 

Advanced Member
  
Join Date: Feb 2003
Location: Perth Western Australia
Posts: 72
 

Default

cpanel is updating php automatically, could this cause problems ?
Reply With Quote
  #8  
Old 04-21-2003, 09:07 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

Shouldn't be causing any problems if the cpanel is updating php, it should stop the service and update, and restart so nothing would get corrupted.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #9  
Old 04-21-2003, 10:20 AM
 
ambermoon ambermoon is offline
 

Advanced Member
  
Join Date: Feb 2003
Location: Perth Western Australia
Posts: 72
 

Default

what I ment boomer, is: does x-cart run smooth no matter what version of PHP and sql, past or future ?


I want to install cpanel so I don't have to upgrade my server all time for security reasons, but i want to make sure it's not messing with x-cart.

While we're at it: do you use zend optimizer ? zend engine is alraedy with PHP but is optimizer better ? or is it Accelerator ? I'm lost !!
Reply With Quote
  #10  
Old 04-21-2003, 11:24 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

Zend's optimizer is somewhat built into php, however you'll notice a speed increase when using the optimizer. lots more info on zends website about the difference.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:10 PM.

   

 
X-Cart forums © 2001-2020