Game Development Community

Overlord Managment System - FYI

by StuporMundi · in General Add-On Discussion · 02/02/2011 (9:57 am) · 0 replies

I recently set this system up but couldn't login. I got the following message:

Warning: main(/C:\Domains\mywebsite.com\wwwroot\overlord\/core/api.php) [function.main]: failed to open stream: Invalid argument in C:\Domains\mywebsite.com\wwwroot\overlord\index.php on line 56

For anyone having similar problems here's the solution:
The site path was incorrect in the configuration database table. It had a slash before the C: (I have no idea why).

Using your database management system at your web host, you just open the table that ends in "config" and look for the record with the path in to change.

It also seems to work fine if the overlord folder contents are put into the root, but there are problems if the path references the overlord folder - the urls are looking at the wrong path. Also, it may be necessary to change the server name in the installation - it is set as 'localhost', however, many hosting company servers are not 'localhost', there were no instructions to this effect.

I know this should be put on the Overlord site but the forums there have no filter and are full of junk messages, and the support did not answer any queries. As Overlord is on sale here, I thought maybe this might help a few people.