PDA

View Full Version : Moving files to another directory


kombatarts
09-11-2007, 10:19 AM
Hi, first of all great product! Everything has been great so far.

We are in the process of updating our website and this calendar was one of the features we wanted for the site.

I installed all the files in a test directory to try out all the Easy PHP Calendar features etc before purchasing. I was happy so I purchased a license and continued to fill in my calendar under this test directory. We are using flat files.

I really liked the look of how the TOC came out
http://kombatarts.com/tester/calendar/demoTOC.php

I wanted to replicate that look so I used demo.php as an example and uncommented the necessary items and created my own file (derived from a DW template) and placed it in

http://kombatarts.com/temp/Schedule/index.php

I then recursively copied all the files in directory where I originally uploaded the Easy PHP Calendar
http://kombatarts.com/tester/

to

http://kombatarts.com/temp/Schedule/

Note: I am using a "temp" directory to fiddle around with all the other updates for the new site


Anyway, the http://kombatarts.com/temp/Schedule/index.php file loads slow, does not format as expected and I get the timeout error

Fatal error: Maximum execution time of 30 seconds exceeded in /home/kombat/www/tester/calendar/functions/dateMarking.php on line 255

Not sure why it is trying to point to the tester directory either since I copied all the files to the http://kombatarts.com/temp/Schedule/ directory.

I searched the forums and saw similar problems with too much data, but again in the tester file everything looks fine:

http://kombatarts.com/tester/calendar/demoTOC.php

I am sure it is a newbie mistake. Thanks in advance for the help!

Brian
09-11-2007, 01:23 PM
Paths FAQ:

https://www.easyphpcalendar.com/support/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=51

kombatarts
09-12-2007, 07:47 PM
Brian thanks for the help.

Okay so I am having better success. So I made a test file
http://www.kombatarts.com/temp/Schedule/test.php

However it is not showing up exactly like
http://www.kombatarts.com/temp/Schedule/demo.php

Seems like the test file is not picking up a template to get the same look as demo.php. I copied the relevant info in demo.php and pasted into the test.php file so not sure where I am going wrong.

ve9gra
09-13-2007, 06:21 AM
Seems like you fixed your issue.

kombatarts
09-13-2007, 09:29 AM
It is not working from my side. I have tried FireFox and IE on 2 different computers and the calendar display is not exactly the same between the test.php and demo.php file. The demo.php file is working fine.

In this file[/URL]
http://www.kombatarts.com/Schedule/test.php (http://www.kombatarts.com/temp/Schedule/test.php)

You cannot see the date in List mode since the font is white and the background cell is also white. In addition, when you mouse over the calendar and get a pop up, there is no border around the pop up.

In the demo file
http://www.kombatarts.com/Schedule/demo.php
[URL="http://kombatarts.com/Schedule/demo.php"]
You can see the date since the cell background color is blue. Moreover the pop ups have a gray border.

I just copied everything from the demo.php into the test.php file so not sure why certain files are not being included (I assume modern.php or some CSS file?)

Thanks for assistance and patience. :)

ve9gra
09-14-2007, 06:43 AM
This has nothing to do with the calendar itself. It's your site's template's CSS that is interfering with the calendar's CSS.

In page.css, look for table {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: small;
font-style: normal;
color: #333333;
bordercolor: white;
background-color: white;
}
See how you have hard coded that all tables have a white background...

kombatarts
09-14-2007, 08:23 AM
Gotcha! Thanks. :clap: Late nights will do that to my brain. :sad: