Jump to content


Photo

PHP Parse Error after upgrading from 0.6.4


  • Please log in to reply
4 replies to this topic

#1 Jerroen

Jerroen

    Etomite Forum Newbie

  • Member
  • 10 posts

Posted 26 November 2009 - 06:44 PM

Hi,

Today I've upgrade my Etomite installation from 0.6.4 to 1.1. The installation was succesfull the only error I got was while running the script that did some database modifcations (Failure: Query failed: Out of range value for column 'visitor' at row 1). After emptying the visitors table from the manager and re-run the script everything was fine. I checked the manager and save the configuration.

But now when I open my site the site is displayed but underneath I get a PHP parse error.

What's wrong? My PHP version is PHP: 0.0620 and I'm running Etomite on a server with IIS.

Note: I did the same upgrade on my test envoirement (debian apache) same site, no errors.

« Error »
Etomite encountered the following error while attempting to parse the requested resource: 
« PHP Parse Error » 
  
PHP error debug 
  Error:  Cannot modify header information - headers already sent by (output started at D:\Websites\user\vaagsite.vaagsweb.nl\wwwroot\cms\index.php:2069)   
  Error type/ Nr.:  Warning - 2   
  File:  D:\Websites\user\vaagsite.vaagsweb.nl\wwwroot\cms\index.php   
  Line:  323   
  Line 323 source:  header('Content-Type: '.$type.'; charset='.$this->config['etomite_charset']); 

Edited by Jerroen, 26 November 2009 - 06:49 PM.


#2 Jerroen

Jerroen

    Etomite Forum Newbie

  • Member
  • 10 posts

Posted 26 November 2009 - 07:24 PM

I've disabled the visitor logings and the error disappeared (and site opens normal). When I enable the visitor loggings the error is back again.
So the error is somewhere in my visitor stats table?

#3 Dean

Dean

    Loves Etomite Forums!

  • Admin
  • 4,787 posts

Posted 26 November 2009 - 09:59 PM

I'd leave the visitor stats off as they aren't accurate any more (and will eventually be stripped out completely).
Go for Google Analytics or a third party script like piwik (formerly phpmyvisites).. much more reliable and accurate :D

#4 bwoodsdesign

bwoodsdesign

    Likes Etomite Forums!

  • Member
  • PipPip
  • 236 posts

Posted 20 December 2011 - 08:15 PM

I seem to also be having this problem, on v.1.x...

Client is seeing the below error message, when viewing in IE and Firefox on multiple machines, even after doing a "Clear cache".

Cannot modify header information - headers already sent by output started at index.php:2069

This is on a site that has been developed since 2007 or so, and just started happening. it goes away after I do a "clear cache" within Manager, but people still see it come up now and then, at the bottom of the site.

Screenshot of error, which displays at bottom of site: http://imgur.com/BdSmv

The site in question is at: www.stonesoupthriftshop.org (now probably not displaying the message, since I've cleared the cache).

#5 Ralph

Ralph

    Loves Etomite Forums!

  • Admin
  • 6,539 posts

Posted 21 December 2011 - 04:33 PM

bwoodsdesign, that doesn't sound like a caching issue to me... There have been several patches made to the v1.1 code base that are not in the download and one of those may resolve the problem... Feel free to PM me with site credentials and I'd be happy to take a hands on look into this issue for you and your client...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users