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 May 27th, 2004, 10:20 PM
lurking lurking is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 11 lurking User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unsure how to modify require_once($ltw_config['include_dir'].'/ltw_classes.php'); when using calendar.php as include

I am including calendar.php as an include in the table of another .php file, using the following code:
php Code:
Original - php Code
  1.  
  2. elseif ($click1=="edcalendar") {
  3. include("calendar/calendar.php");


When I load the main page, I am getting the error:

Warning: main(./private/ltw_classes.php): failed to open stream: No such file or directory in /home/biz/barton/WWW/bartonhealth.org/NEW_SITE/EDUCATION/calendar/calendar.php on line 33

Fatal error: main(): Failed opening required './private/ltw_classes.php' (include_path='.:/usr/share/pear') in /home/biz/barton/WWW/bartonhealth.org/NEW_SITE/EDUCATION/calendar/calendar.php on line 33

I am unsure how to modify the code on line 33 of calendar.php:
php Code:
Original - php Code
  1.  
  2. require_once($ltw_config['include_dir'].'/ltw_classes.php');


in order to get the correct path.

Reply With Quote
  #2  
Old June 11th, 2004, 07:07 PM
lurking lurking is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 11 lurking User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Unsure how to modify require_once($ltw_config['include_dir'].'/ltw_classes.php'); when using calendar.php as inc

I solved this problem by changing the line to:

require_once("private/ltw_classes.php");

Reply With Quote
Reply

Viewing: Codewalkers ForumsProjectsltwCalendar > Unsure how to modify require_once($ltw_config['include_dir'].'/ltw_classes.php'); when using calendar.php as include


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


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





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT