17488 Posts in 4473 Topics by 1978 members
| Go to End | Next > | |
| Author | Topic: | 4714 Views |
-
Problem installing silverstripe 2.2.2

9 July 2008 at 9:23am
I am trying to install silverstripe on a webserver. The first time i get to the website i got the form where I fill in all information. I got green lights for all the checks When i click the install button i get the following error. I am a total nwebie on php so i am really confused how to solve this.
Installing SilverStripe...
I am now running through the installation steps (this should take about 30 seconds)
If you receive a fatal error, refresh this page to continue the installation
# Creating 'tutorial/_config.php'...
# Creating /home/userA/a0933500/public_html/horsintranet.se/tutorial/_config.php
# Creating '.htaccess' file...
# Creating /home/userA/a0933500/public_html/horsintranet.se/.htaccess
# Building database schema...Warning: scandir(/home/userA/a0933500/public_html/horsintranet.se) [function.scandir]: failed to open dir: Permission denied in /home/userA/a0933500/public_html/horsintranet.se/sapphire/core/ManifestBuilder.php on line 95
Warning: scandir() [function.scandir]: (errno 13): Permission denied in /home/userA/a0933500/public_html/horsintranet.se/sapphire/core/ManifestBuilder.php on line 95
Warning: Invalid argument supplied for foreach() in /home/userA/a0933500/public_html/horsintranet.se/sapphire/core/ManifestBuilder.php on line 96
Warning: scandir(/home/userA/a0933500/public_html/horsintranet.se) [function.scandir]: failed to open dir: Permission denied in /home/userA/a0933500/public_html/horsintranet.se/sapphire/core/ManifestBuilder.php on line 117
Warning: scandir() [function.scandir]: (errno 13): Permission denied in /home/userA/a0933500/public_html/horsintranet.se/sapphire/core/ManifestBuilder.php on line 117
Warning: Invalid argument supplied for foreach() in /home/userA/a0933500/public_html/horsintranet.se/sapphire/core/ManifestBuilder.php on line 118
Warning: scandir(/home/userA/a0933500/public_html/horsintranet.se) [function.scandir]: failed to open dir: Permission denied in /home/userA/a0933500/public_html/horsintranet.se/sapphire/core/ManifestBuilder.php on line 140
Warning: scandir() [function.scandir]: (errno 13): Permission denied in /home/userA/a0933500/public_html/horsintranet.se/sapphire/core/ManifestBuilder.php on line 140
Warning: Invalid argument supplied for foreach() in /home/userA/a0933500/public_html/horsintranet.se/sapphire/core/ManifestBuilder.php on line 141
Warning: $project isn't set in /home/userA/a0933500/public_html/horsintranet.se/sapphire/core/ManifestBuilder.php on line 154
Warning: scandir(/home/userA/a0933500/public_html/horsintranet.se) [function.scandir]: failed to open dir: Permission denied in /home/userA/a0933500/public_html/horsintranet.se/sapphire/core/ManifestBuilder.php on line 161
Warning: scandir() [function.scandir]: (errno 13): Permission denied in /home/userA/a0933500/public_html/horsintranet.se/sapphire/core/ManifestBuilder.php on line 161
Warning: Invalid argument supplied for foreach() in /home/userA/a0933500/public_html/horsintranet.se/sapphire/core/ManifestBuilder.php on line 162
Warning: scandir(/home/userA/a0933500/public_html/horsintranet.se/) [function.scandir]: failed to open dir: Permission denied in /home/userA/a0933500/public_html/horsintranet.se/sapphire/core/ManifestBuilder.php on line 272
Warning: scandir() [function.scandir]: (errno 13): Permission denied in /home/userA/a0933500/public_html/horsintranet.se/sapphire/core/ManifestBuilder.php on line 272
Fatal error: Class 'DB' not found in /home/userA/a0933500/public_html/horsintranet.se/sapphire/core/ManifestBuilder.php on line 185
-
Re: Problem installing silverstripe 2.2.2

9 July 2008 at 10:38am
Hey there - make sure all the sapphire directores/files are readable.
eg, from /home/userA/a0933500/public_html/horsintranet.se/:
chmod a+r sapphire -R
then try again.
Cheers
-
Re: Problem installing silverstripe 2.2.2

