17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1457 Views |
-
I've nearly had enough...

4 April 2008 at 2:08pm Last edited: 4 April 2008 2:10pm
Ok, this is the 5th or 6th (I've lost count) attempt to do a fresh, clean SS install as I was getting funny errors and newly created folders within the "Files and Uploads" section weren't being stored.
The issue is after install I get this error:
Notice: Undefined offset: 0 in /var/www/htdocs/silverstripe/sapphire/core/SSViewer.php on line 144
Notice: Undefined offset: 0 in /var/www/htdocs/silverstripe/sapphire/core/SSViewer.php on line 144
Notice: Undefined offset: 0 in /var/www/htdocs/silverstripe/sapphire/core/SSViewer.php on line 144Here's what I did:
Silverstripe 2.2.1 (stable)
Linux (FC5)
Firefox 2.0.0.13
Apache 2.2.8
PHP 5.2.5
MySQL 4.1* Blew away previous SS installs.
* Blew away previous SS database.
* Installed freshly downloaded SS v2.2.1.tar.gz into docroot#> wget http://www.silverstripe.com/assets/downloads/PHPInstaller/silverstripe-v2.2.1.tar.gz
#> tar -zxf silverstripe-v2.2.1.tar.gz
#> mv silverstripe-v2.2.1 silverstripe ; cd silverstripe
#> chmod o+w tutorial/ assets/ mysite/ .htaccessmysql> CREATE DATABASE silverstripe;
Query OK, 1 row affected (0.00 sec)
mysql> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,ALTER ON silverstripe.* TO 'silverstripe'@'localhost' IDENTIFIED BY 'silverstripe';
Query OK, 0 rows affected (0.00 sec)
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)* Went to: http://my-domain.co.nz/silverstripe/
* Entered MySQL connection details --> "Re-check requirements" --> These database details look all good!
* Entered admin details under "SilverStripe Administration Account"
* Selected: Empty template, ready to begin the tutorial.
* Checked: Send information on my webserver to SilverStripe --> Selected: "Install Silverstripe" --> "Congratulations, SilverStripe has been successfully installed"
* Deleted install files.Notice: Undefined offset: 0 in /var/www/htdocs/silverstripe/sapphire/core/SSViewer.php on line 144
Notice: Undefined offset: 0 in /var/www/htdocs/silverstripe/sapphire/core/SSViewer.php on line 144
Notice: Undefined offset: 0 in /var/www/htdocs/silverstripe/sapphire/core/SSViewer.php on line 144Any ideas what the matter could be? I *really* want to give SS a chance, but it seems I get so far and I get some annoying error when doing something really straightforward....
Many thanks.
-
Re: I've nearly had enough...

4 April 2008 at 5:36pm
Try disabling dev mode, by either editing _config.php and removing the domain you're using or adding ?isDev=0 to the URL.
This should hide the notice level error messages.
-
Re: I've nearly had enough...

7 April 2008 at 9:26am
DUH! *slaps head* - turn off E_NOTICE...(I haven't coded in PHP in over2 years...does it show?...)
Cheers...
| 1457 Views | ||
|
Page:
1
|
Go to Top |

