Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › problem with wordpress 3.2.1
Tagged: problem, session_start, wp affiliate platform
- This topic has 7 replies, 3 voices, and was last updated 13 years, 3 months ago by ceciliatan.
-
AuthorPosts
-
August 13, 2011 at 7:39 pm #4053thierry-666Member
Hi
My wp-affiliate platform plugin doesn’t work with wordpress 3.2.1
Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /homepages/7/d297210758/htdocs/marketingfr/wp-config.php:1) in /homepages/7/d297210758/htdocs/marketingfr/wp-content/plugins/wp-affiliate-platform/wp_affiliate_platform1.php on line 8
When I desactivate wp-affiliate platform, this error disappear.
Thanks for your help
August 13, 2011 at 8:47 pm #35479thierry-666MemberHi someone tell me I must add this line (session_start() to the function.php theme.
I try this and apparently it’s working.
Is that the good solution for you?
Thanks
PS: sorry for my bad english
August 14, 2011 at 12:38 am #35480amin007ParticipantYour theme must be outputting content before the WordPress init is complete (this is an example of bad coding). Do you see this same issue if you switch to the default WordPress theme?
August 15, 2011 at 8:30 am #35481ceciliatanMemberI am having a similar problem, and reverting to the Default theme did not make the error disappear. The error I get is:
Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /usr/local/www/wp/daron/index.php(1) : eval()’d code:37) in /usr/local/www/wp/daron/wp-content/plugins/wordpress-simple-paypal-shopping-cart/wp_shopping_cart.php on line 23
I’m running WP 3.2.1 and updated to the latest version of the plugin, as well. (I tried adding the code suggested above to function.php in the theme files and broke the site, as well…)
Any suggestions?
August 15, 2011 at 8:31 am #35482ceciliatanMemberOh, by the way, this isn’t for the Circlet Press site (where I have the paid version of the plugin) but for a little site I run on my own: http://daron.ceciliatan.com so I have the Simple version of the plugin running there.
August 15, 2011 at 11:23 pm #35483amin007ParticipantCheck the “index.php” file in your public_html directory and make sure there is no funny and unwanted characters there. You site may have been hacked. The error tells me that there is an “eval” function in the index.php file which it shouldn’t.
August 16, 2011 at 5:10 am #35484ceciliatanMemberGrrr and damn. One of our other sites was hacked with similar malware recently and we had gotten rid of it. But it must be making the rounds. I’ll try that and let you know!
August 16, 2011 at 5:15 am #35485ceciliatanMemberWell, damn, that was it. index.php had a bit of malware code in it. Once I deleted that, the error went away.
Now I’ve got bigger problems, but they aren’t yours to deal with. Thank you so much for your prompt response!
-
AuthorPosts
- You must be logged in to reply to this topic.