Search found 10 matches

by fredriksk
2007-03-27 13:40:45
Forum: Ant Movie Catalog > Templates
Topic: PK's MovieDB Release.V3.0 (Dynamic PHP View)
Replies: 564
Views: 357597

Ok. Thanks for the advice. After much thinking back and forth I did a middleway.

In the script, where you import from SQL file I do a search and replace on | -> ", ". I understand this may not be optimal if the sql -query contains a | sign. But I think that that is not a real issue. I can't find a ...
by fredriksk
2007-03-22 21:14:22
Forum: Ant Movie Catalog > Templates
Topic: PK's MovieDB Release.V3.0 (Dynamic PHP View)
Replies: 564
Views: 357597

Hello. Yeah I'm glad I got it working to. This is a great template system for a great product. I use Ant movie database to keep track of my movies and what friend that has borrowed what movie. I can browse threw my catalouge using a plugin to media portal and all my friends can do the same threw ...
by fredriksk
2007-03-21 10:30:01
Forum: Ant Movie Catalog > Templates
Topic: PK's MovieDB Release.V3.0 (Dynamic PHP View)
Replies: 564
Views: 357597

Ok now when I got the covers working. I have started to tweak the template a bit.

This is what I would like to do:

I would like to add a row called status ("in collection" / "loaned by: fredrik") like this:

year: 2005
date added: 2007-02-13
Video Format: DVD
Category: Drama, comedy
Status ...
by fredriksk
2007-03-21 08:31:30
Forum: Ant Movie Catalog > Templates
Topic: PK's MovieDB Release.V3.0 (Dynamic PHP View)
Replies: 564
Views: 357597

Ok. I figure out my problem.

It seems as Fedora Core 4 PHP doesn't include GD lib when installed threw yum. My solution was to:

1. Remove PHP and all dependencies
i.e "yum remove php"

2. Then install php-gd (witch will include php as a dependency)
i.e "yum install php-gd"

3. Re-installed ...
by fredriksk
2007-03-20 22:18:34
Forum: Ant Movie Catalog > Templates
Topic: error dsiplaying img in default template
Replies: 1
Views: 1696

this post should go under pks template. Sorry for my miss post
by fredriksk
2007-03-20 22:17:03
Forum: Ant Movie Catalog > Templates
Topic: error dsiplaying img in default template
Replies: 1
Views: 1696

error dsiplaying img in default template

have done some more testing.

If I go directly to the resize php script (i.e http://www.mydomain.com/templates/default/images/resize.php?img=/home/www/htdocs/AntMovieDatabase/www/antexport/dvd_50.jpg&w=75)

I get this error:

Fatal error: Call to undefined function imagecreatefromjpeg() in /home ...
by fredriksk
2007-03-18 20:41:10
Forum: Ant Movie Catalog > Templates
Topic: PK's MovieDB Release.V3.0 (Dynamic PHP View)
Replies: 564
Views: 357597

Well. I run this on my own Linux server. I did create the www dir and all php script files for pk's moviedatabase is located in this file.

I tried youre suggestion but it didn't work.

Can there be something wrong with the gd lib?

heres some output from phpinfo()

------------ 8< -----------
PHP ...
by fredriksk
2007-03-18 14:30:22
Forum: Ant Movie Catalog > Templates
Topic: PK's MovieDB Release.V3.0 (Dynamic PHP View)
Replies: 564
Views: 357597

oh... just noticed that I'm running 3.0.3 version. Still no images though
by fredriksk
2007-03-18 14:21:17
Forum: Ant Movie Catalog > Templates
Topic: PK's MovieDB Release.V3.0 (Dynamic PHP View)
Replies: 564
Views: 357597

can't se any covers

I've just installed 3.0 version everything workes except for covers. I'm using the dafault template and antexport param is set like this:

$this->config['options']['cover_dir'] = "antexport/";

If I look in this folder I can find all the jpg files exported from ANT. What can be wrong?