Author |
Message |
Registered: April 6, 2007 | Posts: 39 |
| Posted: | | | | I used hostgator for 5 bucks a month, and i have no complaints.
SSH SQL PHP Cpanel Fantastico etc | | | |
|
Registered: March 13, 2007 | Reputation: | Posts: 2,217 |
| Posted: | | | | Quoting Doombear: Quote: My web provider wants an extra $15 a month for SQL services, so I'll probably give it a miss. The mentioned php-net.us free, so no reason not to have a second homepage for phpDVDProfiler alone. cya, Mithi | | | Mithi's little XSLT tinkering - the power of XML --- DVD-Profiler Mini-Wiki |
|
Registered: April 6, 2007 | Posts: 39 |
| Posted: | | | | well, true.
In my case, hostgator is SO much better than my current brazilian service, that I'm gonna migrate it all there. | | | |
|
Registered: March 13, 2007 | Posts: 360 |
| Posted: | | | | OK guys, I am back and a little closer. This is the latest errror after fixing what Fred saw in my localsiteconfig.php file. The password and user nameis XXXXXX out intentionallly.
rrencypriority is for controlling the cost-by-month graph. $onlycurrencypriority says don't // show currencies I don't list here. Otherwise, the graphs cycle through all of the available currencies //$onlycurrencypriority = false; //$currencypriority[0] = 'USD'; //$currencypriority[0] = 'CAD'; // Force form based login on Apache servers instead of Basic HTTP authentification when updating $force_formlogin = 1; // Login name and password for maintenance $update_login = 'XXXXX'; $update_pass = 'XXXXXX'; // Variables for gallery.php integration // $rows is the maximum number of rows of images per page; default = 20 // $cols is the maximum number of columns of images per row; default = 3 // $imagewidth is the width of the images in the gallery // $constantratio if true, all of the gallery images should be forced to the // same height. If false, then the image heights will depend on the actual images // If $BackGallery is set to true, then a menu item to display a gallery of back covers is added. $rows = 20; $cols = 3; $imagewidth = 150; $constantratio = true; $BackGallery = false; // Title for webpages //$sitetitle = "Bill's DVD Collection"; $sitetitle = "My DVD Collection"; // Maximum number of Titles to display on a page // Set to 0 to display all titles as normal. Setting this means your pages will load faster //$TitlesPerPage = 50; $TitlesPerPage = 0; // Meaning of the letter URLs. // $lettermeaning = 1 means that when you click on a letter, the current display (either a // search, or the current collection) will be displayed ordered by the sorttitle, starting // at the selected letter and limited to titles whose sorttitle first letter matches the // selected letter. // $lettermeaning = 0 means that when you click on a letter, the current display (either a // search, or the current collection) will be displayed ordered by the sorttitle, starting // at the selected letter and continuing to the end, or to $TitlesPerPage titles. $lettermeaning = 0; // Colornames // set $colornames=true to switch on, and set $colorfirst, $colormiddle, $colorlast to customize colors //$colornames = true; //$colorfirst = '#000070'; //$colormiddle = '#700000'; //$colorlast = '#007000'; // Display statistics page when initially loading site // Choices are: // true - Display statistics page every time main frame is refreshed // false - Display a selected DVD on main frame refresh $StatisticsOnFrameInit = false; // In index.php, one can select the initial DVD to be displayed. There are several examples. // Look for the string ' $sql = "SELECT ' to locate the spot ... // Number of items in the Top "10" list $TopX = 10; // Width of the nav/menu frames, in pixels. One for screen resolutions of 800 or less and // one for resolutions greater than 800 // The $allow variable (true or false) lets visitors configure the width of the columns for their own view $widthle800 = 275; $widthgt800 = 474; $allowwidths = true; // Allowing display and search of locks on DVDs. // Choices are: // 0 - Allow lock icons to be displayed and searched for // 1 - Allow lock icons to be displayed and searched for if IsPrivate // 2 - Do NOT allow lock icons to be displayed or searched for $searchlocks = 0; // Allowing searches of tags in the collection // Choices are: // 0 - Allow tags to be searched // 1 - Allow tags to be searched if IsPrivate // 2 - Do NOT allow tags to be searched $searchtags = 0; // Allowing display of tags in the collection // Choices are: // 0 - Allow tags to be displayed // 1 - Allow tags to be displayed if IsPrivate // 2 - Do NOT allow tags to be displayed $displaytags = 0; // Displaying loaned DVDs as a selection in the collection-type drop-down list // Choices are: // 0 - Display loaned as selection // 1 - Display loaned as selection if IsPrivate // 2 - Never Display loaned as selection $displayloaned = 1; // Display of Notes field. // Choices are: // true - Display only if IsPrivate // false - Always display $PrivateNotes = false; // Handling of watched statistics // Choices are: // 0 - Display Normally // 1 - Display if IsPrivate // 2 - Never Display $handlewatched = 1; // Default sort order for the watched stats // sorttitle, runningtime and times |
|
Registered: March 13, 2007 | Posts: 525 |
| Posted: | | | | looks like you've got an error in localsiteconfig.php Somewhere just before 'rrencypriority is for'. Lines need to start with either // # or $ Around that area mine says :- Quote:
//$currencyspecialcondition = "AND purchaseplace <> ''"; $currencyspecialcondition = ''; // $currencypriority is for controlling the cost-by-month graph. $onlycurrencypriority says don't // show currencies I don't list here. Otherwise, the graphs cycle through all of the available currencies //$onlycurrencypriority = false; //$currencypriority[0] = 'USD'; //$currencypriority[0] = 'CAD';
I'd guess your problem is somewhere around the first 3 lines in what I've pasted. | | | Home of the phpDVDProfiler forums |
|
Registered: March 13, 2007 | Posts: 360 |
| Posted: | | | | This is the closest I have been. after uploading the localsiteconfig.php file to the server should I rename it to siteconfig.php? |
|
Registered: March 13, 2007 | Posts: 360 |
| Posted: | | | | Ok I got it to load. I copy the orig siteconfig.php file back to the server as well as the localsiteconfig.php file I edited and it loaded. Thanks for your help everyone. Will hollar if I stumble again (Which I am sure I will.) |
|
Registered: March 13, 2007 | Posts: 2,692 |
| Posted: | | | | Quoting wtmac: Quote: This is the closest I have been. after uploading the localsiteconfig.php file to the server should I rename it to siteconfig.php? no - the whole point is that this file is NOT called siteconfig.php - which should be the original file from the archive. | | | Paul |
|
Registered: March 13, 2007 | Posts: 360 |
| Posted: | | | | I copied the collection.xml file to the server and this is the message I am now getting. Is there a specific location it need to go on the server?
Importing to database pn_593074_phpdvdprofiler from XML file: collection.xml Faster, more memory-intensive updates: Off ERROR: Couldn't open XML file to read: collection.xml
EDIT: I did get it. I needed to change the the C in collection to lower case and it is now loading.
Man am I learning alot. | | | Last edited: by Bill MacNeill |
|
Registered: April 6, 2007 | Posts: 39 |
| Posted: | | | | took me a few days to get up and running as well... hard and frustrating work, but thinking back, i loved it. way to go. About updating your collection, you have 2 "things": the collection.xml file, and the images. If you have a way to upload a zip file and decompress on the server, it can make updating a lot faster and easier than keeping track of images and uploading huge xmls everyday. Another option, if you have access to a secure shell, is using rsync (it's what I do). It only uploads the updated portions of the xml file, and the new images. It can also erase old images you don't use anymore (due to profile image updates, for instance). After you set it up, its a "one click, you're done" solution. The caveat is that access to a secure shell is hard to come by on free hosting solutions. Have fun. | | | |
|
Registered: March 13, 2007 | Posts: 360 |
| Posted: | | | | Problem I am having now is getting the images on the server with FTPsurfer. I get so far then the upload stalls and eventually quits. IS there a better way to copy the images? |
|
Registered: April 6, 2007 | Posts: 39 |
| Posted: | | | | the issue could be either with your ftp software, or more likely, with the server...
if you have cpanel, you probably have a file admin thing. In there you can upload files, and you can unzip files.... you can zip you images and upload this way. | | | |
|
Registered: March 13, 2007 | Posts: 525 |
| Posted: | | | | Apart from using some ftp tool, the other ways are rsync and mounting the directory. The latter is going to unlikely unless you own the server. as xjames said, rsync requires the ability to log into the machine using ssh. If you can do this, then rsync could be for you. I wrote an rsync batch file and some setup instructions. Check out here | | | Home of the phpDVDProfiler forums |
|
Registered: March 13, 2007 | Reputation: | Posts: 2,217 |
| Posted: | | | | Quoting xjames: Quote: the issue could be either with your ftp software, or more likely, with the server... The latter, but it's free, so I'm willing to put up with it. Quote: if you have cpanel, you probably have a file admin thing. In there you can upload files, and you can unzip files.... you can zip you images and upload this way. A, good hint. # The maximum size of one file is restricted by net2ftp to 10002.8125 kB and by PHP to 40M # The maximum execution time is 300 seconds so the zipping become a necessity very soon for me, as the XML is 9,8MB already. cya, Mithi | | | Mithi's little XSLT tinkering - the power of XML --- DVD-Profiler Mini-Wiki |
|
Registered: March 13, 2007 | Posts: 360 |
| Posted: | | | | My images directory is 156 megs so that is alot to do with it I'm sure |
|
Registered: March 13, 2007 | Posts: 360 |
| Posted: | | | | We are up and running. Now to get the banner working. This is so cool.
The zip file was the way to go. Thanks to all.
Bill |
|