• Welcome to DVD Collectors Online.
 

phpdvdprofiler

Started by FredLooks, June 11, 2010, 03:39:18 PM

Previous topic - Next topic

FredLooks

Yeah, ken went to a different format, distinguishing between locales and countries. I added support for that in the last release. Unless you have customized the code on your site, you should just be able to overwrite your existing code with the latest release... The latest is 3.8.1.0, and you are 1 release back at 3.8.0.0...

Jimmy

#286
Thanks. I was sure I was up to date, I'll get the last version.

Edit : Update done and everything is fine ;D

FredLooks


DSig

Fred, I finally got the time to install this and I have to say I am very impressed .. it looks very nice.  I am very sad that it looks like there wont be much for me to hack :)

Environment:  windows 7, Apache 2.2.22, PHP 5.3.13, MySql 5.5.24

I have a couple of questions

Import:
During the import I got several of the following .. (about 50-60 of these).  Where does the "ID" come from?

collection.xml: Profile IDs must not be blank. Profile #1971

I also got the following .. In all cases (41) the boxsets did have children

Bad Boxsets: profiles saying they contain children when the children are absent from the collection
Bad Boxset: The Virginian: The Complete First Season (011301649454)
...
...
Total number of incorrect Box Set entries removed: 50
Number of incorrect Box Set profiles modified: 41


Site Statistics
Lots of great information, but under a lot of the headings, for example table with Last 12 Months etc, there appears to be "button" locations.  But there is no image and unable to 'click'

Also, the 'years' appear to be hyper links but when i click on them nothing happens.

Watched Statistics
When this page (on the right) comes up I get 4 sections with

Warning: include(../jpgraph/srcjpgraph.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in C:\wamp\www\phpdvdprofiler\ws.php on line 217

My guess is that this is something to do with my install of jpgraph but i am not able 'yet' to see what it is.  I am still looking and probably just overlooking it.

Ideas on these would be greatly appreciated .. sure it is my oversite

Once again .. great hack
Thank you
David

DJ Doena

Dsig, it looks like you should do a database repair in DVDP and then export the XML again.

If the errors persist, we should take a closer look at them.
Karsten

Abraham Lincoln once said The trouble with quotes from the internet is that you never know if they're genuine.

my Blog | my DVD Profiler Tools


DSig

:) ... the first step in anything dvdprofiler .. fix the database :)  okay .. will do
Thank you
David

DSig

Yep .. i should have remembered .. if in doubt it's DvdProfiler  :hysterical:

Fixed the database, ran the update and didn't get any messages .. not sure that it did anything as it only took 7 seconds this time but like i said.  There were no import errors.

Now for the other problems .. .

Thanks for the reminder
Thank you
David

DSig

Fred .. i should have included.

With the error messages of the INCLUDE.  I have tried several settings for $jpgraphlocation, but the default one, and the one I am using is

$jpgraphlocation   = '../jpgraph/scr/';

I am using WAMP and the location of jpgraph and phpDVDProfiler is

\wamp\www\jpgraph
\wamp\www\phpDVDProfiler

The current error is

( ! ) Warning: include(../jpgraph/scr/jpgraph.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in C:\wamp\www\phpdvdprofiler\ws.php on line 217

Just as if jpgraph wasn't at the same level as phpDVDProfiler.

This has to be something simple that I am over looking but not finding it.

Ideas welcomed ..
Thank you
David

FredLooks

Quote from: DSig on October 15, 2012, 06:37:28 AM
Fred, I finally got the time to install this and I have to say I am very impressed .. it looks very nice.  I am very sad that it looks like there wont be much for me to hack :)
Oh, I expect you'll find something :)
QuoteImport:
During the import I got several of the following .. (about 50-60 of these).  Where does the "ID" come from?

collection.xml: Profile IDs must not be blank. Profile #1971
The ID is the ordinal of the profile in the XML file. By that I mean that the first one is #1, second #2, etc. For the most part, Profiles are stored in ID order in the XML file.

QuoteI also got the following .. In all cases (41) the boxsets did have children

Bad Boxsets: profiles saying they contain children when the children are absent from the collection
Bad Boxset: The Virginian: The Complete First Season (011301649454)
...
...
Total number of incorrect Box Set entries removed: 50
Number of incorrect Box Set profiles modified: 41
Sometimes the Box-children fields and the profiles don't match up. Generally a db issue, as you discovered. If it persists, it means that the named profiles have a number of child profiles listed, and the child profiles aren't in the XML collection. Simply going into the boxset menu in the windows program for the afflicted profile generally solves it ...
Quote
Site Statistics
Lots of great information, but under a lot of the headings, for example table with Last 12 Months etc, there appears to be "button" locations.  But there is no image and unable to 'click'

