Author Topic: phpdvdprofiler  (Read 70612 times)

RossRoy

  • Guest
Re: phpdvdprofiler
« Reply #255 on: June 19, 2012, 05:05:02 PM »
For the record I always have the complete up to date XML in a single file on the server - I use Rsync to update my online data (XML and images).

I just looked through the sites - I'm running 3.8.0.0, Jimmy is running 3.8.0.0, but Marie's is running 3.7.2.0 because otherwise, her collection doesn't show.


Offline FredLooks

  • phpDVDProfiler Moderator
  • Intermediate Poster
  • *
  • Posts: 107
  • Country: ca
    • View Profile
    • Fred's Home Site
Re: phpdvdprofiler
« Reply #256 on: June 19, 2012, 07:35:05 PM »
Right. I initially mis-read the version number of Marie's collection as 3.7.2.2, rather than 3.7.2.0.  That explains why a bunch of the tests I had been trying didn't work; that version didn't have those changes. Which is why Marie didn't see the Debug button on the UI - it isn't in her version. Fine.

Just FYI, the software has had the ability to give limited diagnostics for quite a long time: the software does different things with different action= parameters and two of them are action=info which gives a one-liner about the versions of things (software,MySQL db, php, and the date of the XML file) and action=phpinfo which just launches the phpinfo() builtin. For those cases where the user can't create a phpinfo script for me :)

I'd like to attack these problems sequentially rather than in parallel - I'm very likely to confuse myself if I try to do them all at once ...

I think Jimmy said his installation is working correctly/ In which case we can use it as a reference site for your machine.

I'll send you an email outlining how I'd like to proceed...

Offline FredLooks

  • phpDVDProfiler Moderator
  • Intermediate Poster
  • *
  • Posts: 107
  • Country: ca
    • View Profile
    • Fred's Home Site
Re: phpdvdprofiler
« Reply #257 on: June 21, 2012, 07:00:19 PM »
Ok, I think that we have RossRoy and Marie up-to-date and working properly now. Just post if there are any more issues...

Offline Dragonfire

  • Mega Heavy Poster
  • *******
  • Posts: 6911
    • View Profile
    • Dragonfire88 Pbwiki
Re: phpdvdprofiler
« Reply #258 on: June 22, 2012, 05:56:30 AM »
The list isn't showing up for me again.  I tried a full update and that didn't seem to fix it.

Offline Jimmy

  • Mega Heavy Poster
  • *******
  • Posts: 6756
  • Country: ca
  • Yes this is me...
    • View Profile
Re: phpdvdprofiler
« Reply #259 on: June 22, 2012, 06:21:14 AM »
Are you sure Marie? I just watched and everything looked normal to me as you can see in the image.

Did you tried to clean your web browser cache? Sometimes it's the problem (same thing happen to me not so long ago with the DVDP online database)
« Last Edit: June 22, 2012, 06:24:01 AM by Jimmy »

RossRoy

  • Guest
Re: phpdvdprofiler
« Reply #260 on: June 22, 2012, 02:11:48 PM »
It happened to me too. I refreshed a few times from Firefox, and the list wouldn't show. I switched to Internet Explorer and everything was fine again. Switched back to Firefox and lo and behold it was working.

SOmething fishy is going on, but it's probably at the host's level. Something kills the process, but what does? I don't know..

Offline Tom

  • Mega Heavy Poster
  • *******
  • Posts: 6271
  • Country: de
    • View Profile
    • Cinematic Collection Viewer
Re: phpdvdprofiler
« Reply #261 on: June 22, 2012, 05:42:14 PM »
I had a similar problem when Firefox 12 was released. The HTML collection exported by my CCViewer also had a disappearing list.
This helpful hint fixed it for me. Maybe something similar is the case here.



Offline FredLooks

  • phpDVDProfiler Moderator
  • Intermediate Poster
  • *
  • Posts: 107
  • Country: ca
    • View Profile
    • Fred's Home Site
Re: phpdvdprofiler
« Reply #262 on: June 22, 2012, 07:11:58 PM »
It happened to me too. I refreshed a few times from Firefox, and the list wouldn't show. I switched to Internet Explorer and everything was fine again. Switched back to Firefox and lo and behold it was working.

SOmething fishy is going on, but it's probably at the host's level. Something kills the process, but what does? I don't know..

I've been trying with FF13, but I'm not seeing the issue - there could be something related to network latency, I guess, but ...

When you get the problem, can you grab a screen shot? I want to make sure that I'm thinking of the problem correctly ...

I notice that the javascript console is whining about the frameset stuff ... let me eplore that a little ...

RossRoy

  • Guest
Re: phpdvdprofiler
« Reply #263 on: June 22, 2012, 09:35:06 PM »
That didn't take long  ;)

TitlesPerPage is currently set at 100 for the below screenshot.

Edit:

If I set the TitlesPerPage once at 1 (using the "for" debug link) it shows a single movie on the left. Set it back to default? Everything works as expected.

Offline FredLooks

  • phpDVDProfiler Moderator
  • Intermediate Poster
  • *
  • Posts: 107
  • Country: ca
    • View Profile
    • Fred's Home Site
Re: phpdvdprofiler
« Reply #264 on: June 22, 2012, 10:34:30 PM »
Hmmm. There is some bad HTML in there ...

Would you mind trying the following:
change around line 1419 of index.php
Code: [Select]
       echo <<<EOT
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=windows-1252">
  <title>$CurrentSiteTitle</title>
  $rssfeed
  <script type="text/javascript" src="top.js"></script>
