newuser72
Newbie
Posts: 1
Registered: 10/4/2006
Member Is Offline
|
| posted on 10/4/2006 at 02:10 PM |
|
|
Got error when install.php is loaded
Help! I'm trying to install the Event Calendar for the first time on my IIS. This is what i got when first loaded install.php page. Did anyone have
the same experience?
Notice: Use of undefined constant e_all - assumed 'e_all' in c:inetpubwwwrootcalendarinstall.php on line 112
Notice: Use of undefined constant e_notice - assumed 'e_notice' in c:inetpubwwwrootcalendarinstall.php on line 112
And when i tried to go to index.php, it just jumped right back to intall.php page.
|
|
|
chronister
Member
Posts: 23
Registered: 8/24/2006
Member Is Offline
|
| posted on 10/22/2006 at 12:15 AM |
|
|
By looking at the error, it looks like your paths are wrong.
| Quote: | | c:inetpubwwwrootcalendarinstall.php |
that should have some slashes in it so it looks like c:\inetpub\wwwroot\calendarinstall.php
in cl_files\calendar.php make sure that your paths are like so : c:\\inetpub\\wwwroot\\
the double slashes are needed for a windows machine. Here is what mine looks like
$PATHS=array(
"path_to_calendar" => "c:\\program files\\xampp\\htdocs\\jen.localnet\\calendar\\cl_files\\",
"path_to_calendar_img" => "c:\\program files\\xampp\\htdocs\\jen.localnet\\calendar\\cl_files\\img\\",
"WEB_path_to_calendar_img" => "http://jen.localnet/calendar/cl_files/img/",
"path_to_data" => "c:\\program files\\xampp\\htdocs\\jen.localnet\\calendar\\cl_files\\data\\"
);
|
|
|
haslamjd
Newbie
Posts: 1
Registered: 2/24/2007
Member Is Offline
|
| posted on 2/24/2007 at 09:58 PM |
|
|
| Quote: | Originally posted by chronister
By looking at the error, it looks like your paths are wrong.
that should have some slashes in it so it looks like c:\inetpub\wwwroot\calendarinstall.php
in cl_files\calendar.php make sure that your paths are like so : c:\\inetpub\\wwwroot\\
the double slashes are needed for a windows machine. Here is what mine looks like
$PATHS=array(
"path_to_calendar" => "c:\\program files\\xampp\\htdocs\\jen.localnet\\calendar\\cl_files\\",
"path_to_calendar_img" => "c:\\program files\\xampp\\htdocs\\jen.localnet\\calendar\\cl_files\\img\\",
"WEB_path_to_calendar_img" => "http://jen.localnet/calendar/cl_files/img/",
"path_to_data" => "c:\\program files\\xampp\\htdocs\\jen.localnet\\calendar\\cl_files\\data\\"
); |
I have the same issue as above. I start with install.php and I immediately have the undefined errors appearing above the box to set the file paths.
However, as mentioned above about adjusting the paths, I don't have a file calendar.php listed in the cl_files folder. All I have is a calendar.html.
My errors look like this:
Notice: Use of undefined constant e_all - assumed 'e_all' in C:\\www\\calendars\\php_event_calendar\\install.php on line 112
Notice: Use of undefined constant e_notice - assumed 'e_notice' in C:\\www\\calendars\\php_event_calendar\\install.php on line 112
Where can I set the path array if I don't have either calendar.php in the cl_files folder, or the globals.php file in the data folder?
HELP!
|
|
|