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


Go Back   Easy PHP Calendar > General Discussion > General Support

General Support Questions about using the Easy PHP Calendar. (Not installation or customizations)

Closed Thread
 
Thread Tools Search this Thread Display Modes

Rename Calendar install Folder
Old 07-12-2007, 08:27 AM   #1
Tizer
Calendar User
 
Tizer is offline
Join Date: Jul 2007
Posts: 4
Default Rename Calendar install Folder

I've been asked to rename the installation folder

Instead of www.mysite.com/calendar

they want www.mysite.com/events

When i do this, it requests i run through the install again.

Whats the easiest way around this? Any ideas?

Is there a config file i need to update etc. ?

Cheers
 

Old 07-12-2007, 09:51 AM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

Update the paths in the calendar.php file.
__________________
-- Brian

Questions?

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

Old 07-12-2007, 09:56 AM   #3
Tizer
Calendar User
 
Tizer is offline
Join Date: Jul 2007
Posts: 4
Default

I cant see anything that could need changing?

There no reference to the existing /calendar folder so there is nothing to replace/update.
 

Old 07-12-2007, 06:38 PM   #4
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

There is two variables that are normally updated automatically. $urlPath and $serverPath. Make sure that both of those now end in /events/.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 07-13-2007, 04:14 AM   #5
Tizer
Calendar User
 
Tizer is offline
Join Date: Jul 2007
Posts: 4
Default

My working installation sits here:

www.mysite.co.uk/calendar/

If i open calendar.php i those fields are listed like so:


PHP Code:
// SERVER (ROOT) PATH TO ESCAL FOLDER
// This address should start and end with a "/" unless this is on a windows server where it will start with a drive letter;
if (!isset($serverPath) || $serverPath!="../" || $getPaths==1) {
$serverPath="";
}

// URL PATH TO ESCAL FOLDER
// This address should start and end with a "/". *
// It is usually the name of the directory this file is in (Example: "/escal/");
// * If you enter the full URL starting with "http://", this address will not be verified by the calendar script!
$urlPath="";


There is no reference to a calendar folder.

I have taken a copy of the calendar folder and renamed it to "events"

I have modified the two variables you have spoken about with no luck.

The full hosting path is constructed like so:

D:\hosting\005\Live\Site_Name\events\

The old hosting path is: D:\hosting\005\Live\Site_Name\calendar\

However, this isnt entered into the calendar.php file and it all works fine.
Any more help would be appreciated as i've not got very far :>
 

Old 07-13-2007, 08:06 AM   #6
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

Normally, if the /calendar/calendar.php file is world writable (646), when you enter the Setup Manager, those variables will be automatically updated.

If they still don't update, try these (do not replace "/" for "\"):

$urlPath="/events/";
$serverPath="D:/hosting/005/Live/Site_Name/events/";
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 07-13-2007, 09:23 AM   #7
Tizer
Calendar User
 
Tizer is offline
Join Date: Jul 2007
Posts: 4
Default

PHP Code:
// SERVER (ROOT) PATH TO ESCAL FOLDER
// This address should start and end with a "/" unless this is on a windows server where it will start with a drive letter;
if (!isset($serverPath) || $serverPath!="../" || $getPaths==1) {
$serverPath="D:/hosting/005/Live/Site_Name/events/";
}
// URL PATH TO ESCAL FOLDER
// This address should start and end with a "/". *
// It is usually the name of the directory this file is in (Example: "/escal/");
// * If you enter the full URL starting with "http://", this address will not be verified by the calendar script!
$urlPath="/events/";


This was added.

The setup wizard still appears asking me to create a Master Account.

?
 

Old 07-13-2007, 11:18 AM   #8
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

What happens when you complete the initial setup process?
__________________
-- Brian

Questions?

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

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
accessing the calendar from another directory/ broke the popups Cappiels General Support 4 12-05-2006 11:04 PM
Install errors, but calendar works? Roo Installation / Upgrade Questions 1 10-23-2006 10:16 PM
No XML file in EasyPHP Calendar! can't install in Mambo aliweb Mambo/Joomla Integration 1 05-02-2006 11:41 AM
Install Location URL KathrynBassett Installation / Upgrade Questions 7 11-16-2005 04:34 PM
Can I Pay Someone $20 to Install This Calendar Script? ambassador Installation / Upgrade Questions 5 10-10-2005 11:40 AM



All times are GMT -4. The time now is 07:12 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 |