PDA

View Full Version : Installed, but can't run the config


ggulik
08-29-2006, 07:09 PM
I installed the IonCube version of calendar on a Linux server hosted by 1and1.com.

The tester program recommended the IonCode version. I changed the permissions of the appropriate files per the instructions but when I try to run the setup I get the following:
Warning: main(../languages/English.inc.php) [function.main (http://www.sjicparish.org/calendar/setup/function.main)]: failed to open stream: No such file or directory in /homepages/14/d173453232/htdocs/ics/calendar/setup/index.php55

Warning: main(../languages/English.inc.php) [function.main (http://www.sjicparish.org/calendar/setup/function.main)]: failed to open stream: No such file or directory in /homepages/14/d173453232/htdocs/ics/calendar/setup/index.php55

Fatal error: main() [function.require (http://www.sjicparish.org/calendar/setup/function.require)]: Failed opening required '../languages/English.inc.php' (include_path='.:/usr/local/lib/php') in /homepages/14/d173453232/htdocs/ics/calendar/setup/index.php55
Those files are definitely there:
u40944378:~/ics/calendar > file /homepages/14/d173453232/htdocs/ics/calendar/setup/index.php
/homepages/14/d173453232/htdocs/ics/calendar/setup/index.php: data

u40944378:~/ics/calendar > ls languages/
dutch.inc.php french.inc.php index.htm spanish.inc.php
english.inc.php german.inc.php portuguese.inc.php turkish.inc.php
u40944378:~/ics/calendar >

What am I missing?

Brian
08-30-2006, 12:28 PM
I think when you uploaded the files to the server, your FTP program converted all of the file names to lower case. The case of the file names are very important. Example, english.inc.php should be English.inc.php.

ggulik
08-30-2006, 12:39 PM
Thanks, that's it!
I don't know about the FTP transfer but the files are definitely all in lowercase in the original ZIP file. I know that's not important on a Windows system but in Linux filenames are case sensitive. The ZIP file should be fixed with the correct case or even better, have the scripts all refer to file names in a consistent case.

Brian
08-30-2006, 12:45 PM
The files are in the correct case in the zip file. Perhaps the program/process you used to uncompact the file converted them to all lower-case?