Get the book
Old 3rd November 2009, 07:09 PM   #1
bigblue
New Zenner
 
Join Date: Oct 2009
Posts: 17
Default admin errors??

SO I installed Zen cart on my hard drive and everything was fine. I am not sure if I did this correctly but i copied my existing zen cart store off the web and then replaced the store. I redid my config files so they point where they should.


I get this error when I go to my store and I see some stuff has been replaced but otherwise looks exactly like the example.

Warning Your database appears to need patching to a higher level. See Admin->Tools->Server Information to review patch levels.

Then if I go to admin I get these errors.

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\Program Files\xampp\htdocs\store\admin\includes\classes\logger.php:127) in C:\Program Files\xampp\htdocs\store\includes\functions\sessions.php on line 109

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Program Files\xampp\htdocs\store\admin\includes\classes\logger.php:127) in C:\Program Files\xampp\htdocs\store\includes\functions\sessions.php on line 109

Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\store\admin\includes\classes\logger.php:127) in C:\Program Files\xampp\htdocs\store\admin\includes\init_includes\init_templates.php on line 72

Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\store\admin\includes\classes\logger.php:127) in C:\Program Files\xampp\htdocs\store\admin\includes\functions\general.php on line 42

I believe I have the latest Zencart installed online and maybe this is the error??? Any help would be great. Thanks
bigblue is offline   Reply With Quote
Old 3rd November 2009, 07:44 PM   #2
DrByte
Sensei
 
DrByte's Avatar
 
Join Date: Jan 2004
Location: Ontario, Canada
Posts: 38,609
Default Re: admin errors??

Quote:
Originally Posted by bigblue View Post
... headers already sent by (output started at C:\Program Files\xampp\htdocs\store\admin\includes\classes\logger.php:127) in ...
The problem is that your /admin/includes/classes/logger.php file is damaged.
Namely, it's double-spaced, and has extra blank lines at the end of the file after the closing ?>

Remove the extra blank lines and the error will go away.
You might want to also clean up the double-spacing.
__________________
Zen Cart - putting the dream of business ownership within reach of anyone!
DrByte is offline   Reply With Quote
Old 3rd November 2009, 08:06 PM   #3
bigblue
New Zenner
 
Join Date: Oct 2009
Posts: 17
Default Re: admin errors??

i was missing the logger file. I replaced it and now that error is gone and i get these.


Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\Program Files\xampp\htdocs\store\admin\includes\classes\logger.php:127) in C:\Program Files\xampp\htdocs\store\includes\functions\sessions.php on line 109

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Program Files\xampp\htdocs\store\admin\includes\classes\logger.php:127) in C:\Program Files\xampp\htdocs\store\includes\functions\sessions.php on line 109

Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\store\admin\includes\classes\logger.php:127) in C:\Program Files\xampp\htdocs\store\admin\includes\init_includes\init_templates.php on line 72

Warning: session_regenerate_id() [function.session-regenerate-id]: Cannot send session cookie - headers already sent by (output started at C:\Program Files\xampp\htdocs\store\admin\includes\classes\logger.php:127) in C:\Program Files\xampp\htdocs\store\includes\functions\sessions.php on line 168

Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\store\admin\includes\classes\logger.php:127) in C:\Program Files\xampp\htdocs\store\admin\includes\functions\general.php on line 42


IM going to follow that link you posted and start over just incase. Thank you very much for your help.
bigblue is offline   Reply With Quote
Old 3rd November 2009, 09:47 PM   #4
bigblue
New Zenner
 
Join Date: Oct 2009
Posts: 17
Default Re: admin errors??

Okay I started fresh and followed that FAQ and my site is on my localhost. But now when I go to log into admin I get this error.

1146 Table 'tre0814311085367.project_version' doesn't exist
in:
[select * from project_version WHERE project_version_key = 'Zen-Cart Database' ]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

Im sorry if all this is basic, but i am still trying to learn. thank you
bigblue is offline   Reply With Quote
Old 3rd November 2009, 10:21 PM   #5
bigblue
New Zenner
 
Join Date: Oct 2009
Posts: 17
Default Re: admin errors??

okay I figured out what part of the problem was..original store was created with zen_..I added that to config files and the store was working but still cant access admin..

get these errors...


Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\Program Files\xampp\htdocs\store\includes\classes\shopping_cart.php:3787) in C:\Program Files\xampp\htdocs\store\includes\functions\sessions.php on line 108

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Program Files\xampp\htdocs\store\includes\classes\shopping_cart.php:3787) in C:\Program Files\xampp\htdocs\store\includes\functions\sessions.php on line 108

Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\store\includes\classes\shopping_cart.php:3787) in C:\Program Files\xampp\htdocs\store\admin\includes\init_includes\init_templates.php on line 72

Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\store\includes\classes\shopping_cart.php:3787) in C:\Program Files\xampp\htdocs\store\admin\includes\functions\general.php on line 42


