CamGirlScheduler Documentation

CamGirlScheduler Documentation *

Description *

Installation *

Description

This script was written for Venus at http://landofvenus.com and is still in full use there. The script does exactly what it says it does. It is a simple to use and maintain Cam Girl Scheduler for their websites. It allows for an unlimited number of girls, and keeps a global database of everyone using it that you can link to for some major league links for your surfers.

The administration is simple and efficient and leaves nothing to the imagination. The whole script is template driven so you can easily make it look exactly how you want it to look.

This allows for images to be uploaded of all girls as well as whether or not to have direct links to their sites or bios.

This comes in 2 flavors, flatfile text database, and mysql database, use whichever one is best for you.

Installation

Regular Version

Step #1: Edit the CONFIG.txt file. Open this file with a text editor (such as notepad). Make sure $templatepath and all of the other options are correct. If they are incorrect this script will not function correctly!

Step #2: Modify the templates in the templates directory to look the way that you want them to. There are tokens in the templates like $blah$, leave them there and work with the HTML around them (unless you know they aren't needed).

Step #3: If you haven't already uploaded all of this to your server then do so now. Upload all .cgi and .pm files, the CONFIG.txt file,and the whole templates directory. This file isn't needed, but it is a good file to keep around.

Now connect to your server now and setup all of the correct file permissions.
All of the *.cgi files should be executeable (755), and the users and times files should be world readable and writable (777).
(either telnet or ssh, also some ftp clients allow changing of file permissions)

$ cd directory_you_uploaded_to
$ chmod 755 *.cgi
$ chmod 666 users times
$ chmod 755 templates templates/admin

All the directories should have execute permissions.

Step #4: Everything should be setup correctly at this point. To test this open a web browser and go to http://www.yoursite.com/path/to/admin.cgi Verify that it works by logging in as "admin" with password "default". Also verify that you can go to users.cgi and view.cgi without errors.

Note: It is *highly* recommended that you change your admin password immediately after setting up this script.

Refer to the troubleshooting section below if you have any problems.

[TROUBLESHOOTING]

* check your webserver error_log file. This is commonly in a logs directory of your user area, a public directory like /var/log or in the logs directory of your webserver.

View the last lines in this log file from your server using a command like
$ tail /path/to/error_log

These errors will help a great deal when troubleshooting.

* If you get errors about "Unable to open file..." double check that you have the correct paths in your CONFIG file and that they have the correct file permissions.

* If the error is about "No such file or directory..." it is possible that the first line of all the .cgi and the setup_sql files need to be changed from
#!/usr/bin/perl to #!/path/to/perl (Such as /usr/local/bin/perl)
You can find out where perl is located by typing this at the prompt:
$ which perl
If that doesn't work and you are still unsure, contact your system admin.

* If you need to reset a password for the admin accnt, you can either upload the users file included with this .zip (that will erase all other users) or you will need to manually edit the users file. To do this, find the line that says "admin::KR6qSU/taMkbM" or similar, and replace the KR6qSU/taMkbM with IIceyUFYXJffE. Now save the file. This will set the current admin pass to "default"


MySQL Version

Step #1: Edit the CONFIG file.
Open this file with a text editor.
for example (UNIX): $ pico CONFIG
If you are using a Windows operating system, notepad will suffice.

Make sure $templatepath and all of the MySQL options are correct. If they are incorrect this script will not function correctly!

Step #2: Modify the templates in the templates directory to look the way that you want them to. There are tokens in the templates like $blah$, leave them there and work with the HTML around them (unless you know they aren't needed).

Step #3: If you haven't already uploaded all of this to your server then do so now. Upload all .cgi and .pm files, the CONFIG file, the setup_sql script and the whole templates directory. This file isn't needed, but it is a good file to keep around.

Now connect to your server now and make all the .cgi files, TimeDate-1.10.tar.gz, and the setup_sql file readable and executeable.
(either telnet or ssh, also some ftp clients allow changing of file permissions)
$ cd directory_you_uploaded_to
$ chmod 755 *.cgi setup_sql
$ chmod 755 templates templates/admin

