PDA

View Full Version : Page-By-Page-Archive 1.4 : no Thumbnails :(


Dominik
09-05-2006, 11:16 AM
Hi,

My browse_template.html page doesn't show thumbnails from Page-By-Page-Archive :(

This is my code :
<div id="categorie">
<div id="catlist"><CATEGORY_LINKS_AS_LIST_PAGED></div>
<div id="catthumbs"><THUMBNAILS_WHOLE_PAGED><p>page <THUMBNAILS_PAGES_LINKS></p></div>
</div>

<THUMBNAILS_WHOLE_PAGED> seems not work...


Link to my PP web:
http://photoblog.fusina.net/index.php?x=browse&pagenum=1

Any ideas ?

Thanx a lot ;)

Connie
09-05-2006, 11:30 AM
in the moment you try to show these thumbnails 3 times?

<div id="categorie">
<div id="catlist"><CATEGORY_LINKS_AS_LIST_PAGED></div>
<div id="catthumbs"><THUMBNAILS_WHOLE_PAGED><p>page <THUMBNAILS_PAGES_LINKS></p></div>
</div>
</div>
<THUMBNAILS_WHOLE_PAGED>
<THUMBNAILS_WHOLE_PAGED>

I use it in my template in that way:
<span class="photos">
<THUMBNAILS_WHOLE_PAGED>
<br /><br />Aktuelle Archivseite: <ARCHIVE_PAGES_NUM>&nbsp;||&nbsp;<THUMBNAILS_PAGES_LINKS></span>

and they are visible... change the sequence as a test

Dominik
09-05-2006, 11:43 AM
Connie,

I cut and paste your code.. but it's always empty :(

GeoS
09-05-2006, 12:28 PM
How big numer did you put at addons page in admin panel? I guess 0!?!

Dominik
09-05-2006, 12:38 PM
How big numer did you put at addons page in admin panel? I guess 0!?!
No. The number is 100 by default.
But strangely, when I try to modify it, Iv'e got an error.
The return URL is
http://photoblog.fusina.net/index.php?x=maxpthumb

???

Vernon.Trent
09-05-2006, 12:51 PM
pag_by_page addon also available and "on"?

Dominik
09-05-2006, 12:53 PM
No. The number is 100 by default.
But strangely, when I try to modify it, Iv'e got an error.
The return URL is
http://photoblog.fusina.net/index.php?x=maxpthumb

