| Bug: leading slash needed [message #58487] |
Fri, 06 March 2009 14:59  |
com2  Messages: 1120 Registered: August 2007 Location: Spain |
Senior Master Developer |
|
|
When you install an application in a folder of the domainroot, you can indicate that in the install form. So I put moodledemo there. When I go to the installed site it fails with the following error message:
| Quote: | Fatal error: require_once() [function.require]: Failed opening required '/home/admin/mydomain.commoodledemo/lib/setup.php' (include_path='.:/usr/share/pear/') in /home/admin/mydomain.com/moodledemo/config.php on line 21
|
As you can see in the require_once path there is no slash between the domain and the folder name.
Since in the install form the slash is already there, I did not think you would need to put it. If you have to put it twice (one slash outside and one slash in the field), then I do not consider that very intuitive and rather confusing for the user. Please fix this!
[Updated on: Fri, 06 March 2009 15:00] Report message to a moderator
|
|
|
|
| Re: Bug: leading slash needed [message #58511 is a reply to message #58489] |
Sat, 07 March 2009 02:00  |
Lxhelp Messages: 23691 Registered: July 2006 |
The Champion |
|
|
For now, you will have to use Itron. Installapp is undergoing a complete overhaul.
On Fri, Mar 06, 2009 at 08:08:22PM -0000, com2 wrote:
>
>
> Even when you install moodle with a leading slash like in /moodledemo, still it will give the same error message when you visit the site. Please fix this indeed, because all installations in a folder will end up broken this way.
>
|
|
|