View Full Version : "Text / description" doesn't show.
martin ståhl
12-09-2005, 10:14 PM
Well here's my problem. When i write descriptions for my photos, they don't show on the page, and i am not getting any error messages. I used the deafult templates and has now "installed" the sugar template. Perhaps anyone knows what's wrong?
http://martin.invasion.se/foto
Pixelpost v.1.4.3
PHP-version 5.1.1 (Pixelpost's min requirement: PHP version 4.3.0)
MySQL version 4.0.24_Debian-10sarge1-log (Pixelpost's min requirement: MySQL 3.23.58)
GD-lib bundled (2.0.28 compatible) with JPEG support
Server software Apache
EXIF Pixelpost is using exifer v1.5 for EXIF information.
Guessed imagepath: /customers/invasion.se/invasion.se/httpd.www/foto/images/
Configured Imagepath /customers/invasion.se/invasion.se/httpd.www/martin/foto/images/
Image Directory: OK - Can we write to the directory? YES.
Thumbnails Directory: OK - Can we write to the directory? YES.
Language Directory: OK
Addons Directory: OK
Includes Directory: OK
Templates Directory: OK
raminia
12-10-2005, 09:40 AM
Well here's my problem. When i write descriptions for my photos, they don't show on the page, and i am not getting any error messages. I used the deafult templates and has now "installed" the sugar template. Perhaps anyone knows what's wrong?
http://martin.invasion.se/foto
Pixelpost v.1.4.3
PHP-version 5.1.1 (Pixelpost's min requirement: PHP version 4.3.0)
MySQL version 4.0.24_Debian-10sarge1-log (Pixelpost's min requirement: MySQL 3.23.58)
GD-lib bundled (2.0.28 compatible) with JPEG support
Server software Apache
EXIF Pixelpost is using exifer v1.5 for EXIF information.
Guessed imagepath: /customers/invasion.se/invasion.se/httpd.www/foto/images/
Configured Imagepath /customers/invasion.se/invasion.se/httpd.www/martin/foto/images/
Image Directory: OK - Can we write to the directory? YES.
Thumbnails Directory: OK - Can we write to the directory? YES.
Language Directory: OK
Addons Directory: OK
Includes Directory: OK
Templates Directory: OK
try to enter some simple English characters as description. Maybe it has a problem with UTF-8.
It's strange. Does that template show image notes at all? check the default simple template.
Connie
12-10-2005, 12:51 PM
Martin,
you did not clearly explain whether the problem was there with other templates as well...
so? Is it ok with the template "simple" for example?
there are errors in your template:
1)
I do not know if this comes from an Addon or you added the code yourself, but it should not be:
<li><a href="index.php?x=browse&pagenum=1">archives</a></li>it should be <li><a href="index.php?x=browse&pagenum=1">archives</a></li>
2)
<img id="image" src="images/20051209223522_008.jp...
An "id" is a unique identifier. If you use this definition more than once on a page, it should be a class!
because if this I cannot validate the CSS etc. and sometimes errors like this stop other elements working, so maybe this could be the reason
martin ståhl
12-10-2005, 02:06 PM
sorry, it's the same problem with for exampel "simple".
and i have now done the changes to the template that you suggested.
+the description is written in english.
Connie
12-10-2005, 02:45 PM
instead of <IMAGE_NOTES> I see only a small square in the sourcecode of your template
I see that your photoblog sits on a subdomain (martin)
please check whether it is ok when you open the "original" URL of your website and maybe you tell us that "original URL"
sometimes subdomains are tricky ;=(
martin ståhl
12-10-2005, 03:02 PM
http://www.invasion.se/martin/foto/
the "real" adress. but it still wont work.
Connie
12-10-2005, 03:33 PM
Martin,
I wrote, that I saw a small special character instead of the <IMAGE_NOTES> in the HTML-Code. These special characters do not belong to our code.
But sometimes they are there because a file was not uploaded in the right format. Did you upload the templates, using FTP-programme, in ASCII-Modus or maybe in BINARY-modus? This can happen if the FTP-Programm is not set to "automatic" or has no settings that "HTML-files" should be transferred in Ascii-Mode.
I have no other idea in the moment
martin ståhl
12-10-2005, 04:30 PM
ok tried that, didn't work. Deleted everything that had to do with the blog on my server, uploaded it again uninstalled, installed it, uploaded an image. But still.. no description.
This time i haven't upload the "Sugar template" and I made sure that every file except includes/spacer.gif was uploaded in ASCII-mode.
Still doesn't work. Can it be something with my webhost (which is www.b-one.nu by the way)?
Connie
12-10-2005, 04:57 PM
Martin,
why only one part does not work, that is the problem
the database works
the image-information from the database is read
the thumbnails from the database are there
the title is there
only the description is not there
that is what makes it so problematic ;=(
now I see that this special character, the small quadrat, is not there anymore in the sourcecode
the sourcecode passes validation, either css or html, which is very good
do you have PHPadmin at your webspace, can you look whether the image-description is there in the tables?
martin ståhl
12-10-2005, 06:15 PM
I got 7 tables and they are:
pixelpost_catassoc
pixelpost_categories
pixelpost_comments
pixelpost_config
pixelpost_pixelpost
pixelpost_version
pixelpost_visitors
Should I create another table and if so, how do I do it, how to write the "SQL-code" that is.
Connie
12-10-2005, 06:38 PM
Martin, you must not create a new table at all, no worry!
I just wanted you to have a look with PHPAdmin wheather the image-texts, descriptions are there
at the left site, you will see all tanles
click on the table pixelpost_pixelpost and info to that table will be loaded
then you can click at the top of the page at a link, which is called like "view"...
the content of that table will be loaded and you can check whether the image-descriptions are loaded
martin ståhl
12-10-2005, 07:05 PM
in the "body" column i can see the text that i has written into the descriptionfield when uploading the pictures.
raminia
12-10-2005, 08:24 PM
in the "body" column i can see the text that i has written into the descriptionfield when uploading the pictures.
ok that's good news.
you have problem in showing the stuff.
change line 156 of main index.php from
$image_notes = markdown(pullout($row['body']));
to
$image_notes = pullout($row['body']);
$image_notes = markdown($image_notes);
----------
if this works for you you might try to modify some other lines or wait for 1.5;)
@dev: I think this should be moved to 1.4.x bugs. I fixed it in the CVS for 1.5.
raminia
12-10-2005, 08:53 PM
ok I found another issue with markdown.php with php 5.1.1.
download the attachment file and decompress it to get markdown.php. then replace it with includes/markdown.php
good luck.
martin ståhl
12-10-2005, 10:06 PM
Hey it works now!
Thanks for all the help ramina and Connie.
Connie
12-10-2005, 10:18 PM
I am glad!
vitte
02-21-2006, 09:37 PM
I had exactly the same problem with missing image desciptions..and after changing index.php and downloading the suggested zip-file includes/markdown.php it now works!
Great and thanks!
Rikke Vittrup.
http://www.rikkevittrup.dk/photoblog
altenberg
02-26-2006, 12:12 AM
Raminia, I noticed that your photoblog has a thumbnail and the description in the Comments window. Is that in one of the standard templates or is it an add-on or just custom?
Thanks.
Experiencing the same problem. No text / description showing up. It IS there in body of php admin though.
PHP 5.1.2... I have downloaded the markdown.zip and decompressed it to markdown.php. Just not sure what to do with it now. (don't fully understand "then replace it with includes/markdown.php") Could someone explain further?
Thanks so much in advance,
Jodi
http://www.fivefeet.ca
You are running version 1.3 of Pixelpost. Released 16 november 2004.
Latest pixelpost version: Check
Looking for help or want to give feedback, please step into pixelpost forum.
www.pixelpunk.se/software/forum/
Host information
PHP-version 5.1.2
MySQL version 5.0.18
GD-lib bundled (2.0.28 compatible)
Server software Apache/2.2.0 (Fedora)
EXIF Your php was compiled with exif-enabled. This means you can add additional exif-information to your images such as camera model, aperture, exposure time and more.
There are certain tags to add to your templates for this. Check pixelpost homepage to learn more.
Permissions
Images folder
Images folder is writable, which is a good thing.
Thumbnails folder
Thumbnails folder is writable.
*** I know I should be running v1.5... that will come later this summer when I have some time off!***
Ok, I did a little more snooping around, found the markdown.php file in my admin folder, uploaded the new one, made the suggested index.php changes, and POOF: The image descriptions appeared!!! Sadly, I seem to have lost my admin panel in the process. Shows up as a completely blank white page. Will look into this tomorrow...
Any suggestions?
:)
Jodi
Just wanted to update:
Bit the bullet... Upgraded to 1.5 :)
Pepper Template fell apart, but hopefully I'll find something new that looks just as good.
Thanks Pixelpost Folks for all of your hard work making this. :)
-- Jodi
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.