ltwCalendar
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsProjectsltwCalendar

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old February 22nd, 2004, 10:05 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 25
ltwcalendar problems...

sorry, but in my ltwcalendar write here in page before the calendar:

Warning: Cannot modify header information - headers already sent by (output started at C:Inetpubwwwrootaltafullaltwcalendarprivateltw_con fig.php:374) in C:Inetpubwwwrootaltafullaltwcalendarprivateltwdisp laymonth.php on line 283

Warning: Cannot modify header information - headers already sent by (output started at C:Inetpubwwwrootaltafullaltwcalendarprivateltw_con fig.php:374) in C:Inetpubwwwrootaltafullaltwcalendarprivateltwdisp laymonth.php on line 285

Warning: Cannot modify header information - headers already sent by (output started at C:Inetpubwwwrootaltafullaltwcalendarprivateltw_con fig.php:374) in C:Inetpubwwwrootaltafullaltwcalendarprivateltw_hea der.php on line 9

Warning: Cannot modify header information - headers already sent by (output started at C:Inetpubwwwrootaltafullaltwcalendarprivateltw_con fig.php:374) in C:Inetpubwwwrootaltafullaltwcalendarprivateltw_hea der.php on line 10
ltwCalendar

and i dont login as admin...

:'((

Help mee!

Reply With Quote
  #2  
Old February 22nd, 2004, 10:09 PM
kweik kweik is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 9 kweik User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: ltwcalendar problems...

this post isnt anonymous, it has been posted by me

Reply With Quote
  #3  
Old February 23rd, 2004, 05:02 PM
opus006 opus006 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 65 opus006 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
RE: ltwcalendar problems...

What changes did you make to the ltw_config.php?

Make sure there are no open quotes or missing ;

Make sure there are no blank lines after the closing ?>

There should not be any print or echo statements in this file.

See the ltwCalendar under Projects in the Fourm list for future problems.

Reply With Quote
  #4  
Old February 23rd, 2004, 05:18 PM
System System is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Posts: 665 System User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Message Moved

Thread moved from 'PHP Installation' to 'ltwCalendar' by tkarkkainen.

Reason: ltwcalendar problems go to the ltwcalendar forum

Reply With Quote
  #5  
Old February 23rd, 2004, 06:28 PM
Balu Balu is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Germany
Posts: 3 Balu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Balu Send a message via Yahoo to Balu
RE: ltwcalendar problems...

Hello Friends!

This is a very nice calendar Script! I had the same problem, and found the solution!

In both files:
ltw_classes.php
ltw_config.php

was a empty line after the
Closing tag
php Code:
Original - php Code
  1.  
  2. ?>


I removed this, and it worked out fine. Thanks for the Tip opus006

Greetz from cold Bavaria: Balu

Reply With Quote
  #6  
Old February 23rd, 2004, 06:33 PM
Balu Balu is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Germany
Posts: 3 Balu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Balu Send a message via Yahoo to Balu
RE: ltwcalendar problems...

Sorry - its me once more

The same problem is in following files:

ltweventmgr.php
ltwcatmgr.php

Balu

Reply With Quote
  #7  
Old February 24th, 2004, 07:38 AM
kweik kweik is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 9 kweik User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: ltwcalendar problems...

i dont see this error..! ??¿?
my code is original instalation, i dont modify anything!

other question, all lines in all code, is finished by "?" .. its normal.. ?

(im newbie in php)



Reply With Quote
  #8  
Old February 24th, 2004, 02:16 PM
Balu Balu is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Germany
Posts: 3 Balu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Balu Send a message via Yahoo to Balu
RE: ltwcalendar problems...

Hello!

I instsalled also the original download right away, and had this error lines in all popup windows and the Caledar.php - Justr everywhere. And they disapeared only after removing the last empty lines in thouse files.

In PHP you have the opening and closing tag <? ?> and inbetween you find the php code. No need to have it in every line, yjust in the beginning and at the end of the code. As you find it in the php files of the calendar

Balu

Reply With Quote
  #9  
Old February 25th, 2004, 10:46 AM
kweik kweik is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 9 kweik User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: ltwcalendar problems...

im sorry, but i dont understand you.. watch the code ltw_config.php

