Make tiki-mods.php report more detailed error
- Status
- Closed
- Subject
- Make tiki-mods.php report more detailed error
- Version
- 1.9.x
- Category
- Error
- Usability
- Feature
- Administration
Installer (profiles, upgrades and server-related issues)
Mods - Resolution status
- Out of Date
- Submitted by
- Fabián Rodríguez
- Lastmod by
- Marc Laporte
- Rating
- Description
When going to Admin mods (tiki-mods.php) on a new install, make it report the directory name when the mods directory hasn't been created or lacks correct permissions.
The error reported asks to run ./setup.sh but is not specific about the directory affected here. This would be helpful to manually fix the individual directory instead of running ./setup.sh (which may not be possible in some situations like FTP installs).
- Solution
Around line 24, changethe line after:
if (!is_writable($mods_dir)) {to:
$smarty->assign('msg', tra("$mods_dir has wrong permissions or could not be created. You need to run setup$ $smarty->display("error.tpl");- Importance
- 5
- Priority
- 25
- 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
- 551
- Created
- Wednesday 19 April, 2006 02:32:00 UTC
by Unknown - LastModif
- Monday 11 October, 2021 11:30:23 UTC