Cannot view Cowtacular pages

19 views
Skip to first unread message

ltasse

unread,
Apr 16, 2013, 11:44:13 AM4/16/13
to cowta...@googlegroups.com
Hello,

I've just installed Cowtacular on Ubuntu Linux server but I cannot view the pages.

When I type the Cowtacular web page (i.e. http://ipaddress/cowtacular) I get the initial page:


After selecting "Rep Interface" I get the login screen:


But the next page is blank.  The URL bar shows the following link:


Help?

Thanks.

Louis.

Chris VanHorn

unread,
Apr 16, 2013, 12:02:32 PM4/16/13
to cowta...@googlegroups.com
Hi Louis,

There is a minor bug in the current release (v0.51) that does not work with some of the newer versions of PHP.  Attached to this message is an updated lib.php file that you can drop into the global folder.  That will most likely resolve your issues.  Let me know if it doesn't.

I will be releasing an update of the software in the next month or two.  I always announce new releases on this forum and on twitter.

- Chris
cowtacular-lib-52.zip

ltasse

unread,
Apr 16, 2013, 1:39:09 PM4/16/13
to cowta...@googlegroups.com
Hello Chris,

Thank you for the prompt reply.

I've downloaded the lib.php file and moved into the /var/www/cowtacular directory and restarted the Apache daemon; unfortunately I got the same result: a blank page after the initial login.


Louis.

Chris VanHorn

unread,
Apr 16, 2013, 1:50:51 PM4/16/13
to cowta...@googlegroups.com
Hi Louis,

You will want to extract that zip file into the /var/www/cowtacular/global/ directory and overwrite the existing lib.php file.  You should not need to restart the Apache daemon after the change. 

You can also try turning on the PHP error messages that are usually blocked to help figure out the problem.  You can do this by running these commands:

echo php_flag display_errors on >>/var/www/cowtacular/.htaccess
echo php_value error_reporting 2039 >>/var/www/cowtacular/.htaccess

If that does not work, let me know which version of Ubuntu are you running and I will see if I can recreate the issue.

- Chris

ltasse

unread,
Apr 16, 2013, 4:27:21 PM4/16/13
to cowta...@googlegroups.com
Hello Chris,

The solution worked and now can view the application.

I am interested in the inventory part of the application, where can I find documentation on it.

Thanks again!  Great application!

Louis. 

Chris VanHorn

unread,
Apr 17, 2013, 10:46:43 AM4/17/13
to cowta...@googlegroups.com
Hi Louis,

Unfortunately the documentation for the system is rather lacking.  Are you looking at using the automatic inventory script?  If so, login to the application, goto Admin->Inventory Scripts.  Copy the contents of the box and paste it into a VBS file on your windows computer.  You will want to find and edit these lines:

' -------------------------------------------------------
' Configuration - Adjust these settings as needed
' -------------------------------------------------------
inventoryupdateurl = "http://cowtacular.com/deviceaudit.php"
debug = 0
GROUPID = 0

The inventoryupdateurl should be the URL to your system +/deviceaudit.php on the end.
The GROUPID should be set to what group you want new devices to default to.  If you go to Admin->Edit Lists and view the Groups list, you will see the valid values in the first column.

If you run that VBS script on any Windows 2000 or newer system, it should automatically create an inventory entry in your Cowtacular installation.

Sorry for the lack of documentation.  It is kind of on the back burner at the moment.

- Chris

Chris VanHorn

unread,
Apr 17, 2013, 10:47:34 AM4/17/13
to cowta...@googlegroups.com
Hi Louis,

Just so you know, you can create a .vbs file by using Windows Notepad and saving the file with the extension .vbs instead of .txt

- Chris
Reply all
Reply to author
Forward
0 new messages