???
I fixed the "update". I've replaced the 1.1 by the 1.0 p-by-p version during my tests.
But it always impossible to show the thumbnails. :( :( :(

The p-by-p add-on is - of course - "on".

Dominik
09-05-2006, 12:58 PM
Hum ! When I want to update the max number of thumbnails, I need to update 2 times. The first time, that doesn't work and show me the same number :(

[edit]
Are you sure that p-by-p 1.0 is the last version and it works correctly with PP 1.5 final version ???

Vernon.Trent
09-05-2006, 01:14 PM
http://forum.pixelpost.org/showthread.php?t=4723

try to use the version provided there. don't know if its fixed in the PP package.

http://www.jdleungs.com/download/page_archive.zip

Dominik
09-05-2006, 01:33 PM
Incredible. With your "page_archived.zip", the problem is always the same :(

It seems that <THUMBNAILS_WHOLE_PAGED> is replaced by nothing.
I read the code and modify it to understand and $thumb_output is really EMPTY !

Dominik
09-05-2006, 02:22 PM
My conclusion after an analyse of the code is that page-by-page 1.1 (or 1.0) is uncompatible with PP 1.5 (??). I found full of errors in the php code... I don't understand.
Well.
I tried to fix them :(

I would like an explanation and a confirmation also.

Dominik
09-05-2006, 02:40 PM
I FOUND ! :)
A P-by-P SQL request was bad.
'inner' hasn't to be used in line 270

// build query
if (!isset($_GET['archivedate']))
{
// no archive date //## Dominik modifications : NO INNER in that REQUEST
$query = "select t1.id,t1.headline,t1.image from {$pixelpost_db_prefix}pixelpost as t1
inner join {$pixelpost_db_prefix}catassoc as t2
where (t1.datetime<='$cdate')
$where
and t1.id = t2.image_id
group by t1.id
order by t1.datetime desc" .$limit;

} // if ($_GET['archivedate']=="")
Delete "Inner" and the code works fine ;)

Dominik
09-05-2006, 06:28 PM
I've modified others bugs...
Specially, when the category is empty, the list shows now the category name but without link and with a correct number : '(0)' is displayed instead '()'

I'm very surprised that that version is so bugged.
Is it a problem of compatibility between PP1.5 and PbyP 1.0 ? Or a problem from my Php or MySQL version number ??

If you are interested, my "paged-archive.php" version be able ready to download in the future. Ask me...

GeoS
09-09-2006, 12:31 AM
if inner join was the problem then this was problem of your MySQL server version.

Connie
09-09-2006, 07:32 AM
Dominik,

it would be good to have the version info which you get in admin / general info-section

please post it here

Dominik
09-14-2006, 07:06 AM
Dominik,

it would be good to have the version info which you get in admin / general info-section

please post it here

I send to you info by MP ;)

Personne
09-14-2006, 08:24 AM
I have a similar problem :

I try to make a pagination in my archive and when I use the
"<THUMBNAILS_WHOLE_PAGED> // Thumbnails in this page
<THUMBNAILS_PAGES_LINKS> // Link to the pages of thumbnail in the selected category"

tags, I have only one page...
I put 35 thumbs in my admin panel but nothing move.


Edit : Is it incompatible with the 1.5 version ?

Opa114
09-14-2006, 10:53 AM
Hey!

I have the same problem. I used also the tags:

<THUMBNAILS_WHOLE_PAGED>
<THUMBNAILS_PAGES_LINKS>

But nothings shows. I did not see the thumbnails. Nothing.

I think that the Page by Page Addon doesn't work correctly with Pixelpost 1.5

P.S. I have installed the newest version of pixelpost.

Connie
09-14-2006, 11:18 AM
Can you all please give the information which is available in admin/info?

"me too" does not help us to find out the reasons
we need the MySQL-version

please!

Opa114
09-14-2006, 11:33 AM
Es ist folgende Pixelpost Version installiert: 1.5 - April 2006
Prüfen Sie, ob Sie die aktuellste Pixelpost-Version installiert haben => Check

Informationen und Tips zu Pixelpost erhalten Sie im Pixelpost-Forum: www.pixelpost.org/forum/

Host Information
URL http://opa114.pytalhost.de/pixelpost/admin/index.php
PHP-version 5.1.6 (Pixelpost ist lauffähig ab PHP-Version: 4.3.0 )

MySQL version 5.0.24a-Debian_2.dotdeb.0 (Pixelpost benötigt mindestens die MySQL-Version: 3.23.58 )

GD-lib bundled (2.0.28 compatible) mit Unterstützung des JPEG-Formates

Das Hochladen von Dateien zur Ihrer Pixelpost Installation ist possible.

Server Software: Apache/2.0.54 (Debian GNU/Linux)
EXIF Pixelpost verwendet exifer v1.5 für die EXIF-information.

Pfad-Angaben
Erwarteter Pfad zum Image-Verzeichnis: /htdocs/pixelpost/images/
Aktueller Pfad zum Image-Verzeichnis ../images/
Image-Verzeichnis: OK - Schreibrechte gesetzt? JA. CHMOD: 0777
Thumbnails-Verzeichnis: OK - Schreibrechte gesetzt? JA. CHMOD: 0777
Sprachdatei-Verzeichnis: OK
Addons-Verzeichnis: OK
Includes-Verzeichnis: OK
Templates-Verzeichnis: OK

Connie
09-14-2006, 11:46 AM
your Pixelpost version is not actual, please upgrade to the fresh version, because of security

um den Rest kümmern wir uns später ;=)

Opa114
09-14-2006, 12:01 PM
it's updated / pixelpost ist up2date now

Connie
09-14-2006, 12:34 PM
so the addon is working as well?

Personne
09-14-2006, 12:48 PM
Connie for me I have always the problem and I run with

Votre version de PixelPost 1.5 Final - July 2006

PHP-version 4.4.4 (Requis pour Pixelpost : PHP version: 4.3.0 )


MySQL version 4.0.27-standard-log (Requis pour Pixelpost : MySQL: 3.23.58 )

Opa114
09-14-2006, 01:05 PM
no it doesn't work. i see no thumbnails. look here: http://opa114.pytalhost.de/pixelpost/index.php

and check out at "overview"

Personne
09-14-2006, 01:27 PM
OPA which TAG have you put on your browse page ? i see no one ?

Opa114
09-14-2006, 02:35 PM
these two tags:

<THUMBNAILS_WHOLE_PAGED>
<THUMBNAILS_PAGES_LINKS>

but when i look at the sourcecode with Firfox, i can see that the Tag: <THUMBNAILS_WHOLE_PAGED> are not interpreted. Only the Tag: <THUMBNAILS_PAGES_LINKS> is interpreted, because it shows the Site Navigation, but no thumbs.

Opa114
09-14-2006, 08:37 PM
has nobody an idea?

Connie
09-14-2006, 08:50 PM
not today, unfortunately

Opa114
09-15-2006, 11:55 AM
and today? ;-)

Connie
09-15-2006, 02:16 PM
Opa,

I am just testing and you will be the first to know...
are you really an opa?

then you would be more patient, I guess :=)

I made a fresh install especially for you with the actual download version
I used the pixelpost-light-archivepaged-template
the navigation - links did work only partially

now I used the addon which we have in the development in the moment,

you can see it here in my test-environment:

http://www.bildgier.de/pp15/index.php

I still test something, if it is ok, I will post it here.. give me 5 minutes and let us hope that the Provider Arcor in Germany will not crash down... what he did the last 3 hours..

Opa114
09-15-2006, 02:30 PM
no i'm not really an opa ;-)

sorry, but i did not know that you made an extra install and so on.

GeoS
09-15-2006, 04:07 PM
Here you have site with currect (development) version of this addon:
http://pixelpost.cvs.sourceforge.net/pixelpost/pixelpost_dev/addons/paged_archive.php?view=log

Try to download the newest one and tell us if it works.

Connie
09-15-2006, 05:27 PM
I made an install, which is not so much work..
I had the working file .. .

and then my ISP provider crashed all lines in Hamburg West and Hamburg South
so for nearly 5 hours there was access only for 5 minutes inbetween, then it crashed again

and here I come back and want to upload... and GeoS was faster ;;;;)

Opa114
09-15-2006, 05:47 PM
sorry Connie, but i have the same problems as you, my provider has also little problems ;-)

i have downloaded this file:
http://pixelpost.cvs.sourceforge.net/*checkout*/pixelpost/pixelpost_dev/addons/paged_archive.php?revision=1.14

but it doesn't work.

Connie
09-15-2006, 06:15 PM
did you check with the standard templates first?

if it works with pixelpost-light-archivepaged, then it is ok and the problem sits in your template

I had this last time in another posting that there was no place for the thumbnails defined

have a look here:

http://www.bildgier.de/pp15/

this comes with the pixelpost-light-archivepaged-template and it is working
it is the file which GeoS linked for download

which template are you using? show us where you entered the code for the paged-thumbs!

I also see a problem at your server:

your template is defining UTF-8 in the meta-tag (as it is necessary)
but your hoster sends ISO-8859-1 already in the header..
with a configuration like this you will never be happy entering Umlaute etc. into the database..

The character encoding specified in the HTTP header (iso-8859-1) is different from the value in the <meta> element (utf-8). I will use the value from the HTTP header (iso-8859-1) for this validation.

and some photos are just too big in filesize.. 880 KBs... is too much

Opa114
09-15-2006, 07:14 PM
i have checked it with the template pixelpost-light-archivepaged. but it also doesn't work.

i use the theme simple and here is the browse_template.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title><SITE_TITLE> :: Browse</title>
<!-- META -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<style> ..... to much... </style>
</head>
<body>
<br />
<div align="center">&raquo; <a href="index.php">home</a> | <a href="index.php?x=about">impressum</a> &laquo;</div>
<br />
<div id="page">
<div align="center">
<THUMBNAILS_WHOLE_PAGED>
<THUMBNAILS_PAGES_LINKS>
</div>
</div>
</div>
</body>
</html>


your template is defining UTF-8 in the meta-tag (as it is necessary)
but your hoster sends ISO-8859-1 already in the header..
with a configuration like this you will never be happy entering Umlaute etc. into the database.. means that, that i should write that in my meta:

<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" />

and some photos are just too big in filesize.. 880 KBs... is too much -> there are only two pictures which are so big.

Connie
09-15-2006, 07:30 PM
just a short reply to the character-code:

no, not at all, you must stick with UTF-8 because the whole system is working with Unicode, but your hoster should not set the header to iso-8859-1
as this is a cheap hoster (or free ) I would suggest not to stay there.
Because the script would not work with Unicode for sure
and you need unicode for umlauts in german !

the rest comes tomorrow, I must run now

just one short thing: the template-code for "simple" never includes the CSS... it is always using a separate css-file
unless you edited it or your hoster does some strange things
where did you get that template?

