17488 Posts in 4473 Topics by 1978 members
| Go to End | Next > | |
| Author | Topic: | 25004 Views |
-
Cant Install Silverstripe

26 July 2007 at 1:14am
Hello! I am trying to install Silverstripe on my Godaddy.com hosted site. When I point my browser to the default Siverstripe folder on the server I get..
Call to undefined function: posix_getpwuid() in /home/content/j/v/i/jvvvv/html/silverstripe-v2.0.2b/install.php on line 307
I can install Joomla no problems so I guess my environment should be OK?
Any Tips?
Thanks
Jason
-
Re: Cant Install Silverstripe

26 July 2007 at 1:33am
It seems you don't have posix installed, which is odd... it is a normal php module enabled by default.
-
Re: Cant Install Silverstripe

28 July 2007 at 8:20am
You can get around this by editing install.php and making the function that calls posix_getpwuid() just return true.
It will mean that the installer won't be able to check if your file permissions are okay.
-
Re: Cant Install Silverstripe

28 July 2007 at 3:26pm
I had a hangup with Godaddy, then i checked the PHP settings and found it by default was set for PHP 4. The work around was to open open the ".htaccess" file at the root of the install and add the following:
AddHandler x-httpd-php5 .php
AddHandler x-httpd-php .php4Save it back in the root in the Silverstrip folder. I added a copy of this file to this post.
Then I closed the browser and waited for the cache to recycle (roughly every hour they reset at godaddy.com) and installed perfectly. One more thing you might check is that it is MySQL 5.0 vs. 4.1. They give you options for both, but by default is 4.1.
I hope that can help you along.
-
Re: Cant Install Silverstripe

1 September 2007 at 4:58pm Last edited: 1 September 2007 4:59pm
I seem to be having the same problem at GoDaddy.com with my hosted account. I have made the change to .htaccess in the root directory, but I am still getting the same error.
Should I have copies of .htaccess elsewhere in the file tree?
I will try to make the change to the install.php to return true, but I am not a php expert, so any advice on how to do this would be helpful.
Thanks,
Marc
-
Re: Cant Install Silverstripe

1 September 2007 at 6:05pm Last edited: 2 September 2007 5:05am
Sorry, posted twice. See new post in Bugs..
-
Re: Cant Install Silverstripe

7 February 2008 at 12:55pm
Here is a full write up for installing SS on Godaddy:
http://www.coupleofcents.com/installing-silverstripe-cms-on-godaddy
-
Re: Cant Install Silverstripe

7 February 2008 at 3:46pm
I followed the steps in the above given link but i am still getting the HTTP 404 not found error. This is what my .htaccess file looks like:
AddHandler x-httpd-php5 .php
AddHandler x-httpd-php .php4
RewriteEngine On### SILVERSTRIPE START ###
RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$
RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* /sapphire/main.php?url=%1&%{QUERY_STRING} [L]
### SILVERSTRIPE END ###I've silverstripe folder in my root directory. I would appreciate if someone could help me with this, thank you!
| 25004 Views | ||
| Go to Top | Next > |





