failed to set proper "include_path" in tw 1.9.8.x
- Status
- Closed
- Subject
- failed to set proper "include_path" in tw 1.9.8.x
- Version
- 1.9.x
2.x - Category
- Error
- Feature
- Infrastructure
Installer (profiles, upgrades and server-related issues) - Resolution status
- Out of Date
- Submitted by
- bobcatt
- Lastmod by
- Bernard Sfez / Tiki Specialist
- Rating
- Description
Hello
I had a lot of warning when i upgraded to tw 1.9.8.1 this morning.
It talked about include_once() problem and include_path.Many things to say about:
php in safe_mode (deprecated) cannot modify ini value !
ini value set in apache conf with php_admin_value cannot be modified !all scripts using "TikiInit::prependIncludePath()" have to check the return value of the method because init_set and set_include_path can return FALSE.
In this case, an error message should be printed to the user, and/or logged.Here is a list of files using this method.
- db/tiki-db.php
- tiki-install.php
- tiki-setup.php- Solution
A better solution is probably creating a similar function to use in replacement of include_once().
for exemple :
tw_include_once() that does all the jobs.- 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
- 1376
- Created
- Monday 15 October, 2007 15:57:50 UTC
by Unknown - LastModif
- Tuesday 02 November, 2021 13:05:24 UTC