9 July 2008 at 10:20pm Last edited: 9 July 2008 10:22pm
Hi HanSolo:
I´m having similar problems, but moving a SS site (2.2.1) fron development server to production server.
There are my errors:Warning: scandir() [function.scandir]: open_basedir restriction in effect. File(/var/www/hosting/mysite.com/www.mysite.com) is not within the allowed path(s): (/var/www/hosting/mysite.com/www.mysite.com/:/tmp:/usr/share/pear:/var/www/html/w3virtual/phpMyAdmin) in /var/www/hosting/mysite.com/www.mysite.com/sapphire/core/ManifestBuilder.php on line 95
Warning: scandir(/var/www/hosting/mysite.com/www.mysite.com) [function.scandir]: failed to open dir: Operation not permitted in /var/www/hosting/mysite.com/www.mysite.com/sapphire/core/ManifestBuilder.php on line 95
Warning: scandir() [function.scandir]: (errno 1): Operation not permitted in /var/www/hosting/mysite.com/www.mysite.com/sapphire/core/ManifestBuilder.php on line 95
Warning: Invalid argument supplied for foreach() in /var/www/hosting/mysite.com/www.mysite.com/sapphire/core/ManifestBuilder.php on line 96
Warning: scandir() [function.scandir]: open_basedir restriction in effect. File(/var/www/hosting/mysite.com/www.mysite.com) is not within the allowed path(s): (/var/www/hosting/mysite.com/www.mysite.com/:/tmp:/usr/share/pear:/var/www/html/w3virtual/phpMyAdmin) in /var/www/hosting/mysite.com/www.mysite.com/sapphire/core/ManifestBuilder.php on line 115
Warning: scandir(/var/www/hosting/mysite.com/www.mysite.com) [function.scandir]: failed to open dir: Operation not permitted in /var/www/hosting/mysite.com/www.mysite.com/sapphire/core/ManifestBuilder.php on line 115
Warning: scandir() [function.scandir]: (errno 1): Operation not permitted in /var/www/hosting/mysite.com/www.mysite.com/sapphire/core/ManifestBuilder.php on line 115
Warning: Invalid argument supplied for foreach() in /var/www/hosting/mysite.com/www.mysite.com/sapphire/core/ManifestBuilder.php on line 116
Warning: scandir() [function.scandir]: open_basedir restriction in effect. File(/var/www/hosting/mysite.com/www.mysite.com) is not within the allowed path(s): (/var/www/hosting/mysite.com/www.mysite.com/:/tmp:/usr/share/pear:/var/www/html/w3virtual/phpMyAdmin) in /var/www/hosting/mysite.com/www.mysite.com/sapphire/core/ManifestBuilder.php on line 137
Warning: scandir(/var/www/hosting/mysite.com/www.mysite.com) [function.scandir]: failed to open dir: Operation not permitted in /var/www/hosting/mysite.com/www.mysite.com/sapphire/core/ManifestBuilder.php on line 137
Warning: scandir() [function.scandir]: (errno 1): Operation not permitted in /var/www/hosting/mysite.com/www.mysite.com/sapphire/core/ManifestBuilder.php on line 137
Warning: Invalid argument supplied for foreach() in /var/www/hosting/mysite.com/www.mysite.com/sapphire/core/ManifestBuilder.php on line 138
Warning: $project isn't set in /var/www/hosting/mysite.com/www.mysite.com/sapphire/core/ManifestBuilder.php on line 150
Warning: scandir() [function.scandir]: open_basedir restriction in effect. File(/var/www/hosting/mysite.com/www.mysite.com) is not within the allowed path(s): (/var/www/hosting/mysite.com/www.mysite.com/:/tmp:/usr/share/pear:/var/www/html/w3virtual/phpMyAdmin) in /var/www/hosting/mysite.com/www.mysite.com/sapphire/core/ManifestBuilder.php on line 157
Warning: scandir(/var/www/hosting/mysite.com/www.mysite.com) [function.scandir]: failed to open dir: Operation not permitted in /var/www/hosting/mysite.com/www.mysite.com/sapphire/core/ManifestBuilder.php on line 157
Warning: scandir() [function.scandir]: (errno 1): Operation not permitted in /var/www/hosting/mysite.com/www.mysite.com/sapphire/core/ManifestBuilder.php on line 157
Warning: Invalid argument supplied for foreach() in /var/www/hosting/mysite.com/www.mysite.com/sapphire/core/ManifestBuilder.php on line 158
Fatal error: Class 'DB' not found in /var/www/hosting/mysite.com/www.mysite.com/sapphire/core/ManifestBuilder.php on line 181
I uploaded all the files by FTP and i check that all the files in sapphire are readable by all.
Someone has an idea to solve this?By the way, i don´t understand why install.php is ejecuted if i change correctly database info in _config.php....
-
Re: Problem installing silverstripe 2.2.2

10 July 2008 at 2:13am
I chnaged the attributes on the sapphire folder and now I get the following error, less errors but it is errors still
# Creating 'mysite/_config.php'...
# Creating /home/userA/a0933500/public_html/horsintranet.se/mysite/_config.php
# Creating '.htaccess' file...
# Creating /home/userA/a0933500/public_html/horsintranet.se/.htaccess
Warning: chdir() [function.chdir]: Permission denied (errno 13) in /home/userA/a0933500/public_html/horsintranet.se/install.php on line 667Warning: Installer::require_once(core/Core.php) [function.Installer-require-once]: failed to open stream: No such file or directory in /home/userA/a0933500/public_html/horsintranet.se/install.php on line 669
Fatal error: Installer::require_once() [function.require]: Failed opening required 'core/Core.php' (include_path='.:/usr/local/lib/php') in /home/userA/a0933500/public_html/horsintranet.se/install.php on line 669
-
Re: Problem installing silverstripe 2.2.2

11 July 2008 at 2:40am
Do anyone have a solution for this, would be very greatful.
Joakim -
Re: Problem installing silverstripe 2.2.2

11 July 2008 at 9:08pm Last edited: 11 July 2008 9:09pm
You might have to change the attributes on all the folders and files not just sapphire. Eg for the .htaccess looks like you might have write access for it?
-
Re: Problem installing silverstripe 2.2.2

11 July 2008 at 9:47pm
Hi
now i set all the folders and files to write, execute and read.
and i got this errorInstalling SilverStripe...
I am now running through the installation steps (this should take about 30 seconds)
If you receive a fatal error, refresh this page to continue the installation
# Creating 'mysite/_config.php'...
# Creating /home/userA/a0933500/public_html/horsintranet.se/mysite/_config.php
# Creating '.htaccess' file...
# Creating /home/userA/a0933500/public_html/horsintranet.se/.htaccess
# Building database schema...Parse error: syntax error, unexpected '<', expecting T_STRING in /home/userA/a0933500/public_html/horsintranet.se/sapphire/core/model/ComponentSet.php on line 291
Any one got a clue whats wrong?
-
Re: Problem installing silverstripe 2.2.2

11 July 2008 at 9:59pm
Well as the error says - syntax error on line 291 would be my guess!! lol. Any thing strange on that line in that file
| 4714 Views | ||
| Go to Top | Next > |



