Author Topic: phpdvdprofiler  (Read 70941 times)

Offline Achim

  • Mega Heavy Poster
  • *******
  • Posts: 7179
  • Country: 00
    • View Profile
Re: phpdvdprofiler
« Reply #180 on: June 14, 2011, 10:34:38 AM »
Even zipped, I'm getting errors about the file being too big.
Which file are you trying to send? Karsten said YES, but I still think he means the XML. If you are trying to send a backup, did you include the cover images; if yes, try without, he won't need them ;)

Offline DJ Doena

  • Administrator
  • Mega Heavy Poster
  • *****
  • Posts: 6719
  • Country: de
  • Battle Troll
    • View Profile
    • My Blog
Re: phpdvdprofiler
« Reply #181 on: June 14, 2011, 03:55:49 PM »
Achim is right. If you're going to send me a backup file (File->Backup Database) then select "Custom Backup" and uncheck everything except "Include profiles".

But you can also send me the Export XML (File->Export Profile Database).
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


Offline Dragonfire

  • Mega Heavy Poster
  • *******
  • Posts: 6911
    • View Profile
    • Dragonfire88 Pbwiki
Re: phpdvdprofiler
« Reply #182 on: June 15, 2011, 01:09:47 AM »
Ahh..ok.  I was trying the backup.  I'll try the xml thing.


Offline FredLooks

  • phpDVDProfiler Moderator
  • Intermediate Poster
  • *
  • Posts: 107
  • Country: ca
    • View Profile
    • Fred's Home Site
Re: phpdvdprofiler
« Reply #183 on: June 15, 2011, 06:01:10 PM »
Hey Marie,

  I have a suspicion that you have both an xmldir defined ($xmldir = 'SomeDirectory'; in localsiteconfig.php) and an xmlfile defined ($xmlfile = 'SomeXMLFile'; or no $xmlfile entry in localsiteconfig.php). Unless the entries in those are completely disjoint, that scenario would result in a lot of extra processing since the program would try to process both things, and the xmldir entries would sometimes override the xmlfile entries in an entirely non-intuitive manner. (As an aside, the xmldir option tends to be resource intensive since the program needs to open many files, and opening files is "expensive" in terms of resources.)

If you decided to switch to an xmldir option in the past, you should set $xmlfile = ''; in localsiteconfig.php, since the default values leave a value of 'collection.xml' which isn't quite desirable. Alternatively, you could just delete the file collection.xml and then the system would just use the files in xmldir.

I think that the current behaviour of trying to do both things is likely problematic - I don't generally like code taking away options from users, but I can't really think of a reason that a user would want both of these options present simultaneously ...

HTH

Offline DJ Doena

  • Administrator
  • Mega Heavy Poster
  • *****
  • Posts: 6719
  • Country: de
  • Battle Troll
    • View Profile
    • My Blog
Re: phpdvdprofiler
« Reply #184 on: June 15, 2011, 08:05:17 PM »
I ran a complete update on my machine and even though it took a while it went through:

Code: [Select]
Schnelleres, speicherintensiveres Update: Aus
Komplettes Update:
Aktualisiere Datenbank aus XML-Datei:
Importing from XML file: collection.xml
Importing 0 files from directory xmls
File being processed: collection.xml

*******************************************************************************
collection.xml, the current collection file, is missing some components. When exporting from DVDProfiler
it is important to select ALL of the sections to be exported. There will be no data stored
for the following missing sections: Locks Crew Notes Tags Easter Eggs
*******************************************************************************
DVDs verarbeitet: 25
DVDs verarbeitet: 50
DVDs verarbeitet: 75
DVDs verarbeitet: 100
DVDs verarbeitet: 125
DVDs verarbeitet: 150
DVDs verarbeitet: 175
DVDs verarbeitet: 200
DVDs verarbeitet: 225
DVDs verarbeitet: 250
DVDs verarbeitet: 275
DVDs verarbeitet: 300
DVDs verarbeitet: 325
DVDs verarbeitet: 350
DVDs verarbeitet: 375
DVDs verarbeitet: 400
DVDs verarbeitet: 425
DVDs verarbeitet: 450
DVDs verarbeitet: 475
DVDs verarbeitet: 500
DVDs verarbeitet: 525
DVDs verarbeitet: 550
DVDs verarbeitet: 575
DVDs verarbeitet: 600
DVDs verarbeitet: 625
DVDs verarbeitet: 650
DVDs verarbeitet: 675
DVDs verarbeitet: 700
DVDs verarbeitet: 725
DVDs verarbeitet: 750
DVDs verarbeitet: 775
DVDs verarbeitet: 800
DVDs verarbeitet: 825
DVDs verarbeitet: 850
DVDs verarbeitet: 875
DVDs verarbeitet: 900
DVDs verarbeitet: 925
DVDs verarbeitet: 950
DVDs verarbeitet: 975
DVDs verarbeitet: 1000
DVDs verarbeitet: 1025
DVDs verarbeitet: 1050
DVDs verarbeitet: 1075
DVDs verarbeitet: 1100
DVDs verarbeitet: 1125
DVDs verarbeitet: 1150
DVDs verarbeitet: 1175
DVDs verarbeitet: 1200
DVDs verarbeitet: 1225
DVDs verarbeitet: 1250
DVDs verarbeitet: 1275
DVDs verarbeitet: 1300
DVDs verarbeitet: 1325
DVDs verarbeitet: 1350
DVDs verarbeitet: 1375
DVDs verarbeitet: 1400
DVDs verarbeitet: 1425
DVDs verarbeitet: 1450
DVDs verarbeitet: 1475
DVDs verarbeitet: 1500
DVDs verarbeitet: 1525
DVDs verarbeitet: 1550
DVDs verarbeitet: 1575
DVDs verarbeitet: 1600
DVDs verarbeitet: 1625
DVDs verarbeitet: 1650
DVDs verarbeitet: 1675
DVDs verarbeitet: 1700
DVDs verarbeitet: 1725
DVDs verarbeitet: 1750
DVDs verarbeitet: 1775
DVDs verarbeitet: 1800
DVDs verarbeitet: 1825
DVDs verarbeitet: 1850
DVDs verarbeitet: 1875
DVDs verarbeitet: 1900
DVDs verarbeitet: 1925
DVDs verarbeitet: 1950
DVDs verarbeitet: 1975
DVDs verarbeitet: 2000
DVDs verarbeitet: 2025
DVDs verarbeitet: 2050
DVDs verarbeitet: 2075
DVDs verarbeitet: 2100
DVDs verarbeitet: 2125
DVDs verarbeitet: 2150
DVDs verarbeitet: 2175
DVDs verarbeitet: 2200
DVDs verarbeitet: 2225
DVDs verarbeitet: 2250
DVDs verarbeitet: 2275
DVDs verarbeitet: 2300
DVDs verarbeitet: 2325
DVDs verarbeitet: 2350
DVDs verarbeitet: 2375
DVDs verarbeitet: 2400
DVDs verarbeitet: 2425
DVDs verarbeitet: 2450
DVDs verarbeitet: 2475
DVDs verarbeitet: 2500
DVDs verarbeitet: 2525
DVDs verarbeitet: 2550
DVDs verarbeitet: 2575
DVDs verarbeitet: 2600
DVDs verarbeitet: 2625
DVDs verarbeitet: 2650
DVDs verarbeitet: 2675
DVDs verarbeitet: 2700
DVDs verarbeitet: 2725
DVDs verarbeitet: 2744
Updating Custom Media Types and Custom Collections ...
Aktualisiere DVD-Boxen ...
Aktualisiere Statistik-Tabelle ...
Summe der verarbeiteten DVDs: 2744
Profile hinzugefügt: 2744
Profile bearbeitet: 0 (including Collection Number only: 0)
Profile gelöscht: 0
Kauforte entfernt: 0
Arbeitszeit (Sekunden): 3.900,095 (3.868,515 + 31,581)
Cleaning signature cache directory: Done
collectionurl is valid
Verifiziere Imageupdate-Version....Ok
Bestimme das Datum des letzten Updates.......(00000000)
Adult ist nicht auf 0 gesetzt. Es werden Erotikfilme berücksichtigt
Ermittle Bild-Informationen. Bitte warten......
Image for Profiles Processed :25
Image for Profiles Processed :50
Image for Profiles Processed :75
Image for Profiles Processed :100
Image for Profiles Processed :125
Image for Profiles Processed :150
Image for Profiles Processed :175
Image for Profiles Processed :200
Image for Profiles Processed :225
Image for Profiles Processed :250
Image for Profiles Processed :275
Image for Profiles Processed :300
Image for Profiles Processed :325
Image for Profiles Processed :350
Image for Profiles Processed :375
Image for Profiles Processed :400
Image for Profiles Processed :425
Image for Profiles Processed :450
Image for Profiles Processed :475
Image for Profiles Processed :500
Image for Profiles Processed :525
Image for Profiles Processed :550
Image for Profiles Processed :575
Image for Profiles Processed :600
Image for Profiles Processed :625
Image for Profiles Processed :650
Image for Profiles Processed :675
Image for Profiles Processed :700
Image for Profiles Processed :725
Image for Profiles Processed :750
Image for Profiles Processed :775
Image for Profiles Processed :800
Image for Profiles Processed :825
Image for Profiles Processed :850
Image for Profiles Processed :875
Image for Profiles Processed :900
Image for Profiles Processed :925
Image for Profiles Processed :950
Image for Profiles Processed :975
Image for Profiles Processed :1000
Image for Profiles Processed :1025
Image for Profiles Processed :1050
Image for Profiles Processed :1075
Image for Profiles Processed :1100
Image for Profiles Processed :1125
Image for Profiles Processed :1150
Image for Profiles Processed :1175
Image for Profiles Processed :1200
Image for Profiles Processed :1225
Image for Profiles Processed :1250
Image for Profiles Processed :1275
Image for Profiles Processed :1300
Image for Profiles Processed :1325
Image for Profiles Processed :1350
Image for Profiles Processed :1375
Image for Profiles Processed :1400
Image for Profiles Processed :1425
Image for Profiles Processed :1450
Image for Profiles Processed :1475
Image for Profiles Processed :1500
Image for Profiles Processed :1525
Image for Profiles Processed :1550
Image for Profiles Processed :1575
Image for Profiles Processed :1600
Image for Profiles Processed :1625
Image for Profiles Processed :1650
Image for Profiles Processed :1675
Image for Profiles Processed :1700
Image for Profiles Processed :1725
Image for Profiles Processed :1750
Image for Profiles Processed :1775
Image for Profiles Processed :1800
Image for Profiles Processed :1825
Image for Profiles Processed :1850
Image for Profiles Processed :1875
Image for Profiles Processed :1900
Image for Profiles Processed :1925
Image for Profiles Processed :1950
Image for Profiles Processed :1975
Image for Profiles Processed :2000
Image for Profiles Processed :2025
Image for Profiles Processed :2050
Image for Profiles Processed :2075
Image for Profiles Processed :2100
Image for Profiles Processed :2125
Image for Profiles Processed :2150
Image for Profiles Processed :2175
Image for Profiles Processed :2200
Image for Profiles Processed :2225
Image for Profiles Processed :2250
Image for Profiles Processed :2275
Image for Profiles Processed :2300
Image for Profiles Processed :2325
Image for Profiles Processed :2350
Image for Profiles Processed :2375
Image for Profiles Processed :2400
Image for Profiles Processed :2425
Image for Profiles Processed :2450
Image for Profiles Processed :2475
Image for Profiles Processed :2500
Image for Profiles Processed :2503
Upload OK
Adding/Updating data for (DJ Doena)
Updating existing user
Added/Updated 2503 dvd's

