phpScheduleIt
May 21, 2013, 11:26:24 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: phpScheduleIt 2.4.2 has been released!
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Problem when trying to run the install script  (Read 1684 times)
Mazi
Guest
« on: October 24, 2008, 09:09:41 AM »

Hey,
first let me say that this is a great product. Thumbs up for the developer(s)!

After some fiddling I succeeded to install this software at localhost. Now I am trying to install version 1.2.10 on a server and I stuck when calling the install script at http://www.cultureofpeace.de/raumverwaltung/install/. I get the following errors:

Warning: main() [function.main]: Unable to access constants.php in /home/www/htdocs/cultureofpeace.de/raumverwaltung/config/init.php on line 46

Warning: main(constants.php) [function.main]: failed to create stream: No such file or directory in /home/www/htdocs/cultureofpeace.de/raumverwaltung/config/init.php on line 46

Warning: main() [function.main]: Failed opening 'constants.php' for inclusion (include_path='') in /home/www/htdocs/cultureofpeace.de/raumverwaltung/config/init.php on line 46

Warning: main() [function.main]: Unable to access langs.php in /home/www/htdocs/cultureofpeace.de/raumverwaltung/config/init.php on line 47

Warning: main(langs.php) [function.main]: failed to create stream: No such file or directory in /home/www/htdocs/cultureofpeace.de/raumverwaltung/config/init.php on line 47

Warning: main() [function.main]: Failed opening 'langs.php' for inclusion (include_path='') in /home/www/htdocs/cultureofpeace.de/raumverwaltung/config/init.php on line 47

Fatal error: Call to undefined function: determine_language() in /home/www/htdocs/cultureofpeace.de/raumverwaltung/config/init.php on line 49


I have uploaded all files into the folder "raumverwaltung" and edited config.php according to the settings my provider told me. Safe mode is set to "1" in config.php.

You can take a look at the server configuration at http://www.cultureofpeace.de/phpinfo.php. According to what I read this meets the requirements.

I really appreciate any kind of help/tips because I have searched the forum for hours and I can't figure out what I have done wrong. At my local installation everything works fine and I can't wait to use this great software worlwide. If you need more information please let me know.

Thanks for your help,
Mazi
(www.limesurvey.org)
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #1 on: October 28, 2008, 01:58:50 PM »

It sounds like a permissions issue.  Are read permissions granted on the directory?
Logged
Mazi
Guest
« Reply #2 on: October 29, 2008, 07:28:19 AM »

Thanks for your reply, Nick!

I thought of permissions, too. The folder /install and /config are set to 777.

When setting permission of /config to 666 I get different error messages:

Warning: main() [function.main]: Unable to access /home/www/htdocs/cultureofpeace.de/raumverwaltung/lib/../config/config.php in /home/www/htdocs/cultureofpeace.de/raumverwaltung/lib/CmnFns.class.php on line 14

Warning: main(/home/www/htdocs/cultureofpeace.de/raumverwaltung/lib/../config/config.php) [function.main]: failed to create stream: Permission denied in /home/www/htdocs/cultureofpeace.de/raumverwaltung/lib/CmnFns.class.php on line 14

Fatal error: main() [function.main]: Failed opening required '/home/www/htdocs/cultureofpeace.de/raumverwaltung/lib/../config/config.php' (include_path='') in /home/www/htdocs/cultureofpeace.de/raumverwaltung/lib/CmnFns.class.php on line 14


Do I also have to set permissions for other folders? Any other ideas?

Thanks for your help, I really appreciate your efforts.

Mazi
« Last Edit: October 29, 2008, 07:31:14 AM by Mazi » Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #3 on: October 30, 2008, 02:03:17 PM »

From here, you just need to rename config.new.php to config.php in the config/ directory
Logged
Mazi
Guest
« Reply #4 on: October 30, 2008, 11:11:04 PM »

Of course I have done this as I had done at my local installation before. I opened config.new.php, edited the according settings (DB access and the like) and saved this file as config.php which is situated at the /config folder.

Deleting my edited config.php file and just renaming config.new.php to config.php within the /config folders results in exactly the same error messages as shown in my first post.

Any other ideas? I will definately ask my employer to donate if we get this running!

Regards,
Mazi
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #5 on: October 31, 2008, 02:04:09 PM »

Hmm, if the config file is properly named then I'm pretty much out of ideas.  You may want to contact your ISP to see if there is anything out of the ordinary with their PHP install/setup.
Logged
Mazi
Guest
« Reply #6 on: October 31, 2008, 05:32:12 PM »

 Embarrassed
You can take a look at the server configuration at http://www.cultureofpeace.de/phpinfo.php

Are there any known modules which cause problems?

As far as I have read PHP 4.3 should be sufficient to rund phpscheduleit?!

Do you think re-uploadig the files might solve this?

Thanks for your help,
Mazi
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #7 on: November 04, 2008, 09:37:05 AM »

The only thing I see that has any potential to cause problems is that safe mode is enabled.  There are many others who are running phpScheduleIt with safe mode enabled, though.
Logged
Mazi
Guest
« Reply #8 on: November 04, 2008, 12:49:04 PM »

I checked and changed safe_mode but this had no effect.

I tried to install this program at another server. When calling www.marcel-minke.de/rv/install I get to the install screen. After typing in DB username and password (which has to be correct since I checked by loging in to phpmyadmin on this server) I am redirected to the login screen again but there is just the language switch shown and no form fields.

When trying to access www.marcel-minke.de/rv (rv is the phpscheduleit folder) I get a 500 server error!? You can check server configuration at www.marcel-minke.de/test.php

I tried changing safe_mode but this had no effect. I also set the whole /rv folder to 777, no effect. I feel really desperate that I can't get this nice program running. Am I just too stupid? Any ideas what might be wrong.
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #9 on: November 05, 2008, 01:44:26 PM »

My only advice from here is to check your server's error logs.
Logged
Mazi
Guest
« Reply #10 on: November 09, 2008, 08:44:26 AM »

Unfortunately there are no errors in the logs at least at the second installation (www.marcel-minke.de/rv) which I can check  Cry

I also downloaded an older release (2.Cool but I get the same errors at both installations. I really don't know what I can try else.

Is there some kind of hosting service for phpscheduleit for people who have problems installing it?
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #11 on: November 11, 2008, 02:01:40 PM »

I've been running the demo off of www.brickhost.com for the past couple years without any problems.  I'd definitely recommend them if you're looking for a new hosting provider.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!