Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > Pre-Sales Questions > General

General Get answers to your questions before purchasing the Easy PHP Calendar.

Closed Thread
 
Thread Tools Search this Thread Display Modes

SubDomain Question
Old 11-02-2009, 04:05 AM   #1
computerguy
Custom Custom User Title
 
computerguy is offline
Join Date: Nov 2009
Location: Prince George, BC, Canada
Posts: 6
Default SubDomain Question

I have read 50 or more posts in this forum.
I have gone back as far as 2007 reading through random posts.
Brian I hope you are nearing or reached your full recovery from all your surgeries and trial and error processes with your health and medical issues.
I have seen a free calendar from (admin removed) or something along those lines. I keep finding myself coming back to this site for this calendar setup. EPC is much more simplified from what I can tell.
Seems like it will be a lot better too when version 7 is released

My question has somewhat been answered through other posts I think about domains, subdomains, and multiple calendars.

But I would like this clarified for myself and maybe anyone else with similiar thoughts.

I have a website for a local recreation facility.
I guess I could make categories for each sport.
(IE: Lacrosse, Hockey, Soccer, Etc.)

But my issue is this...
www.domain.com is main site for facility (With links to each sport sections)
These sports pages are created as subdomains and the links go to these pages via their www.subdomain.domain.com address.
This way when a group wants to inform the rest of the members about their sport on the site, they would just tell them http://subdomain.domain.com instead of www.domain.com and having to navigate through the main site to their sport.
All sports groups would need to know what other times are booked by other groups, BUT would also be able to filter the calendar to show only their sport. I know the category filter would allow for this.
Is there a license set-up that would allow someone like myself to purchase the 1 key for this site, and still have the calendars work properly on each subdomain name?

Or am I looking at having each group buy a license, YET... they all need to see easily that a time slot is available or booked.

Or last resort... I could just drop the subdomain feature all together I guess. Then stick to categories and the filter drop down.
Maybe I answered my own question.
The last resort option would probably resolve all that. lol

I also read something that wasn't verified in another post from awhile back about maybe pointing to the calendar using the server path (IE: /home/account/public_html/ )
My question there is...
If I install the calendar to
/home/account/public_html/calendar/
accessed by http://www.domain.com
Can the subdomain /home/account/public_html/subdomain/
accessed by http://subdomain.domain.com still use the same calendar installed to /home/account/public_html/calendar/

Or is this still a domain name issue tied to the license key since at some level http://subdomain.domain.com is different from http://www.domain.com

And is there a limit on the categories that can be used to seperate in my case sporting groups.
We have about 12 or more groups that use the facility on a regular basis.

Last edited by computerguy; 11-02-2009 at 04:08 AM. Reason: Corrected spelling of FORUM lol. Nothing major
 

Old 11-02-2009, 06:46 AM   #2
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

I would say that for your setup, it would be easier to drop the sub-domain like you said, and then use sub-folders. That way there would be no problems with the calendar at all. But for the licensing question, Brian is the one to have the final say.

As for how many categories you can have... it's as many as you want.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 11-02-2009, 09:09 AM   #3
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,885
Default

If you can, open support ticket so I can give you some information to perform a test to see what the best setup would be.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Ticket Opened
Old 11-02-2009, 08:20 PM   #4
computerguy
Custom Custom User Title
 
computerguy is offline
Join Date: Nov 2009
Location: Prince George, BC, Canada
Posts: 6
Default Ticket Opened

Thanks for the quick replies.
Too bad all software developers and companies weren't like this.

I started a trouble ticket and did some testing before doing so.

Odd thing is, the calendar seems to work for the subdomains, BUT not the MAIN domain.

I used the ftp information such as domain.com username and password.
I didn't use the subdomain names for the ftp account.

Calendar was installed once to a tester folder
/home/account/public_html/tester/

subdomain1.domain.com/schedule.php works
/home/account/public_html/subdomain1/

subdomain2.domain.com/schedule.php works
/home/account/public_html/subdomain2/

subdomain3.domain.com/schedule.php works
/home/account/public_html/subdomain3/

domain.com/hours.php DOES NOT WORK
/home/account/public_html/
Encountered the Zend Optimizer error.

for each of the pages I used