Erledigt ... Benötigte Zeit 22.99 Sekunden


Zur Startseite.

So I can only assume it's a timeout problem or something similar.
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


Offline FredLooks

  • phpDVDProfiler Moderator
  • Intermediate Poster
  • *
  • Posts: 107
  • Country: ca
    • View Profile
    • Fred's Home Site
Re: phpdvdprofiler
« Reply #185 on: June 15, 2011, 08:48:55 PM »
well, with a collection.xml containing 2700 profiles and an XML directory also containing 2700 profiles, it would take at least twice as long as expected ...

Offline Dragonfire

  • Mega Heavy Poster
  • *******
  • Posts: 6911
    • View Profile
    • Dragonfire88 Pbwiki
Re: phpdvdprofiler
« Reply #186 on: June 15, 2011, 09:52:05 PM »
Hmmm..ok.

I'll try changing the xmlfile thing.  I think when I set it up I had to change it because the one xml file was too large for the host.

Offline Dragonfire

  • Mega Heavy Poster
  • *******
  • Posts: 6911
    • View Profile
    • Dragonfire88 Pbwiki
Re: phpdvdprofiler
« Reply #187 on: June 15, 2011, 09:59:17 PM »
I tried taking out the xmlfile thing and it still stops at 2000.

Offline FredLooks

  • phpDVDProfiler Moderator
  • Intermediate Poster
  • *
  • Posts: 107
  • Country: ca
    • View Profile
    • Fred's Home Site
