Page 1 of 1

Tabs in AJAX mode not call a php page correctly

Posted: Dec 28th, '10, 00:02
by lcisetti
Dear Admin, I bought a tabs license yesterday and I have an issue now.

In AJAX mode the tabs call a php page but display this error: Warning: Cannot modify header information - headers already sent by (output started at ...
The called php page must contain a session_start(); function, because there are some $_SESSION variables.

How I can do to resolve this issue?

Thanks in advance.

Regards.
lcisetti.

Re: Tabs in AJAX mode not call a php page correctly

Posted: Dec 30th, '10, 16:04
by administrator
Simply add this function at top of your page:

Code: Select all

<?php
session_start();

?>

Re: Tabs in AJAX mode not call a php page correctly

Posted: Dec 30th, '10, 22:34
by lcisetti
If I add this function the new message will be "A session had already been started - ignoring session_start() ".

Thanks.

Luca

Re: Tabs in AJAX mode not call a php page correctly

Posted: Dec 31st, '10, 08:22
by administrator
post here the full version of the warning message that you get

Re: Tabs in AJAX mode not call a php page correctly

Posted: Dec 31st, '10, 13:47
by lcisetti
this is the message: Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\wamp\www\project1\tabs\tabs.class.php:1149)

Re: Tabs in AJAX mode not call a php page correctly

Posted: Jan 8th, '11, 14:15
by administrator
This message means, that you try to use session_start() after it was already called in tabs.class.php:1149

Re: Tabs in AJAX mode not call a php page correctly

Posted: Mar 4th, '15, 06:00
by Harybald
I don't see anywhere as to how to do this. As I feel that the dropdown boxes on the setup page are not necessary for final output.
I should be able to select which style of tabs I want to use, set the css for those tabs, add tabs and child tabs and that then publish as finished. In other words, have something like a wizard design the output.