php Code:
Original - php Code
  1.  
  2. <?php
  3.  
  4. ////////////////////////////////////////////////////////////////////////////
  5.  
  6. // ltw_config.php
  7.  
  8. // $Id: ltw_config.php,v 1.17 2003/08/22 03:44:30 t51admin Exp $
  9.  
  10. //
  11.  
  12. // ltwCalendar Configuration File
  13.  
  14. ////////////////////////////////////////////////////////////////////////////
  15.  
  16.  
  17.  
  18.  
  19.  
  20. // 'include_dir' defines the file system path to the directory that contains
  21.  
  22. // the .php scripts needed for the calendar.  This 'logically' separates the
  23.  
  24. // configuration information from the code, making it easier to run multiple
  25.  
  26. // calendars on the same server off the same code "base".
  27.  
  28. // By default, the code is kept in the same directory as the config file.
  29.  
  30. $ltw_config['include_dir']  = './private';
  31.  
  32.  
  33.  
  34. // 'html_xxxxer_file' defines the file system path to the header and footer
  35.  
  36. // files, making them easier to share with other php scripts on a site
  37.  
  38. $ltw_config['html_header_file']  = $ltw_config['include_dir'].'/ltw_header.php';
  39.  
  40. $ltw_config['html_footer_file']  = $ltw_config['include_dir'].'/ltw_footer.php';
  41.  
  42.  
  43.  
  44. // 'hrs_per_day' defines whether to use a 12 to 24 hour clock display
  45.  
  46. // for starting and ending times.
  47.  
  48. // valid settings are 12 or 24
  49.  
  50. $ltw_config['hrs_per_day'] = 12;
  51.  
  52.  
  53.  
  54. // 'salt' makes the database encryption for user logins unique to your setup
  55.  
  56. //by defining the string that 'salts' the crypt() function when dealing with
  57.  
  58. // passwords in the database.
  59.  
  60. // Change the following to some random 9 character string.
  61.  
  62. $ltw_config['salt'] ='Rb98-JC##';
  63.  
  64.  
  65.  
  66. // Define the database connection parameters.
  67.  
  68. // Currently only db_type = 1 (My SQL) is supported.
  69.  
  70. $ltw_config['db_type']        = 1;
  71.  
  72. $ltw_config['db_server']    = 'localhost';
  73.  
  74. $ltw_config['db_name']        = 'forums';
  75.  
  76. $ltw_config['db_user']        = 'xxxxx';
  77.  
  78. $ltw_config['db_pass']        = 'xxxxx';
  79.  
  80. $ltw_config['db_persistent']    = false;
  81.  
  82.  
  83.  
  84. // Define the table names in the database to use
  85.  
  86. $ltw_config['db_table_calendar']= 'ltw_eventsv4';
  87.  
  88. $ltw_config['db_table_category']= 'ltw_categoryv4';
  89.  
  90. $ltw_config['db_table_users']   = 'ltw_usersv4';
  91.  
  92. $ltw_config['db_table_log'] = 'ltw_logv4';
  93.  
  94.  
  95.  
  96. // 'list_query_size' defines the number of days to return for each
  97.  
  98. // query in the "list" view.  This variable allows you to "throttle"
  99.  
  100. // the number of events returned to minimize memory impact.
  101.  
  102. // If your calendar has a lot of events with long descriptions, you may
  103.  
  104. // want to reduce the size of this parameter.
  105.  
  106. $ltw_config['list_query_size'] = 31;
  107.  
  108.  
  109.  
  110. // 'login_required' defines whether or not a user must log in to see
  111.  
  112. // the calendar. If 'login_required', then a user must also have
  113.  
  114. // :Read Privledge" to view the calendar.
  115.  
  116. // Set login_required = 1 to enable
  117.  
  118. $ltw_config['login_required'] = 0;
  119.  
  120.  
  121.  
  122. // 'uloglevel' defines the user 'event' logging that occurs
  123.  
  124. // This is a bitmapped value, so you can set from
  125.  
  126. // none to all of the bits for full logging
  127.  
  128. //   Bit 0x01 User Add/Edit/Delete (brief)
  129.  
  130. //   Bit 0x02 User Add/Edit/Delete (detailed)
  131.  
  132. //   Bit 0x04 User Login 'Events'
  133.  
  134. //   Bit 0x08 User Change Password 'Events'
  135.  
  136. // examples
  137.  
  138. //   uloglevel = 0x04  - write only Login/Out 'events'
  139.  
  140. //   uloglevel = 0x05  - logins and minimal user change 'events'
  141.  
  142. //   uloglevel = 0x0f  - full logging
  143.  
  144. //   uloglevel = 0x00  - disabled
  145.  
  146. $ltw_config['uloglevel'] = 0x0f;
  147.  
  148.    
  149.  
  150. // 'eloglevel' defines the event change logging that occurs
  151.  
  152. // This is a bitmapped value, so you can set from
  153.  
  154. // none to all of the bits for full logging
  155.  
  156. //   Bit 0: Event Add/Edit/Delete (brief)
  157.  
  158. //   Bit 1: Event Add/Edit/Delete (detailed)
  159.  
  160. // examples
  161.  
  162. //   eloglevel = 0x01  - minimal logging
  163.  
  164. //   eloglevel = 0x03  - maximum logging
  165.  
  166. //   eloglevel = 0x00  - disabled
  167.  
  168. $ltw_config['eloglevel'] = 0x0f;
  169.  
  170.    
  171.  
  172. // 'cloglevel' defines the category change logging that occurs
  173.  
  174. // This is a bitmapped value, so you can set from
  175.  
  176. // none to all of the bits for full logging
  177.  
  178. //   Bit 0x01 Category add/edit/delete (brief)
  179.  
  180. //   Bit 0x02 Category add/edit/delete (detailed)
  181.  
  182. // examples
  183.  
  184. //   cloglevel = 0x01  - minimal logging
  185.  
  186. //   cloglevel = 0x03  - maximum logging
  187.  
  188. //   cloglevel = 0x00  - disabled
  189.  
  190. $ltw_config['cloglevel'] = 0x0f;
  191.  
  192.  
  193.  
  194. // 'min_pw_length' defines the minimum password number of characters allowed
  195.  
  196. // for a password. The minimum number for reasonable security should be 8
  197.  
  198. $ltw_config['min_pw_length'] = 8;
  199.  
  200.  
  201.  
  202. // 'pw_strength' defines the ammount of password checking that occurs.
  203.  
  204. // Valid values are:
  205.  
  206. //  0 - minimum -  must be min_pw_length and can not contain username
  207.  
  208. //                            forward, backwards, or subbing 53011 for seoll
  209.  
  210. //      1 - medium  -  add it must contain numbers
  211.  
  212. //      2 - high    -  add it mus be mixed case + punctuation
  213.  
  214. $ltw_config['pw_strength'] = 0;
  215.  
  216.  
  217.  
  218. // 'max_pw_age' defines the number of days a password is valid.
  219.  
  220. // During the login process, if this number of days has elapsed since
  221.  
  222. // the last password change, then the user's USCHGPW bit is set
  223.  
  224. //
  225.  
  226. // max_pw_age = 0 disables the function
  227.  
  228. $ltw_config['max_pw_age'] = 11;
  229.  
  230.  
  231.  
  232. // 'bad_logins' and 'grace_period' define the number of times
  233.  
  234. // and in what period of seconds an invalid login will cause a user account
  235.  
  236. // to be "locked". 
  237.  
  238. // bad_logins = 0  - disabled
  239.  
  240. $ltw_config['bad_logins']   = 5;   
  241.  
  242. $ltw_config['grace_period'] = 120
  243.  
  244.        
  245.  
  246. // 'cat_fgcolor' and 'cat_bgcolor' define the default color for event links
  247.  
  248. // if no matching category is found in the database
  249.  
  250. // (ie the category is deleted for existing events)
  251.  
  252. $ltw_config['cat_fgcolor'] = "#000000";
  253.  
  254. $ltw_config['cat_bgcolor'] = "#ffffff";
  255.  
  256.  
  257.  
  258. // 'week_starts_monday' defines whether the monthly calendar display
  259.  
  260. // starts on Sunday or Monday.
  261.  
  262. //  'week_starts_monday' = 0   - start the week on Sunday.
  263.  
  264. //  'week_starts_monday' = 1   - start the week on Monday.
  265.  
  266. // See Note in following section on 'daynames' too!
  267.  
  268. $ltw_config['week_starts_monday'] = 0;
  269.  
  270.  
  271.  
  272. // 'daynames' defines the names of the days that appear across the top of the
  273.  
  274. // "month" display. The array is defined twice, once for each posibility, to make
  275.  
  276. // it easier to set up.
  277.  
  278. //
  279.  
  280. if ( $ltw_config['week_starts_monday'] == 1 ){
  281.  
  282.   // if week starts Monday
  283.  
  284.   $ltw_config['daynames'] = array("Monday","Tuesday","Wednesday", "Thursday","Friday","Saturday","Sunday",);
  285.  
  286. }else{
  287.  
  288.   // if week starts Sunday
  289.  
  290.   $ltw_config['daynames'] = array("Sunday","Monday","Tuesday","Wednesday", "Thursday","Friday","Saturday");
  291.  
  292. }
  293.  
  294.    
  295.  
  296. // 'monthnames' defines the names of the months as they appear on the calendar
  297.  
  298. $ltw_config['monthnames'] =
  299.  
  300. array(1=>"January","February","March","April", "May","June","July","August", "September","October","November","December");
  301.  
  302.  
  303.  
  304. // 'start_time' and 'end_time' set the default event start and ending times.
  305.  
  306. // The format is HH:MM:TD, and is sensitive to 'hrs_per_day'
  307.  
  308. //  HH - hour        : 1-12 or 0-23
  309.  
  310. //  MM - minute      : 0, 15, 30, 45
  311.  
  312. //  TD - time of day: AM/PM or ignored (if hrs_per_day = 24)
  313.  
  314. // if clock_base = 24, then the 3rd field is ignored
  315.  
  316. // start_time = 0  - disables feature
  317.  
  318. // end_time   = 0  - disables feature
  319.  
  320. $ltw_config['start_time'] = 0;
  321.  
  322. $ltw_config['end_time']   = 0;
  323.  
  324.  
  325.  
  326. // 'bullets' defines whether or not a bullets are displayed for each event.
  327.  
  328. //  bullets = 0  - disables the feature
  329.  
  330. $ltw_config['bullets']  = '0';
  331.  
  332.  
  333.  
  334. // 'email_enabled'  defines whether to send an eMail whenever an event is
  335.  
  336. //                  added or updated.
  337.  
  338. // 'email_from'     defines the 'From: address' of the sender
  339.  
  340. // 'email_reply_to' defines the 'Reply-To: address' of the sender, optional.
  341.  
  342. // 'email_host'     defines the SMTP host to mail to (for Windows installations)
  343.  
  344. //
  345.  
  346. // email_enabled = 0  - disables feature
  347.  
  348. $ltw_config['email_enabled']    = '1';
  349.  
  350. $ltw_config['email_from']   = 'ltwAdmin@yourdomain.com';
  351.  
  352. $ltw_config['email_reply_to']   = '';
  353.  
  354. $ltw_config['email_host']   = '';
  355.  
  356.  
  357.  
  358. // 'use_popups'  defines whether or not to use javascript popup windows
  359.  
  360. //               or just load new page in current browser window
  361.  
  362. //
  363.  
  364. // use_popups = 0  - disables popups
  365.  
  366. // use_popups = 1  - enaables popups
  367.  
  368. $ltw_config['use_popups']   = 1;   
  369.  
  370.  
  371.  
  372.  
  373.  
  374. ?>

