Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 24. Nov 2024, 13:09

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Session Error
PostPosted: 26. Mar 2009, 21:30 
Offline

Joined: 26. Mar 2009, 21:25
Posts: 10
Hi
i have got an error and can't seem to rectify it

the error i get in the de bug file is

ERROR 2 in /home/*****/public_html/tw/index.php, line 41: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home/*****/public_html/gallery.php:14)

but there is nothing else running in the page as it is php page with the <?php include "tw/index.php" ?>

bewildered :(


Top
 Profile  
 
 Post subject:
PostPosted: 26. Mar 2009, 22:38 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
as the error says:

you start the session in

gallery.php:14

TWG closes and opens the session to activate an internal error detection.

You should set the error level lower because starting the session twice is normally not a big problem (the 2nd one is simply ignored).

You can set

$autodetect_errors=false;

Then this check is not done.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 26. Mar 2009, 23:29 
Offline

Joined: 26. Mar 2009, 21:25
Posts: 10
Thanks for the reply

can you tell me where i should place the code

cheers


Top
 Profile  
 
 Post subject:
PostPosted: 27. Mar 2009, 00:01 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
administration -> configure twg -> last tab with the free text field.
Read the configuration page for details how to configure twg.

- Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 35 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy