LxCenter HyperVM & Kloxo Support

Forum



Members   Search      Help    Register    Login    Home
Home » Archive » LxAdmin » InstallApp And Permalink » Bug: leading slash needed(moodle installs incorrectly when you forget it. )
Bug: leading slash needed [message #58487] Fri, 06 March 2009 14:59 Go to next message
com2 is currently offline com2  Spain
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 #58489 is a reply to message #58487] Fri, 06 March 2009 15:08 Go to previous messageGo to next message
com2 is currently offline com2  Spain
Messages: 1120
Registered: August 2007
Location: Spain
Senior Master
Developer
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.
Re: Bug: leading slash needed [message #58511 is a reply to message #58489] Sat, 07 March 2009 02:00 Go to previous message
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.
>


Previous Topic:could_not_copy_to_domain_root again
Next Topic:Domain owner can choose APPS depend on the resource plan?
Goto Forum:
  


Current Time: Sat May 25 22:35:02 EDT 2013

Total time taken to generate the page: 0.01068 seconds
.:: Contact :: Home :: Privacy ::.

Click here to lend your support to: LxCenter and make a donation at www.pledgie.com !

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software