View Full Version : to integrate - path?
kmitty
10-15-2006, 02:41 PM
I'm perplexed...
To integrate calendar into web page, this is error I'm getting..
http://www.ink2art.com/client/fgm/html/testeventc.php
(on that page)
This is the calendar -
http://www.ink2art.com/client/fgm/calendar/
What am I doing wrong with entering the path when I enter it on the existing web page? I've tried a number of different combinations, just don't get it.
Any help appreciated!
~K
ve9gra
10-16-2006, 07:34 AM
You'd be much better off if you had uploaded the calendar inside of the /html/ folder.
What you have to understand is that when you're including a file in PHP, it doesn't do it from the web root, but from the filesystem root.
You were giving the path /client/fqm/calendar (this is the web root), but the correct path is /home/mkitty54/public_html/client/fgm/calendar (this is from the filesystem root). It's usually easier to use relative paths, but it can be tricky.
For using relative paths in your case, you'd have to use "../calendar/calendar.php". If you were to move the calendar folder inside of the html folder, the path you'd use would then be "calendar/calendar.php".
Good luck.
kmitty
10-16-2006, 11:10 AM
You are a lifesaver!
Thanks so much.
~K
kmitty
10-16-2006, 11:14 AM
Oh, one more thing... if I were to manually (ftp) move the folder (or copy?) into the html folder, would it work? or would I have to go through a 'set-up' process again?
~K
kmitty
10-16-2006, 11:55 AM
Oh good grief. Now when I try to view the page
http://www.ink2art.com/client/fgm/html/testeventc.php
*nevermind - it's working.
:)
ve9gra
10-17-2006, 07:21 AM
FYI, you can move by FTPing but you have to make sure that you follow the proper transfer procedure (some files are to be transfered in ASCII some others in Binary). It is explained in the Online Documentation (the manual install section).
kmitty
10-17-2006, 10:34 AM
Thanks so much Gervais.
:)
~K
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.