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 June 10th, 2003, 04:33 PM
crash3909 crash3909 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 34 crash3909 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via Yahoo to crash3909
Trouble with getting PHP calendar to work

Hi,

I just installed the PHP calendar. When I tried to create the user name and password from the ltw_install.php, it came up with the "The requested URL was not found on this server," instead of an acknowledgment.

All the tables in the dbase were created, so I manually entered some info into *ltw_events*. I thought that would be most efficient at the time. The tables were created properly with *ltw_install*, so dbase logging info is correct, and then I deleted this file from the directory. When I go to the page, there is no data that is being fetched for the calendar.

So again, I manually added a user name and password into the dbase. But by not getting it done with the install page, is it missing something?

My server has PHP 4.1.2. I don't know what more specifics you need, so if there is anything else you need to know, I can give it to you. The location of the calendar is:

http://www.insightentertainment.net/calendar/calendar.php

Thanks in advance


Reply With Quote
  #2  
Old June 12th, 2003, 01:37 AM
prrk47002 prrk47002 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 275 prrk47002 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Trouble with getting PHP calendar to work

The calendar looks ok from the URL, and I see an event displayed. Did you get the user created?

The one thing I see is that you have the calendar in a sub-directory. In version 3 (you just downloaded), there were a few references to /calendar.php so it expected to be installed in the 'root'. Search ltw_classes.php for /calendar to fix them. I don't know if this is causing the problem .

Reply With Quote
  #3  
Old June 12th, 2003, 03:19 PM
crash3909 crash3909 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 34 crash3909 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via Yahoo to crash3909
RE: Trouble with getting PHP calendar to work

Hey Prrk,

Thanks for your response. I did get it created. Just something simple I overlooked. I have a couple other questions for which maybe you or anyone else reading this might have an answer.

As you can see on my calendar, -- http://www.insightentertainment.net/calendar/calendar.php -- those evil slashes are popping up. I tried *$eName = stripslashes($eName);*, in the ltw_config.php, but no good. Any ideas on how to get rid of the slashes on this one?

Also, I would like to center the table on the page. I tried what I have below in ltw_styles.php, and again no good. Any help here would also be appreciated. Thanks again.

table.cal {
align: center;
blah...
}

Reply With Quote
  #4  
Old June 12th, 2003, 07:48 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: 24
RE: Trouble with getting PHP calendar to work

Fixed one problem. The centering.

On line 465 of ltw_classes.php, I did:

Code:
		echo "<TABLE align = "center" class="cal">n";


I am still having an issue with slashes from my last posting. Any help? Thanks.

Reply With Quote
  #5  
Old August 22nd, 2003, 05:37 PM
prrk47002 prrk47002 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 275 prrk47002 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Trouble with getting PHP calendar to work

The calendar did not have addslashes() and stripslashes() everywhere it should have.

Put addslashes() around the 'name' and 'description' values just before you write them to the db. Then, when you read them out, put stripslashes() around the $row['name'] and $row['description'] values.

This has been cleaned up in V4.

Reply With Quote
  #6  
Old August 26th, 2003, 03:35 AM
cshiyuan cshiyuan is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: malaysia
Posts: 19 cshiyuan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to cshiyuan
RE: Trouble with getting PHP calendar to work

i dunt think adding admin user manually in the database works! the php code tend to encrypt the password. i tried b4, the output is "not log in"! So, better try to register user by using install.php.It shouldnt be any problem !

Reply With Quote
  #7  
Old August 27th, 2003, 09:56 AM
prrk47002 prrk47002 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 275 prrk47002 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Trouble with getting PHP calendar to work

The passwords are encrypted in the database. Then, when you log in, the password you provide is encrypted with the same method and compared to the one in the db.

Look at ltw_install.php to see how it is done.


Reply With Quote
Reply

Viewing: Codewalkers ForumsProjectsltwCalendar > Trouble with getting PHP calendar to work


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 6 hosted by Hostway