Welcome to the Invelos forums. Please read the forum rules before posting.

Read access to our public forums is open to everyone. To post messages, a free registration is required.

If you have an Invelos account, sign in to post.

    Invelos Forums->General: General Discussion Page: 1 2 3 4 5 ...8  Previous   Next
Those banners that show recently watched movies
Author Message
DVD Profiler Unlimited Registrantxjames
Registered: April 6, 2007
Brazil Posts: 39
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
I used hostgator for 5 bucks a month, and i have no complaints.

SSH
SQL
PHP
Cpanel
Fantastico
etc
DVD Profiler Unlimited RegistrantStar ContributorMithi
Sushi Annihilator
Registered: March 13, 2007
Reputation: Superior Rating
Germany Posts: 2,216
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
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
DVD Profiler Unlimited Registrantxjames
Registered: April 6, 2007
Brazil Posts: 39
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
well, true.

In my case, hostgator is SO much better than my current brazilian service, that I'm gonna migrate it all there.
DVD Profiler Desktop and Mobile RegistrantBill MacNeill
Bill
Registered: March 13, 2007
United States Posts: 360
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
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
DVD Profiler Desktop and Mobile RegistrantStar Contributorajm
dvd-aholic
Registered: March 13, 2007
United Kingdom Posts: 525
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
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
DVD Profiler Desktop and Mobile RegistrantBill MacNeill
Bill
Registered: March 13, 2007
United States Posts: 360
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
This is the closest I have been. after uploading the localsiteconfig.php file to the server should I rename it to siteconfig.php?
DVD Profiler Desktop and Mobile RegistrantBill MacNeill
Bill
Registered: March 13, 2007
United States Posts: 360
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
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.)
DVD Profiler Desktop and Mobile Registrantpauls42
Reg: 31/01/2003
Registered: March 13, 2007
United Kingdom Posts: 2,692
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
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
DVD Profiler Desktop and Mobile RegistrantBill MacNeill
Bill
Registered: March 13, 2007
United States Posts: 360
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
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
DVD Profiler Unlimited Registrantxjames
Registered: April 6, 2007
Brazil Posts: 39
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
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.
DVD Profiler Desktop and Mobile RegistrantBill MacNeill
Bill
Registered: March 13, 2007
United States Posts: 360
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
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?
DVD Profiler Unlimited Registrantxjames
Registered: April 6, 2007
Brazil Posts: 39
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
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.
DVD Profiler Desktop and Mobile RegistrantStar Contributorajm
dvd-aholic
Registered: March 13, 2007
United Kingdom Posts: 525
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
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
DVD Profiler Unlimited RegistrantStar ContributorMithi
Sushi Annihilator
Registered: March 13, 2007
Reputation: Superior Rating
Germany Posts: 2,216
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
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
DVD Profiler Desktop and Mobile RegistrantBill MacNeill
Bill
Registered: March 13, 2007
United States Posts: 360
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
My images directory is 156 megs so that is alot to do with it I'm sure
DVD Profiler Desktop and Mobile RegistrantBill MacNeill
Bill
Registered: March 13, 2007
United States Posts: 360
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
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
    Invelos Forums->General: General Discussion Page: 1 2 3 4 5 ...8  Previous   Next