|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#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 . |
|
#3
|
|||
|
|||
|
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... } |
|
#4
|
|||
|
|||
|
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. |
|
#5
|
|||
|
|||
|
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. |
|
#6
|
|||
|
|||
|
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 !
|
|
#7
|
|||
|
|||
|
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. |
![]() |
| Viewing: Codewalkers Forums > Projects > ltwCalendar > Trouble with getting PHP calendar to work |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|