Where is the problem?

Reply With Quote
  #10  
Old February 25th, 2004, 10:49 AM
nawlej nawlej is offline
Contributing User
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Dallas, Tx. USA
Posts: 2,008 nawlej User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 8 m 12 sec
Reputation Power: 5
RE: ltwcalendar problems...

do me a favor....see if this works....In linux, run that file through the dos2unix utility

this is how you run it:

dos2unix ltw_config.php


that should remove all the junk from the end of the lines.

Reply With Quote
  #11  
Old February 27th, 2004, 12:04 PM
kweik kweik is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 9 kweik User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: ltwcalendar problems...

Solved problem, the error was in which was using the wrong editor and dont save correctly.

The problem headers is the empty line before "?>"

Reply With Quote
Reply

Viewing: Codewalkers ForumsProjectsltwCalendar > ltwcalendar problems...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
Create the Optimal Architecture for your Critical Applications
Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.

Request Your Free Technology Downloads!
 
Five Best Practices for Deploying a Successful Service-Oriented Architecture
This white paper describes the benefits you can expect with SOA, and how IBM can help take your business there.

Request Your Free Technology Downloads!
 
Gartner Magic Quadrant for Application Delivery Controllers
Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.

Request Your Free Technology Downloads!
 
Knowledge is Power
What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.

Request Your Free Technology Downloads!
 
Rationalizing the Multi-Tool Environment
The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek