AMCphp - 1.0 released (bugfix + history report)
-
- Posts: 25
- Joined: 2004-07-16 09:12:26
- Location: Moscow, Russia
- Contact:
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!
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!
-
- Posts: 58
- Joined: 2004-11-18 12:48:40
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
sorry for my english.
----------------------------------------------
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
sorry for my english.
-
- Posts: 25
- Joined: 2004-07-16 09:12:26
- Location: Moscow, Russia
- Contact:
"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:
...and change to something like this:
$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>";
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>";
-
- Posts: 58
- Joined: 2004-11-18 12:48:40
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:
// array used for processing the xml
...........
(near row #57) 'movieMediaLabel',
change to:
//read all attributes
...........
(near row #104) $GLOBALS['movieMediaLabel]=$attr["MediaLabel"];
change to:
in main.php:
if ($_GET['page'] == 3) // page=3 means details
...........
(near row #718) print "\n\t</table>";
change to:
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
in parser.php:
// the data of each movie
...........
(near row #27)$movieMediaLabel="";
change to:
Code: Select all
$movieMediaType="";
...........
(near row #57) 'movieMediaLabel',
change to:
Code: Select all
'movieMediaType',
...........
(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>";
My website list: www.MurnauVsBunuel.tk
sorry for my english jejeje
-
- Posts: 25
- Joined: 2004-07-16 09:12:26
- Location: Moscow, Russia
- Contact:
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!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
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
-
- Posts: 58
- Joined: 2004-11-18 12:48:40
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:
define ("res_GENERATEACTORSREPORT", "generar reporte de actores");
define ("res_GENERATEDIRECTORSREPORT", "generate directors report");
define ("res_GENERATEHISTORYREPORT", "generate history report");
change to:
define ("res_DIRECTORSINLIST", "directors in the list");
define ("res_YEARSINLIST", "years in the list");
change to:
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_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_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");
-
- Posts: 58
- Joined: 2004-11-18 12:48:40
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..
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..
Last edited by Murnau_Vs_Buñuel on 2004-12-23 19:01:12, edited 2 times in total.
-
- Posts: 25
- Joined: 2004-07-16 09:12:26
- Location: Moscow, Russia
- Contact:
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
my email: petrov@bisinter.ru
Updating catalog on the web??
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,
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,
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
Pd: I recommend put in the movie ant catalog the botton for a correct order: Tool-->Renumber...--->before renumbering, sort by: Number
-
- Posts: 58
- Joined: 2004-11-18 12:48:40
appear email in template full
I wanted that appeared my email in template full or link of my email..., somebody knows that I can do?
thanks.
thanks.
-
- Posts: 58
- Joined: 2004-11-18 12:48:40
Re: appear email in template full
I already put a GIF Link to my email. Opening to the Catalog.php and index.html and putting the GIF.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 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 !
(bon, je suis francais à la base, vous excuserez l'anglais maladroit ).
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.
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.
-
- Posts: 58
- Joined: 2004-11-18 12:48:40
hello, i have had a lot of changes in my list online AMCphp. if someone haves anything question can say me.
www.MurnauVsBunuel.tk
Happy Christmas all people!!
www.MurnauVsBunuel.tk
Happy Christmas all people!!
-
- Posts: 58
- Joined: 2004-11-18 12:48:40
Also you can modify your "settings.php" to correctly showAnonymous 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 ?
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/
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]
.......................................................................................
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]
-
- Posts: 58
- Joined: 2004-11-18 12:48:40
hello I have put a navigator2.php with forum, my website favorite, stats and view in xls
www.MurnauVsBunuel.tk
look:
greetings people
www.MurnauVsBunuel.tk
look:
greetings people