VisitorLog

Frequently Asked Questions

See also: Shared FAQ


How do I configure/customize VisitorLog?
How do I change VisitorLog's styling?
How do I use the /visitors shortcut URL?
I get an Internal Server Error!
I get an error saying "undefined function virtual" or "request execution failed."
Can you add feature XYZ to VisitorLog?

  

How do I configure/customize VisitorLog?

Just edit your visitors_prefs.cgi file in a text editor.  This file is normally in your server's cgi-bin directory, or it may be in your visitors directory on Windows servers.  The prefs file contains many adjustable settings along with documentation for them.  You'll need to set the $PREF{database_*} settings right away, and you'll probably want to adjust the $PREF{enabled_output_widgets} setting, for example.

You'll notice that many lines in the prefs file begin with a "#" character.  These lines are inactive "comment" lines containing instructions and examples, so don't change anything on them, because it won't have any effect on VisitorLog.  If you see a pref that you want to adjust, but it's on an inactive line, that usually means it's just an example included as part of the documentation, so you should look for another instance of that same pref on a line that doesn't begin with a "#" character – that will be the active version of the pref, so that's the one you should adjust.

 

How do I change VisitorLog's styling?

To customize the styling (look and feel), adjust the CSS code in the $PREF{css} setting.  If you want to include an external CSS file, use a CSS @import statement:

$PREF{css} = qq`

\@import url("/mystylesheet.css");

[rest of VisitorLog's CSS here]

`;

Notice that the @-symbol on the @import statement must be escaped with a backslash, otherwise Perl will treat it as a variable, which will result in an error.

 

How do I use the /visitors shortcut URL?

On most servers, you can use www.yoursite.com/visitors instead of www.yoursite.com/cgi-bin/visitors.cgi to access VisitorLog.  But first, you must get the full visitors.cgi URL working.  Once that's working, you can try these shortcut URLs:

www.yoursite.com/visitors/index.php
www.yoursite.com/visitors/index.shtml

If one or both of those works, then delete the index file that doesn't work (if any), and then you should be able to use this shorter URL:

www.yoursite.com/visitors

If neither index page works, then try www.yoursite.com/visitors/call_vl.php instead.  If that works, then edit the index.php file, remove the "#" from the front of the call_vl line, and add a "#" to the front of the virtual line.  Now www.yoursite.com/visitors/index.php should work, and if you delete the index.shtml file, then www.yoursite.com/visitors should work too.

If your server runs IIS rather than Apache, you can also use the Default Content Page feature to enable the shortcut URL.  Open your IIS manager, find the /visitors/ directory, right-click on it and choose Properties.  Go to the Documents tab, check the "Enable default content page" box, and add "visitors.cgi" to the top of the list.

If your server doesn't support any of the above methods, and you don't want to upgrade to a better hosting company, then you can use the not-quite-as-nice META Refresh method.  Copy the /visitors/index-redirect.html file to /visitors/index.html and then edit the index.html file.  In it, replace "mysite.com" with your domain name.  Now yoursite.com/visitors will auto-redirect your visitors to yoursite.com/cgi-bin/visitors.cgi.

 

I get an Internal Server Error!

If this happens after you edit your visitors.cgi file, then the simple solution is: don't change visitors.cgi at all.  Instead, only edit visitors_prefs.cgi, as explained above.

But if you haven't edited your visitors.cgi file and you still get an Internal Server Error, or if you absolutely need to edit visitors.cgi, then see the Internal Server Error page for solutions to this problem, which is most likely caused by an installation issue and not a problem with VisitorLog itself.

 

I get an error saying "undefined function virtual" or "request execution failed."

The "undefined function virtual" error means your server doesn't support PHP's virtual() function.  This is only a minor issue, and it is not a problem with VisitorLog itself.  It just means you need to use a different method for calling VisitorLog from a shortcut URL.  (See the shortcut FAQ item for more details and alternatives to the virtual() function, but read the rest of this FAQ item first.)

The "request execution failed" error most likely means that your visitors.cgi isn't installed quite right.

Either way, the first thing to do is get VisitorLog itself installed and working: visit www.yoursite.com/cgi-bin/visitors.cgi and make sure that works.  Only after that works properly should you try to get the shortcut URLs working (www.yoursite.com/visitors/ or www.yoursite.com/visitors/index.php or www.yoursite.com/visitors/index.shtml).  If your visitors.cgi gives you an Internal Server Error, it's most likely a chmod/permissions problem, but see this page for full details on how to fix it.

 

Can you add feature XYZ to VisitorLog?

Yes, we can usually add custom features to VisitorLog; just contact us and ask.

Shopping Cart

Your cart is empty.

Client Quotes

Our members think your software is fantastic...  I would recommend your software and your company to anyone.  Thanks for all your help.  It has been a pleasure dealing with you.
– Tommy A.
I looked all over trying to find a simple cgi script.  I found that FileChucker was by far the best.  If you have issues with your hosting service's php.ini max upload size then this is the way to go.  Looking forward to future enhancements.
– Bob C.
I just wanted to say that yours is the first product that I've tested so far that hasn't failed on handling uploads.  This is going to work for a print company, so they are handling nothing but large files and all the other solutions I've tried so far have not been reliable.  So far yours has been 100% successful in my tests.
– Kevin H.
Thank you VERY much for all of your help.  You've really impressed me.  We have support agreements for other software that costs thousands of dollars / year (just for the support), and most of them aren't as helpful as you have been.
– Keith Y.
FileChucker is a great drop-in solution for file uploads, and worth every penny of its very reasonable cost.  Encodable's support is excellent to boot.
– Loren A.
FileChucker is working great...  Clients love it.  Vendors love it.  We love it.
– Gerry W.
The work, the thought and the organization you put into this app is incredible.
– Bruce C.
Why didn't I just do this from the get-go?  So much easier.  Thanks for your work.  FileChucker makes my work easier.
– Dominic M.
I just installed the demo of your product and got it up and running in no time.  I searched high and low for a decent login script and thank God I found yours.
– Adrian F.
The amount of customization in the program is incredible.  I was able to integrate it into my existing page layout relatively simply.  I was also able to easily customize the look/feel to match the current site.
– Jason M.
I just want to say you guys really stand alone in that you have a quality product and you provide genuine customer service.  It's sad but those qualities are seldom found separately, much less together.  Thanks again for your time and help.
– Alex S.
FileChucker is helping drive the backend of several high profile entertainment sites for people like Shania Twain and Dolly Parton.  We're also using it to drive backend file uploads for a multi-billion dollar banking institution.  It's a great product.  We've tried other "chucking" upload solutions with progress bars using flash and php, but nothing works as reliably as FileChucker.
– Michael W.
Just one word: Fantastic.  10-minute job to plug FileChucker into my app, and it now works a treat.  It's through the hard work by people like yourselves that make my job so much easier.  Congratulations on an outstanding product... Many many thanks.
– Sean F.
Nice script, it's saving the day on our project.
– Aaron W.
You've done a wonderful job with FileChucker and UserBase, and they have made a big difference to how our website runs.
– Nicholas H.
Thanks again for a great product and great support - beyond expectations.
– Greg S.
Do you know how rare it is to have a "canned" shopping cart that can easily do complex pricing options on a single item?  Basically, they don't exist!  I have looked.  Everywhere!  And the few that might even come close to CornerStore's functionality cost a fortune!
– Tashina P.