I cannot not believe that it is not working with the archive-paged-template
;=(

Opa114
09-15-2006, 07:40 PM
okay. no i have included the css (if it alls runs okay, it would b written to the css ;-)

Look here, there is a screenshot.
http://opa114.pytalhost.de/screen.jpg

Connie
09-16-2006, 08:03 AM
now I noticed I answered in german, I had no coffee this morning, well

the resume is:

the tags are interpreted, but no thumbs shown, the thumbs exist
so there must be a server-configuration problem of the subdomain-construct

PP is working correctly

und jetzt muss ich doch mal ganz ernsthaft fragen:

das heutige Bild hat den Namen

20060916002536_img_1511.jpg

also muss es folgendes Thumbnail geben:
das gibt es auch

aber bei dir erscheint es nicht...

die Tags <THUMBNAILS_WHOLE_PAGED>
<THUMBNAILS_PAGES_LINKS> erscheinen nicht im Source der Seite, also wurden sie interpretiert

was folgt daraus? die Dateien werden nicht gefunden, die Tags werden durch NICHTS ersetzt
<div id="images">
<a href='index.php?showimage=63'><img src='thumbnails/thumb_2006091513593062_toensfeldstrasse.jpg' alt='toensfeldstrasse.jpg' title='toensfeldstrasse.jpg' class='thumbnails' /></a><a href='index.php?showimage=62'><img src='thumbnails/thumb_2006091513592961_mann.jpg' alt='mann.jpg' title='mann.jpg' class='thumbnails' /></a><a href='index.php?showimage=55'><img src='thumbnails/thumb_2006091513592254_bergstrasse.jpg' alt='bergstrasse.jpg' title='bergstrasse.jpg' class='thumbnails' /></a><a href='index.php?showimage=54'><img src='thumbnails/thumb_2006091513592153_frauen.jpg' alt='frauen.jpg' title='frauen.jpg' class='thumbnails' /></a><a href='index.php?showimage=46'><img src='thumbnails/thumb_2006062714184745_20060628143803_tatev.jpg' alt='20060628143803_tatev.jpg' title='20060628143803_tatev.jpg' class='thumbnails' /></a><a href='index.php?showimage=39'><img src='thumbnails/thumb_2006041407532238_20060418203033_postamt.jpg' alt='20060418203033_postamt.jpg' title='20060418203033_postamt.jpg' class='thumbnails' /></a><a href='index.php?showimage=38'><img src='thumbnails/thumb_2006041212533937_20060413063605_altneu.jpg' alt='20060413063605_altneu.jpg' title='20060413063605_altneu.jpg' class='thumbnails' /></a><a href='index.php?showimage=29'><img src='thumbnails/thumb_2005110514480028_20051106115715_ziegel.jpg' alt='20051106115715_ziegel.jpg' title='20051106115715_ziegel.jpg' class='thumbnails' /></a><a href='index.php?showimage=28'><img src='thumbnails/thumb_2005110514462127_20051108221850_gruen.jpg' alt='20051108221850_gruen.jpg' title='20051108221850_gruen.jpg' class='thumbnails' /></a><a href='index.php?showimage=21'><img src='thumbnails/thumb_2005090315292720_20050907213324_halle13.jpg' alt='20050907213324_halle13.jpg' title='20050907213324_halle13.jpg' class='thumbnails' /></a><a href='index.php?showimage=20'><img src='thumbnails/thumb_2005082716475819_20050903125449_harburg.jpg' alt='20050903125449_harburg.jpg' title='20050903125449_harburg.jpg' class='thumbnails' /></a><a href='index.php?showimage=12'><img src='thumbnails/thumb_2005042717313511_20050430113421_obst.jpg' alt='20050430113421_obst.jpg' title='20050430113421_obst.jpg' class='thumbnails' /></a><a href='index.php?showimage=6'><img src='thumbnails/thumb_2005032408021505_krokus.jpg' alt='krokus.jpg' title='krokus.jpg' class='thumbnails' /></a><a href='index.php?showimage=5'><img src='thumbnails/thumb_2005012014211204_barce9.jpg' alt='barce9.jpg' title='barce9.jpg' class='thumbnails' /></a><a href='index.php?showimage=4'><img src='thumbnails/thumb_2005011613003103_keinecontainer.jpg' alt='keinecontainer.jpg' title='keinecontainer.jpg' class='thumbnails' /></a><a href='index.php?showimage=3'><img src='thumbnails/thumb_2005011612372702_schekel.jpg' alt='schekel.jpg' title='schekel.jpg' class='thumbnails' /></a><a href='index.php?showimage=1'><img src='thumbnails/thumb_2003100715362700_20060403221826_wand.jpg' alt='20060403221826_wand.jpg' title='20060403221826_wand.jpg' class='thumbnails' /></a>
<hr />
<div class ='pagelinks'>&nbsp;1 --&nbsp; <a href='index.php?x=browse&amp;category=2&amp;pagenum=1'>1</a> </div>
</div>


so müsste der Code aussehen

ich wette, das hat mit der subdomain-Konstruktion zu tun. Und ist kein Fehler von Pixelpost

ich finde sowieso eine Seite, wo ständig Werbung eingeblendet wird, für den A...
kauf dir vernünftigen Webspace, gibts ab 5,00 EURO pro Jahr..

Opa114
09-16-2006, 11:22 AM
mhh, ich hab ja von Anfang an gemeint, das der Tag nich richtig interpretiert wird.

Zu der Werbung, normalerweise wird die nur einmal angezeigt und nicht dauernd.

gibts ab 5,00 EURO pro Jahr.. wo denn?

Connie
09-17-2006, 12:36 PM
This problem is solved.

The reason is that the images had no category attached at all, none of them

Unlike the standard tag <THUMBNAILS>, which shows all images, even those without categories, <THUMBNAILS_WHOLE_PAGED> show none of them

this will be fixed in the next version

ndemi
09-26-2006, 01:42 AM
Hi,
now I have alittleproblem. I want to update in admin number of thumbnails and it only shows:
Not Found
The requested URL /index.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Any idea why is like that or maybe how to change it manually in mysql?


thanks,
Ewa

GeoS
09-26-2006, 05:54 AM
It is possible to change in MySQL - maxpthumb in configuration table.

If you cannot update it means that you hack something too deep. You are first person who is talking about such problem.