<?php $OL=1; require("/home/account/public_html/tester/calendar/calendar.php"); ?>
<?php $epcMultiCatShow=1; ?>
<?php require("/home/account/public_html/tester/calendar/plugins/legend.php"); ?>
<?php require("/home/account/public_html/tester/calendar/plugins/filter.php"); ?>
<?php $TOC=1; require ("/home/account/public_html/tester/calendar/calendar.php"); ?>

Of course the following line was in the HEAD section of the pages.
<?php $CSS=1; require ("/home/account/public_html/tester/calendar/calendar.php"); ?>

As I typed this and copied the css code from the page to here, I noticed it was missing from the main domains page, so I added it. It didn't resolve that issue.
 

Server path
Old 11-02-2009, 08:39 PM   #5
computerguy
Custom Custom User Title
 
computerguy is offline
Join Date: Nov 2009
Location: Prince George, BC, Canada
Posts: 6
Default Server path

I just looked at the link in Brian's Signature and noticed I should change the server path in the calendar.php file.
It was still in it's default setting.
Now it reads /home/account/public_html/tester/calendar/
Just refreshed the calendar pages. They are all still working the same as they were before. Subdomains work and Main domain does not.
However... Now i get the following error.
License Key Error.
[Running in limited mode]

I just verified that I had the server path incorrect.
/home/account/public_html/unrelated_subdomain/tester/calendar/
Fixed that and the license key error went away.
BUT, the Zend Optimizer error still persists at the main domain.

Last edited by computerguy; 11-02-2009 at 08:44 PM. Reason: forgot to add the incorrect accidental server path for clarity.
 

Old 11-03-2009, 06:42 AM   #6
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

Sometimes that is due to having a php.ini in your root domain public_html or htdocs or www (whatever your host uses). What happens there is that at the server level, the php.ini has the proper directives to load the Zend Optimizer, but your own copy of php.ini doesn't have those directives. It would explain also why the sub-domains work as they probably do not have their own php.ini defined.

If you find a php.ini anywhere in your account, review its content to make sure that it's actually needed, and if so contact your host to get the lines that you should add to your file so that Zend is loaded properly.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

php.ini
Old 11-03-2009, 01:48 PM   #7
computerguy
Custom Custom User Title
 
computerguy is offline
Join Date: Nov 2009
Location: Prince George, BC, Canada
Posts: 6
Default php.ini

I had a nice long post that walked through all my issues as I was testing them, then upon posting it said I was already logged in earlier and then I lost the entire HUGE post.

Basically it stated that I had 1 php.ini file in the root and none in the subdomain folders.

I had zend code in the php.ini that was commented out, then newer zend code at the very bottom of the php.ini file that I assume was installed there from the zend autoinstaller.

I tried many variations to the 2 bits of code.
The 2 lines that were in the middle had quotes around the server path. The code at the bottom did not.
I tried both with or without quotes. Everything I tried changed nothing.

Then I had a thought. So i deleted the PHP.INI file altogether. (Of course I have a copy on my local machine to put back)
I needed the php.ini file to boot my upload limit to 50mb and gave a longer period for scripts to be run before timing out.

Of course upon deleting the php.ini file, The calendar seems to work on all levels.

BUT I did had to change in the the server path to /home/account/public_html/tester/calendar/ and the url path to http://www.domain.com/tester/calendar in the calendar.php file.
Prior to making that change, the pop-ups wouldn't load correctly.

Also I detected a minor layout bug (maybe) in the pop-ups.
The click pop-up works fine. but the mouseover pop-up has a new line / break error.

------------
Looks like I have some php.ini debugging to do.

Last edited by computerguy; 11-03-2009 at 01:51 PM. Reason: Note about debugging PHP.INI
 
Closed Thread

Tags
domain, license key, multiple calendars, subdomain

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about question marks... -=JFK=- General Support 5 11-14-2008 04:57 PM
Subdomain epaps General Support 1 02-10-2008 12:07 AM
Test or Staging Subdomain Question quella General 7 04-23-2007 08:46 AM
TinyMCE adds a question mark to my desc when I have an image donmarvin Customizations (Themes / Templates) 6 10-14-2005 05:16 PM
Development subdomain? snlsn General 4 10-02-2005 10:44 PM



All times are GMT -4. The time now is 04:03 AM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |