Test for PHP5 and provide graceful error message
- Status
- Closed
- Subject
- Test for PHP5 and provide graceful error message
- Version
- 2.x
3.x - Category
- Error
- Feature
- All / Undefined
Installer (profiles, upgrades and server-related issues)
Infrastructure
TikiTests - Resolution status
- Fixed or Solved
- Submitted by
- Marc Laporte
- Lastmod by
- nyloth
- Rating
- Description
Suggested message if PHP5 is not detected:
TikiWiki 3.0 requires PHP 5.x
Your currently detected PHP version is: (versionnumber)
Please contact your web host to request an upgrade. If there is no way you can have PHP 5.x, please use Tiki 2.x instead. Some features in Tiki 2.x, such as profiles and TikiTests require PHP5, but all the other hundreds of features work perfectly with PHP 4.1+
For more information:
http://www.gophp5.org/
http://tikiwiki.org/
(9:59:42 AM) marclaporte: turning on TikiTests crashed by site :
(9:59:42 AM) marclaporte: Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/profiles/public_html/tiki_tests/tikitestslib.php on line 59
(9:59:53 AM) marclaporte: I suspect because I don't have php5
(10:00:01 AM) marclaporte: http://profiles.tikiwiki.org/
- Solution
branches/3.0 is now better.
index.php redirects to tiki-install.php and you get the PHP5
(Note: This redirection is made for every php script that includes tiki-setup.php, so we can consider that it's done in nearly every places and that should be enough)
- Importance
- 9 high
- Priority
- 45
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 1804
- Created
- Tuesday 03 June, 2008 20:25:30 UTC
by Unknown - LastModif
- Monday 20 April, 2009 07:38:03 UTC