Page 9 of 14

Posted: 2004-12-02 12:10:40
by Alexey Petrov
It's well-known trouble with this version. To fix it you should do one of the following:

1. Disable PHP-errors in php.ini file (usually in c:\windows\php.ini in Windows and /usr/local/etc/php.ini in UNIX):
found there string "error_reporting = ..." (usually string number 271 or near this)...
and change it to:
error_reporting = E_ERROR;

2. If you haven't access to modify file php.ini (for example, if you using Shared Hosting), try this hint:
Add to all PHP-files of AMCphp template this string:
ini_set("display_errors","0");
...before the string:
session_start();
- it will disable PHP-warnings for each of these files.

Good luck! :D

Posted: 2004-12-06 20:44:06
by Murnau_Vs_Buñuel
hola, he cargado template AMCphp 10, pero me gustaria que apareciera el tipo de soporte en la plantilla colectiva, ¿alguien sabe que cambios debo hacer?
----------------------------------------------

hello, I have loaded template AMCphp1.0, but I´ll like that appeared the media type (cd-rom, DVD VHS,VCD) in template full... somebody knows that changes I must do? thanks :grinking:
sorry for my english.

Posted: 2004-12-06 23:35:03
by Alexey Petrov
"MediaType" field even isn't parsed by AMCphp, but field "MediaLabel" parsed and not used... so the simplest solution is to change in "parser.php" string:
$GLOBALS['movieMediaLabel']=$attr["MediaLabel"]; (near row #105)
to:
$GLOBALS['movieMediaLabel']=$attr["MediaType"];

After that find in "main.php" string:
if ($_GET['page'] == 3) // page=3 means details (near row #602)
then 50 rows below find this:

Code: Select all

...
print "\n\t</table>";
...and change to something like this:

Code: Select all

...
print "\n\t\t<tr>\n\t\t\t<td><div class=\"normaltext\">Media Lable:</div>\n\t\t\t</td>\n\t\t\t<td><div class=\"normaltext\">".$arr["movieMediaLabel"]."</div>";
print "\n\t</table>";

Posted: 2004-12-07 15:40:48
by Murnau_Vs_Buñuel
hello Thanks to Alexey I have guideing me and have obtained AMC parsed the MEDIA TYPE! modifying parser.php and main.php:

in parser.php:

// the data of each movie
...........
(near row #27)$movieMediaLabel="";
change to:

Code: Select all

$movieMediaType="";
// array used for processing the xml
...........
(near row #57) 'movieMediaLabel',
change to:

Code: Select all

 'movieMediaType',
//read all attributes
...........
(near row #104) $GLOBALS['movieMediaLabel]=$attr["MediaLabel"];
change to:

Code: Select all

$GLOBALS['movieMediaType']=$attr["MediaType"];


in main.php:

if ($_GET['page'] == 3) // page=3 means details
...........
(near row #718) print "\n\t</table>";
change to:

Code: Select all

print "\n\t\t<tr bgcolor=\"#EFEFEF\">\n\t\t\t<td><div class=\"normaltext\">Media Type:</div>\n\t\t\t</td>\n\t\t\t<td><div class=\"normaltext\">".$arr["movieMediaType"]."</div>"; 
print "\n\t</table>";
i´d prefer that the Media Type look in the template full and not in tempalte individual :( :??: , but well...

My website list: www.MurnauVsBunuel.tk

sorry for my english jejeje :hihi:

Posted: 2004-12-08 09:16:25
by Alexey Petrov
Anonymous wrote:hola soy nuevo en esto... y no sé mucho ingles asi que posteo en español mejor.
tengo problemas para poner la plantilla esta:
me he bajado el zip del amcphp10.zip lo he pegado en la carpeta de templates del amc y lo descomprimo.
luego abro el programa amc le doy a exportar le doy a cargar ¿ y q cargo? ¿el index.html? me sale una pagina de error.
¿es que necesito un programa aparte...php 4.2.2 o algo asi?
:/ :??:
venga saludos :clapping:
I answer in English, because it's easier to me than in Spanish... also most visitors of this forum can't read in languages except English, so I recommend everybody to write in English (or add short English translation) - even if it looks like baby-talk! :D

You actually need PHP-module and Web-Server to run this AMC template. I've already written some recommendations here:
viewtopic.php?p=7374#7374

Also you can use ready-to-use solution called EasyPHP - It includes Apache web-server, PHP-module, MySQL-database and PHPMyAdmin (nice tool for access to MySQL via Web-Interface). Program also includes translations to many languages. You can download it here:
http://www.easyphp.org/telechargements.php3

Posted: 2004-12-09 10:10:01
by Murnau_Vs_Buñuel
also I have corrected some phrases of spanish.php that were wrong translated:

define ("res_COMPLETERUNTIME", "tiempo pasado completo");
define ("res_AVERAGERUNTIME", "tiempo pasado medio");
change to:

Code: Select all

define ("res_COMPLETERUNTIME", "Total de horas y minutos");
define ("res_AVERAGERUNTIME", "Nº medio de minutos");
define ("res_GENERATEACTORSREPORT", "generar reporte de actores");
define ("res_GENERATEDIRECTORSREPORT", "generate directors report");
define ("res_GENERATEHISTORYREPORT", "generate history report");
change to:

Code: Select all

define ("res_GENERATEACTORSREPORT", "generar lista de actores");
define ("res_GENERATEDIRECTORSREPORT", "generar lista de directores");
define ("res_GENERATEHISTORYREPORT", "generar lista por años");
define ("res_DIRECTORSINLIST", "directors in the list");
define ("res_YEARSINLIST", "years in the list");
change to:

Code: Select all

define ("res_DIRECTORSINLIST", "directores en la lista");
define ("res_YEARSINLIST", "años en la lista");

Posted: 2004-12-09 19:11:22
by Murnau_Vs_Buñuel
i´d like the "Media Type"("Tipo Soporte"in spanish) in the template full. :/

hello, I have put the media type in the temprate full, but i don´t know why the format of to letter have changed to Time New Roman when it must be Arial and her font-size is more big. I have look the CSS but this look is good...:??:
the columns have remained very narrow

if somebody wants i send him the changes of php by email..

Posted: 2004-12-09 19:29:23
by Alexey Petrov
If you send me archive with your template sources (with movie catalog or without - doesn't matter), I'll try to solve it.
my email: petrov@bisinter.ru

Updating catalog on the web??

Posted: 2004-12-13 16:07:46
by scottdw
First off this is AWESOME, thanks so much.
I am still kind of new to all of this but had no problem setting all this up on a website but had a question about updating.

What is the easiest way to update this on the web when you add a movie to the Ant Movie Catalog. Right now I add the movie to the catalog then save to XML and have to upload everything, not just the XML because of the numbering of the JPG's.

Is there an easier way, especially if I want to update remotely???

Thanks,

Posted: 2004-12-13 16:31:36
by Guest
I make the following thing to update: I open to the MovieCatalog.xml with ant movie catalog, and add the news movies, soon I save it and I upload the *.xml and the news jpg´s that they will always be the last ones.

Pd: I recommend put in the movie ant catalog the botton for a correct order: Tool-->Renumber...--->before renumbering, sort by: Number

Posted: 2004-12-13 17:44:00
by Guest
Ok cool so it will be the last number JPG's. That helps.

appear email in template full

Posted: 2004-12-14 19:09:42
by Murnau_Vs_Buñuel
I wanted that appeared my email in template full or link of my email..., somebody knows that I can do?
thanks.

Re: appear email in template full

Posted: 2004-12-15 11:23:41
by Murnau_Vs_Buñuel
Murnau_Vs_Buñuel wrote:I wanted that appeared my email in template full or link of my email..., somebody knows that I can do?
thanks.
I already put a GIF Link to my email. Opening to the Catalog.php and index.html and putting the GIF.
i have put the Media Type in the Template full and i have added the Language Russian courtesy of Alexey Petrov, thanks.

Look: www.MurnauVsBunuel.tk

Horror !

Posted: 2004-12-21 12:41:02
by Pandolphe
(bon, je suis francais à la base, vous excuserez l'anglais maladroit :lol: ).

Hi,

I Have terrible problem to run this script.
I assume the hosting of my website using EASYPHP
Does somebody can see where are my problems ?

http://81.56.141.149/movies/beta/

The errors are :
Notice: A session had already been started - ignoring session_start() in c:\mon site\movies\beta\parser.php on line 3

And a lot of : Notice: Undefined index:, like : Notice: Undefined index: TranslatedTitle in c:\mon site\movies\beta\parser.php on line 110


If you want to see my PHPINFO :
http://81.56.141.149/phpinfo/

Thanks in advance.

Posted: 2004-12-23 19:05:47
by Murnau_Vs_Buñuel
hello, i have had a lot of changes in my list online AMCphp. if someone haves anything question can say me.

www.MurnauVsBunuel.tk

Image

Happy Christmas all people!! :grinking:

Posted: 2004-12-28 20:32:20
by Guest
Murnau_Vs_Buñuel: How you added stats to you page ?
And your links to actors, directors and IMDB link are nicely colored with blue. How you do that ? :grinking:

Posted: 2005-01-02 13:05:14
by Murnau_Vs_Buñuel
Anonymous wrote:Murnau_Vs_Buñuel: How you added stats to you page ?
And your links to actors, directors and IMDB link are nicely colored with blue. How you do that ? :grinking:
Also you can modify your "settings.php" to correctly show
comma-separated categories: "Comedy, Drama".

Edit "settings.php":
------------------------------------ (near row #95):
if (!isset($_SESSION['Multigenre'])) {
$_SESSION['Multigenre'] = true;
}

if (!isset($_SESSION['MultigenreSeparator'])) {
$_SESSION['MultigenreSeparator'] = ",";
}
------------------------------------

The same way you can use comma-separated Actors-lists and even enable
content-linking by actors (all Actors' names will be links to list of
all movies, where this actor appear):

Edit "settings.php":
------------------------------------ (after previous)
if (!isset($_SESSION['ActorsSeparator'])) {
$_SESSION['ActorsSeparator'] = ",";
}

if (!isset($_SESSION['ContentLinking'])) {
$_SESSION['ContentLinking'] = true;
}
------------------------------------
thanks to Alexey Petrov


The stats is thanks to one program, this is her website: http://bbclone.de/

Posted: 2005-01-08 00:02:36
by test
Quand je lance le script j'ai toute ces erreurs ...

.......................................................................................

Notice: A session had already been started - ignoring session_start() in c:\program files\easyphp1-7\www\amc\settings.php on line 3

Notice: A session had already been

Notice: A session had already been started - ignoring session_start() in c:\program files\easyphp1-7\www\amc\settings.php on line 3

Notice: A session had already been started - ignoring session_start() in c:\program files\easyphp1-7\www\amc\language_french.php on line 3

Notice: Undefined variable: temp in c:\program files\easyphp1-7\www\amc\parser.php on line 142

Notice: Undefined index: MediaLabel in c:\program files\easyphp1-7\www\amc\parser.php on line 104

Notice: Undefined index: Borrower in c:\program files\easyphp1-7\www\amc\parser.php on line 105

Notice: Undefined index: Description in c:\program files\easyphp1-7\www\amc\parser.php on line 118

Notice: Undefined index: Subtitles in c:\program files\easyphp1-7\www\amc\parser.php on line 127

Notice: Undefined index: Picture in c:\program files\easyphp1-7\www\amc\parser.php on line 130

Notice: Undefined variable: temp in c:\program files\easyphp1-7\www\amc\parser.php on line 142

Notice: Undefined index: MediaLabel in c:\program files\easyphp1-7\www\amc\parser.php on line 104

Notice: Undefined index: Borrower in c:\program files\easyphp1-7\www\amc\parser.php on line 105

Notice: Undefined index: Subtitles in c:\program files\easyphp1-7\www\amc\parser.php on line 127

Notice: Undefined variable: temp in c:\program files\easyphp1-7\www\amc\parser.php on line 142
[/img]

Posted: 2005-01-13 18:53:40
by Murnau_Vs_Buñuel
hello I have put a navigator2.php with forum, my website favorite, stats and view in xls :hihi:

www.MurnauVsBunuel.tk

look:
Image

greetings people

Posted: 2005-01-13 23:25:59
by The Dolf
I have two questions:

What do I have to change/add and where to see how many movies I have.
And how can I create a link to my newest 25 added movies?

Any help would be most appreciated.