RequirementsWorship Planner QR requires a web server running MySQL and PHP 4.3 or newer. It has been tested most extensively with the Apache web server, but also used successfully on some Windows servers. Version 0.9 was updated to resolve some problems associated with changes in the default settings in PHP 5. Testing on my systems indicates that all features are working properly, but please let me know if you experience problems. Version 0.95 has some improved security, and a better email feature. DownloadingThe current version can be obtained from this site. If, for some reason you want to obtain an old version you can go to the old worship planner site: http://www.worshipplanner.net. InstallationFirst-Time InstallationInstallation is fairly straightforward if you know how to create a database on your web host. Here are the required steps: - Create a MySQL database to hold the information for Worship Planner QR. Call the database whatever you like, as long as you can remember the name. Next, create a user and password, granting access to the database you created.
- Download the source files, and unzip them to any folder you like on your web server (we will assume the folder is called <your web page url>/WorshipPlanner. Also create a directory to which sheet music can be uploaded. You will have to give write permissions on this directory by using the user interface provided by your hosting company, or using chmod 777 <directory name>
- Modify the file var_config.php in a text editor, filling in the appropriate database name, user name, password, etc. You must also specify the date on which the script will begin creating records. This must be a Sunday, or Saturday, or whichever day you hold your worship gatherings! Most likely this will be next Saturday or Sunday's date. You should specify an end date that is a few years in the future (though it is possible to add more dates at a later time by repeating some of these steps)
- Once you've done this, and the files are on your web server, open the document called createtables.php. Assuming you used the directory name given above, you would type in your web browser location bar: http://<your web page url>/WorshipPlanner/createtables.php
- Next open the file createdates.php in the same manner.
- Finally go to <your web page url>/WorshipPlanner, or the directory where you installed Worship Planner QR. Log in with the default user name Admin and password admin. For security you should change the password. You could also change the permissions on the files createtables.php and createdates.php using chmod 400 so that no one can open these files at a later time.
You're ready to start using the program! If you encounter errors, please contact me so I can make Worship Planner QR better for everyone! Upgrading from a Previous Version- Make sure you record your settings from var_config.php (In a future version hopefully I will have the capability to automatically transfer your settings, but for now you'll have to re-enter them. Sorry!)
- Download and unzip the new version, update your settings in var_config.php, and upload to your server.
- Run the script upgrade.php, which will add some database tables. You should be ready to go!
|
I've got this running on my site, and i really like it. I have alot of people involved so when I go to the availability table, it stretches far to the right of the screen. Is it possible to flip the table the other direction so that the date is on the top and the peoples names are on the side?
I had to modify the users.php because it was failing to add a new person.
You need to change:
$query = "INSERT INTO ". $Personnel; $query.= " (UID, Name, PhoneAdd, Email, Password, AuthLevel) "; $query.= " Values ('','$newName','$newPhoneAdd','$newEmail','$cryptpass','$newAuth')"; $result = mysql_query($query);to read:
$query = "INSERT INTO ". $Personnel; $query.= " (Name, PhoneAdd, Email, Password, AuthLevel) "; $query.= " Values ('$newName','$newPhoneAdd','$newEmail','$cryptpass','$newAuth')"; $result = mysql_query($query);You have to remove the UID and the respective '' to get the auto increment feature to work.
Thank you for that observation. Version 1.17beta should fix this problem.
Aaron, I have run this uing xxamp on my pc but have now tried to run it on a host server with problems. I have created tables and dates for mysql as you instructions say with success. However I get to errors running this online with NXserve.net. This is what I get :-
Warning: require_once(class.WorshipPlanner?.php) function.require-once?: failed to open stream: No such file or directory in /home2/planner/public_html/header.php on line 6
Fatal error: require_once() function.require?: Failed opening required 'class.WorshipPlanner?.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/planner/public_html/header.php on line 6
I don't understand both files header and worshipplanner are in the directory with everything else?
Hope you can help
James
As we discussed over email, make sure your FTP client did not force all the filenames to lower case.
Aaron, thanks for making this tool. I'm having a problem with the chmod 777 permissions. My hosting provider won't allow me to do 777 permissions without paying for my own dedicated server. Is there any way around this?
Thanks for a wonderful tool. I have a large song base,is there a way of uploading multiple files, then using a listing script to automatically list them. I know a download script from the community that lists everything in a given directory. The there would be no need to name each song that is uploaded, but instead use the filename for both song name and download link. I can give you a link to my site if it make it any clearer
I got this error when running createtables.php
Creating table Availability...Create table failedCreating table Dates...Create table failedCreating table Personnel... Notice: Undefined variable: tvhnEHSKDq0p in C:\wamp\www\WPQR\createtables.php on line 42 Create table failedCreating table SchedDates?...Create table failedCreating table Sheetmusic...Create table failedCreating table SongDates?...Create table failedCreating table Songs...Create table failedCreating table SongLinks?...Create table failedCreating table WorshipTeam?...Create table failedCreating default user Admin...Creation of Admin user failed
still don't have any idea what's wrong