Also, the 'years' appear to be hyper links but when i click on them nothing happens.
This will all make sense when the jpgraph stuff works :)  If you look at my site, you can see that the clickable links make new graphs appear....
Quote
Watched Statistics
When this page (on the right) comes up I get 4 sections with

Warning: include(../jpgraph/srcjpgraph.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in C:\wamp\www\phpdvdprofiler\ws.php on line 217

My guess is that this is something to do with my install of jpgraph but i am not able 'yet' to see what it is.  I am still looking and probably just overlooking it.

Yup, you need a trailing '/' (as you discovered yourself) and the path is relative to the phpdvdprofiler directory. So if you put jpgraph "into" the phpdvdprofiler directory, then $jpgraphlocation = "jpgraph/src/"; should work. It should point to the directory containing jpgraph.php

Keep me posted

DSig

You must not of had a chance to read my last reply before answering but

The directories are on the same level.  So they are

\wamp\www\jpgraph
\wamp\www\phpDVDProfiler


And the assignment of $jpgraphlocation as

$jpgraphlocation   = '../jpgraph/scr/';

should work.

Not sure why you say "So if you put jpgraph "into" the phpdvdprofiler directory, then $jpgraphlocation = "jpgraph/src/"; should work. It should point to the directory containing jpgraph.php" but I will move it into that directory and try that.

Thanks
Thank you
David

DSig

Okay .. i have moved the jpgraph folder under phpdvdprofiler folder so it is like ..



and changed the assignment as ..


$jpgraphlocation   = 'jpgraph/scr/';


Errors received are basically the same .. entire list ..


( ! ) SCREAM: Error suppression ignored for
( ! ) Warning: include(jpgraph/scr/jpgraph.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in C:\wamp\www\phpdvdprofiler\ws.php on line 217
Call Stack
#   Time   Memory   Function   Location
1   0.0050   1515224   {main}( )   ..\ws.php:0

( ! ) SCREAM: Error suppression ignored for
( ! ) Warning: include() [<a href='function.include'>function.include</a>]: Failed opening 'jpgraph/scr/jpgraph.php' for inclusion (include_path='.;C:\php\pear') in C:\wamp\www\phpdvdprofiler\ws.php on line 217
Call Stack
#   Time   Memory   Function   Location
1   0.0050   1515224   {main}( )   ..\ws.php:0

( ! ) SCREAM: Error suppression ignored for
( ! ) Warning: include(jpgraph/scr/jpgraph_bar.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in C:\wamp\www\phpdvdprofiler\ws.php on line 218
Call Stack
#   Time   Memory   Function   Location
1   0.0050   1515224   {main}( )   ..\ws.php:0

( ! ) SCREAM: Error suppression ignored for
( ! ) Warning: include() [<a href='function.include'>function.include</a>]: Failed opening 'jpgraph/scr/jpgraph_bar.php' for inclusion (include_path='.;C:\php\pear') in C:\wamp\www\phpdvdprofiler\ws.php on line 218
Call Stack
#   Time   Memory   Function   Location
1   0.0050   1515224   {main}( )   ..\ws.php:0


As you can see changing that and making the assignment didn't work.  Hmm .. i still know this is something simple as PHP is so literal.
Thank you
David

Dragonfire

I seem to remember having trouble with that jpgraph thing when I was getting the program set up too.  I can't remember exactly what had to be done to fix it, but I eventually got it after lots of help here. :)

Sorry I can't offer a specific idea.

DSig

Thanks for that .. i am sure that there will be some help.

What environment are you using?  windows? xamp/wamp?
Thank you
David

Dragonfire

I have Windows 7 on this computer.  I had Windows xp on the computer I started using this program on. 

I don't know about about this stuff..Like I said, I need a lot of help.  Now Sebastian is hosting for me - I started having issues with the one I was using..so I pretty much just upload when I get new stuff or to update what I watched.  I can do that much without screwing it up.  Usually.   :hysterical:  I had to redo the images once...I somehow managed to delete them.  Still not sure how I did that.

DSig

#299
While i try to figure out the problem I am having .. with the jpgraphic bits .. i have one question.

1) Is there the ability to 'page' the collection listing.  Would be much faster especially when dealing remotely or even by cell phone.

Thanks a lot ..
Thank you
David