When I add login after store/admin/ It has these errors


Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\Program Files\xampp\htdocs\store\includes\classes\shopping_cart.php:3787) in C:\Program Files\xampp\htdocs\store\includes\functions\sessions.php on line 108

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Program Files\xampp\htdocs\store\includes\classes\shopping_cart.php:3787) in C:\Program Files\xampp\htdocs\store\includes\functions\sessions.php on line 108

Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\store\includes\classes\shopping_cart.php:3787) in C:\Program Files\xampp\htdocs\store\admin\includes\init_includes\init_templates.php on line 72

it shows the box for admin user name and password but it doesnt recongize anything.

Thanks again
At this point I think im better off just rebuilding a new one.
bigblue is offline   Reply With Quote
Old 3rd November 2009, 10:42 PM   #6
bigblue
New Zenner
 
Join Date: Oct 2009
Posts: 17
Default Re: admin errors??

lol..i figured out that i cant login due to a security feature of 1.3.8 so I reverted to my older login.php file for now. that worked but now i got all this...
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\Program Files\xampp\htdocs\store\includes\classes\shopping_cart.php:3787) in C:\Program Files\xampp\htdocs\store\includes\functions\sessions.php on line 108

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Program Files\xampp\htdocs\store\includes\classes\shopping_cart.php:3787) in C:\Program Files\xampp\htdocs\store\includes\functions\sessions.php on line 108

Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\store\includes\classes\shopping_cart.php:3787) in C:\Program Files\xampp\htdocs\store\admin\includes\init_includes\init_templates.php on line 72

Warning: session_regenerate_id() [function.session-regenerate-id]: Cannot send session cookie - headers already sent by (output started at C:\Program Files\xampp\htdocs\store\includes\classes\shopping_cart.php:3787) in C:\Program Files\xampp\htdocs\store\includes\functions\sessions.php on line 162

Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\store\includes\classes\shopping_cart.php:3787) in C:\Program Files\xampp\htdocs\store\admin\includes\functions\general.php on line 42

So im just gonna move this folder to the side for now and just make a new store.
bigblue is offline   Reply With Quote
Old 3rd November 2009, 11:27 PM   #7
bigblue
New Zenner
 
Join Date: Oct 2009
Posts: 17
Default Re: admin errors??

so im too stubborn to just give up...had to go thru approx 20 or more php files and remove one or two extra lines. Not sure why that happened but everything seems to be going full steam ahead.
bigblue is offline   Reply With Quote
Old 4th November 2009, 02:12 AM   #8
DrByte
Sensei
 
DrByte's Avatar
 
Join Date: Jan 2004
Location: Ontario, Canada
Posts: 38,609
Default Re: admin errors??

Sounds like your FTP program is converting the line-endings of files incorrectly, resulting in double-spacing of the files. Might want to look into that for future.
__________________
Zen Cart - putting the dream of business ownership within reach of anyone!
DrByte is offline   Reply With Quote
Old 4th November 2009, 04:56 PM   #9
bigblue
New Zenner
 
Join Date: Oct 2009
Posts: 17
Default Re: admin errors??

Quote:
Originally Posted by DrByte View Post
Sounds like your FTP program is converting the line-endings of files incorrectly, resulting in double-spacing of the files. Might want to look into that for future.
I using file zilla. Never seemed to have a problem before. I see if i inadvertently changed something. Thanks for all your help.
bigblue is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add Customers Via Admin mod -- errors gordyb Customers and Orders 1 1st August 2008 04:37 AM
help errors in admin billt General Questions 2 8th June 2008 04:25 PM
Admin errors on fresh installation - module errors and language definition errors etrader Installing on a Linux/Unix Server 5 5th October 2007 10:05 AM
Admin Errors DesignbyDemeter General Questions 5 11th September 2006 10:03 AM


All times are GMT +1. The time now is 12:11 AM.

Learn tips, tricks & secrets for your Zen Cart™
Sign up for our FREE Newsletter

Powered by vBulletin® Version 3.7.6
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content and Graphics Copyright (c) 2006, 2007, 2008, 2009 Zen Ventures, LLC - all rights reserved
Get Zen Cart E-Commerce Shopping Cart at SourceForge.net. Fast, secure and Free Open Source software downloads