The vB Geek

The vB Geek (http://www.thevbgeek.com/index.php)
-   Geek Article and Review System (http://www.thevbgeek.com/forumdisplay.php?f=26)
-   -   [Support] Error on created a new GARS thread (http://www.thevbgeek.com/showthread.php?t=4383)

Next 06-14-2008 09:15 PM

[Support] Error on created a new GARS thread
 
Hello,

I am unable to find any support forum/section so posting it here.

I installed GARS recently and after trying to post first thread I am getting following error message.

Code:

Unable to add cookies, header already sent.
File: /home/******/public_html/urdu/geek/gal/includes/gal_functions_edit.php
Line: 217

Any idea how to fix this problem ?

Thanks in Advance

Morgan 06-16-2008 04:31 AM

Try replacing the following lines in the gal_functions_edit.php file:
Code:

                                echo ' . ';

                                if (function_exists("vbflush"))
                                {
                                        vbflush();
                                }
                                else
                                {
                                        flush();
                                }

With the following:
Code:

                                if (defined('VB_AREA') && VB_AREA == 'AdminCP')
                                {
                                        echo ' . ';

                                        if (function_exists("vbflush"))
                                        {
                                                vbflush();
                                        }
                                        else
                                        {
                                                flush();
                                        }
                                }


Next 06-30-2008 11:17 PM

Hello Morgan,

Thank you for your help. This change solved the problem, however I am facing another problem i.e., users are unable to upload images! i will investigate it further and if fail to solve it myself may need to raise another ticket here.

Many thanks,

Morgan 07-01-2008 04:03 PM

Check the GAL ACP Permissions section.


All times are GMT. The time now is 10:52 AM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.