All the directories should have execute permissions.

Step #4: Create the SQL databases by running the setup_sql script.
$ ./setup_sql

This command should run correctly and not give any errors. If there are any errors double check that the correct options were used in the CONFIG file, and that MySQL is setup correctly.

It is possible you may need to be root for this script, if your SQL user is unable to create databases edit the CONFIG file to use the root account and root password to create this script. After you have created these scripts then you will want to change them back to your SQL username and password. If you do not know the root password then you will need to contact your systems administrator.

Refer to the troubleshooting section at the bottom of this document if this script gives you any errors.

Step #5: Everything should be setup correctly at this point. To test this open a web browser and go to http://www.yoursite.com/path/to/admin.cgi Verify that it works by logging in as "admin" with password "default". Also verify that you can go to users.cgi and view.cgi without errors.

Note: It is *highly* recommended that you change your admin password immediately after setting up this script.

Refer to the troubleshooting section below if you have any problems.

[TROUBLESHOOTING]
* check your webserver error_log file. This is commonly in a logs directory of your user area, a public directory like /var/log or in the logs directory of your webserver.

View the last lines in this log file from your server using a command like
$ tail /path/to/error_log

These errors will help a great deal when troubleshooting.

* If you get errors about "Unable to open file..." double check that you have the correct paths in your CONFIG file and that they have the correct file permissions.

* If the error is about "No such file or directory..." it is possible that the first line of all the .cgi and the setup_sql files need to be changed from
#!/usr/bin/perl to #!/path/to/perl (Such as /usr/local/bin/perl)
You can find out where perl is located by typing this at the prompt:
$ which perl
If that doesn't work and you are still unsure, contact your system admin.

* There are numerous errors you could get caused by MySQL. These are a bit harder to troubleshoot. Check that the options in your CONFIG file are correct and contact your system administrator.

* If there is an error about not being able to locate the Time::Zone perl module, then you will need to install this (or have your system admin do it).
To install this module yourself first download it. You can find it at
http://www.perl.com/CPAN/authors/id/GBARR/TimeDate-1.10.tar.gz
After you have downloaded it, you will need to untar/ungzip it.
$ tar -xzvf TimeDate-1.10.tar.gz
Then go into the TimeDate directory.
$ cd TimeDate-1.10
And follow these three steps.
$ perl Makefile.PL
$ make
$ make test

If you have root on the system you may now type this at the prompt.
$ make install

If not you will need to do these steps.
$ mkdir /path/to/schedule/Time
$ cp blib/lib/Time/Zone.pm /path/to/schedule/Time
(Adjust commands accordingly)

Proud suppliers of perl cgi and php applications created from the webmasters point of view. PerlCoders supplies top quality CGI scripts at membership warehouse prices every day. This is the only webmaster resource you need to build traffic and add interactive content to any website.

Need custom programming or website development? We do it all. Just use our contact form and let us know what you need.

Perlcoders.com - Copyright © 2003 by PerlCoders Group
Privacy policy       Licensing policy       Site Usage Terms
Not a member yet?
Click Here
User:
Pass:
I forgot my password
  HomePage
Current News
Our Products
Our Services
FAQ & Docs
Support
Contact
Make Money!
Affiliate Login
 
Right now get access at a special rate of only $160 which includes more than 156 of our top quality CGI scripts and get deep discounts on many others. You also get full access to our members area which is slam packed with webmaster goodies.

  · Read more...


 
Get the latest News at
the Perlcoders group.

 
What our clients say
Tell us what you think
Projects in the works
Free scripts to members
Free self help ebooks
Free Tip of the Day
Free Support
Custom programming
Cellulean
Myth of Caesar
SEO Resources
Google Forum
SEO Forum
Image Hosting
Click here to join ArticleDistribution
Click to join Article Distribution