<script type="text/javascript">
<!--
        if (screen.width <= 800)
                document.write('<frameset id="thecols" cols="$widthle800,*" $nomove><frameset id="therows" rows="112,*" border=0 frameborder=0 framespacing=0>');
        else
                document.write('<frameset id="thecols" cols="$widthgt800,*" $nomove><frameset id="therows" rows="*,1" border=0 frameborder=0 framespacing=0>');
//-->
</script>
</head>

    <frame src="$PHP_SELF?sort=$sort&amp;order=$order&amp;collection=$collection&amp;searchby=$searchby&amp;searchtext=$searchurl&amp;action=nav" name="nav" scrolling=no framespacing=0 marginheight=2 marginwidth=2>
    <frame src="$PHP_SELF?sort=$sort&amp;order=$order&amp;collection=$collection&amp;searchby=$searchby&amp;searchtext=$searchurl&amp;action=menu" name="menu" scrolling=yes framespacing=0 marginheight=0 marginwidth=0>
  </frameset>
  <frame src="$mobilepage?mediaid=$lastmedia&amp;action=show" framespacing=0 marginheight=0 marginwidth=0 name="entry">
</frameset>
</html>

EOT;

to
Code: [Select]
       echo <<<EOT
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=windows-1252">
  <title>$CurrentSiteTitle</title>
  $rssfeed
  <script type="text/javascript" src="top.js"></script>
</head>
<frameset id="thecols" cols="$widthgt800,*" $nomove>
  <frameset id="therows" rows="*,1" border=0 frameborder=0 framespacing=0>
    <frame src="$PHP_SELF?sort=$sort&amp;order=$order&amp;collection=$collection&amp;searchby=$searchby&amp;searchtext=$searchurl&amp;action=nav" name="nav" scrolling=no framespacing=0 marginheight=2 marginwidth=2>
    <frame src="$PHP_SELF?sort=$sort&amp;order=$order&amp;collection=$collection&amp;searchby=$searchby&amp;searchtext=$searchurl&amp;action=menu" name="menu" scrolling=yes framespacing=0 marginheight=0 marginwidth=0>
  </frameset>
  <frame src="$mobilepage?mediaid=$lastmedia&amp;action=show" framespacing=0 marginheight=0 marginwidth=0 name="entry">
</frameset>
</html>

EOT;

That fixes some bad HTML and removes a problem that FireFox has with trying to optimize the page. It coincidentally removes the code which distinguishes between clients having screens smaller than 800 pixels in width. I suspect that code is superfluous, but I can always stuff it back in if it's needed. It would be nice if it resolved the situation, though ...

And when you get the problem, do you see any errors in the console (Ctrl-Shift-K)?
« Last Edit: June 22, 2012, 10:36:11 PM by FredLooks »

Offline DSig

  • Heavy Poster
  • *****
  • Posts: 1110
    • View Profile
Re: phpdvdprofiler
« Reply #265 on: June 22, 2012, 11:56:04 PM »
FredLooks,

I 'assume' that phpDvdProfiler is your baby and that the site 'http://dvdaholic.me.uk/forums/' is yours.  If this is the case, I tried to sign up for your site 17th of june and got an email that it had to be approved.  As of this post it hasn't been approved.  Do you know how long this process normally takes.  I would like to get more information on phpDvdProfiler and wanted to post to the forum but of course I can't.

Thanks
DSig
Thank you
David

Offline FredLooks

  • phpDVDProfiler Moderator
  • Intermediate Poster
  • *
  • Posts: 107
  • Country: ca
    • View Profile
    • Fred's Home Site
Re: phpdvdprofiler
« Reply #266 on: June 23, 2012, 01:03:32 AM »
Well, assumption #1 is correct, but #2 is not. Dvdaholic is Andy's site, and he's been missing in action for a while. I think it'll be ok with Karsten if you ask questions in this thread, though... Or you can always email me - fred@bws.com

Offline Achim

  • Mega Heavy Poster
  • *******
  • Posts: 7179
  • Country: 00
    • View Profile
Re: phpdvdprofiler
« Reply #267 on: June 23, 2012, 03:04:49 AM »
Ok, I think that we have RossRoy and Marie up-to-date and working properly now. Just post if there are any more issues...
Having seen this thread I held back updating; I also use Site5.. Well, also because you said a follow up release might come shortly. My question is, will there be another update soon incl. any modifications you have one or this? And if the next update is not soon-ish, what would I need (to know) before updating my site?

Let me say thank you one more time for all your great work on this project.

Offline Dragonfire

  • Mega Heavy Poster
  • *******
  • Posts: 6911
    • View Profile
    • Dragonfire88 Pbwiki
Re: phpdvdprofiler
« Reply #268 on: June 23, 2012, 03:40:43 AM »
It isn't loading right for me in Firefox.  I tried in Exploer, and it works there.  I tried Firefox again, and it still isn't right.

I'll go try some other stuff...

I tried to get a screencap of what it looks like here. 


Offline Dragonfire

  • Mega Heavy Poster
  • *******
  • Posts: 6911
    • View Profile
    • Dragonfire88 Pbwiki
Re: phpdvdprofiler
« Reply #269 on: June 23, 2012, 04:06:58 AM »
I'm back...
It looks like normal now.  I got rid of some cookies and cleared the cache..once I found it again....I forgot where Firefox had that option at ...  :laugh: :laugh:  Anyway, I did that and it is looking right again.

Thanks for all the help...Sorry for the trouble.