Re: phpdvdprofiler
« Reply #188 on: June 16, 2011, 03:33:14 PM »
Could you try downloading and unzipping the new incupdate.php file from here and try a CompleteUpdate? I added some timing code to help debug the problem ...

Offline Dragonfire

  • Mega Heavy Poster
  • *******
  • Posts: 6911
    • View Profile
    • Dragonfire88 Pbwiki
Re: phpdvdprofiler
« Reply #189 on: June 17, 2011, 05:07:06 AM »
I'm trying that now.


Offline Dragonfire

  • Mega Heavy Poster
  • *******
  • Posts: 6911
    • View Profile
    • Dragonfire88 Pbwiki
Re: phpdvdprofiler
« Reply #190 on: June 17, 2011, 05:17:16 AM »
That didn't work either.  It stopped at 600.  I tried 3 or 4 times and it kept stopping at 600.

I went back and unchecked the Complete Update...now it has at least gotten past 600.  well..it just stopped at 1000.
 :-\

Sorry to be such a pain with this.  I just really like having the banner thingy and the page..just would like it to work again.


Just to double check...where should I put the new file I downloaded and unzipped?  I'm not good with a lot of this code stuff.

Trying the update again...now up to 1300.... 

Offline Dragonfire

  • Mega Heavy Poster
  • *******
  • Posts: 6911
    • View Profile
    • Dragonfire88 Pbwiki
Re: phpdvdprofiler
« Reply #191 on: June 17, 2011, 05:23:01 AM »
Just me again...

I ran the update a few more times and now it is back to stopping at 2000 again.


Could it be a problem with the host I'm using?
I've thought about trying to find another one...but I kind of didn't want to go through the setup again...it took me so long to get it to work to begin with.

Offline Achim

  • Mega Heavy Poster
  • *******
  • Posts: 7179
  • Country: 00
    • View Profile
Re: phpdvdprofiler
« Reply #192 on: June 17, 2011, 05:59:36 AM »
Just to double check...where should I put the new file I downloaded and unzipped?  I'm not good with a lot of this code stuff.
No need to do coding here, Fred already prepared it for you. :)

On your website should be a file of the same name "incupdate.php". Rename that one and then copy Fred's file to the same location. Once you do this, you should see additional information during the update, which is what fred will want to know.

Offline Dragonfire

  • Mega Heavy Poster
  • *******
  • Posts: 6911
    • View Profile
    • Dragonfire88 Pbwiki
Re: phpdvdprofiler
« Reply #193 on: June 17, 2011, 06:34:58 AM »
I didn't see a incupdate.php already there.  I just uploaded it into the phpprofiler file.

Offline Achim

  • Mega Heavy Poster
  • *******
  • Posts: 7179
  • Country: 00
    • View Profile
Re: phpdvdprofiler
« Reply #194 on: June 17, 2011, 10:52:35 AM »
I didn't see a incupdate.php already there.
:o

In the same folder where index.php and localsiteconfig.php are?